I need to write a procedure for :
I have a table- tab1 which has cols- ikey,status and place.
I have another table tab2 which is to be updated/inserted which also has the same cols and more
A row present in tabl1 where the ikey is same as that in tab2 and has tab1.status = a and tab1.place = s
and if that row is not present in tab2 it has to be inserted otherwise it has to be
updated with values from tab1
Can some one plz help
Thanks
rick
I have a table- tab1 which has cols- ikey,status and place.
I have another table tab2 which is to be updated/inserted which also has the same cols and more
A row present in tabl1 where the ikey is same as that in tab2 and has tab1.status = a and tab1.place = s
and if that row is not present in tab2 it has to be inserted otherwise it has to be
updated with values from tab1
Can some one plz help
Thanks
rick