Hi All,
Can you please help me on this anybody.
In side SP,
I have one Table T1 have many columns and many records, from this data insert into anther table T2 while inserting into Table T2 I need to check ID is exist or not if its exist do the updating with many records or do inserting data.
Please help me on this.
Advanced thank you.
Regards,
Narasimha

Krishna GaradPosted Nov 22, 2012, 5:06 AM
if not exists(select id from T2 where id =(Id From T1))
do insert
else
do update