SELECT COL1, COL2, COL3 FROM otherDatabase.[dbo].[otherTable]
Mark accepted if it is helpful to you.
Thank you!
+1
Rafnas T PRank #280 · 8.8K reputationPosted Feb 10, 2017, 1:40 AM EST
0
if you want to insert data from another database table then you have to connect two databases from c# then select what data you wanted to insert from Databse then send that data to other database insert query
Nitin SontakkeRank #264 · 9.6K reputationPosted Feb 10, 2017, 1:33 AM EST
Dharmraj ThakurRank #577 · 4.2K reputationPosted Apr 28, 2017, 4:10 AM EDT
Rafnas T PRank #280 · 8.8K reputationPosted Feb 10, 2017, 1:40 AM EST
Ahmed JS80 reputationPosted Mar 22, 2017, 10:44 AM EDT
SARDAR MUKHTAR70 reputationPosted Apr 9, 2017, 12:08 PM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts