Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
vk18
Posting Yak Master
146 Posts |
Posted - 2006-11-13 : 16:47:38
|
Hello Friends,I am trying to select the data from one table and inserting into another table. I have two tablestblcnr and tblckr.tblcnrtn1tn2tn3tblckrtn1tn2tn3I want to select the data from tblcnr and want to insert into tblckr. can you guys help me with queryThx |
|
Kristen
Test
22859 Posts |
Posted - 2006-11-13 : 17:01:44
|
INSERT INTO tblckr(Col1, Col2, Col3, ...)SELECT ColA, ColB, ColC, ...FROM tblcnrWHERE ....Kristen |
 |
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2006-11-13 : 20:17:19
|
provided column data types are identical in both tablesMadhivananFailing to plan is Planning to fail |
 |
|
|
|
|