hiiii how can I use 2 different select statement to insert 2 different values in same insert statement ????
q8_dreamy
-1
Light Poster
Recommended Answers
Jump to PostIF OBJECT_ID('TestTable', 'U') IS NOT NULL DROP TABLE TestTable Create Table TestTable ( Col1 varchar(30), Col2 varchar(30) ) Insert Into TestTable (Col1, Col2) Values ('a', 'b') GO IF OBJECT_ID('tempdb..#Temp', 'U') IS NOT NULL DROP TABLE #Temp Create Table #Temp ( Col1 varchar(30), Col2 varchar(30) ) GO --Now …
Jump to PostThis is the same question you asked in:
http://www.daniweb.com/forums/thread210160.htmlI will respond on the original thread.
All 5 Replies
sknake
1,622
Senior Poster
Featured Poster
q8_dreamy
-1
Light Poster
sknake
1,622
Senior Poster
Featured Poster
q8_dreamy
-1
Light Poster
sknake
1,622
Senior Poster
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.