hi,
I created two tables like
create Table A (pid bigint, pname varchar, psource varchar(10))
create Table #temp (id bigint, name varchar, source varchar(10))
table A having lakhs of rows and table #temp having lakhs of rows
i want to check the records based on #temp table and insert into Table A.
how to check the records before insert values from #temp table to table A
insert into A
(pid,
pname,
psource
)
select
id,
name,
source
from #temp
Please give me the solution for the above query.
Tapan PatelPosted Aug 30, 2016, 4:36 PM
Sanjeev SriramojuPosted Aug 30, 2016, 8:37 AM
Vishal JadavPosted Aug 12, 2016, 4:20 AM
Jisny AvPosted Aug 11, 2016, 6:55 AM
vijay reddyPosted Jul 19, 2016, 3:16 AM
Vinay SinghPosted Jul 19, 2016, 3:10 AM
vijay reddyPosted Jul 19, 2016, 3:06 AM
Vinay SinghPosted Jul 19, 2016, 2:37 AM
ketan borsdiyaPosted Jul 19, 2016, 1:32 AM