Click here to Skip to main content
15,890,845 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,
I have two sql servers, SE1 and SE2, they are basically having the same schema, but each one has its own usability.
I need to find a query to copy some rows from SE1.Table1 Where Destination Like '%HR%' to SE2.Table2.
Is there such query ??
Thx in advance.
Posted
Updated 16-Mar-14 21:25pm
v2

SQL
insert into SE1.table1 (column1,comumn2,colum3) select col1,col2,col3 from SE2.table2  Where SE2.table2.Destination Like '%HR%'
 
Share this answer
 
v3
use import or export data....:)
 
Share this answer
 
Comments
saleem_deek 17-Mar-14 3:27am    
Thank you Pranav :)
But I needed to achieve that using queries, I didn't specify that in the title, my bad, but I updated it now.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900