Hi All ,
I want to insert data using OpenDataSource function rather than linked server .
My requirement is i have 2 tables with same name customers one is in the Dev and other one is in the test server.
I want to load data from the Dev Server to the Test Server .
The Dev customer table has custid,firstname,lastname,emailid where the custid is not identity column
The test Customer table has custid,firstname,lastname,emailid,status do there are 2 extra changes in the test customer table that is it has identity column enabled and has an extra column named status
.
The scenerio can change as well like the Dev one can have identity enabled on the custid column coz i have 2 dev servers from where i need to insert
from both using the script whereas the test server DB table structure remains the same.
I knw abt the connect string in openthesource query that i was successful to make
Please help its very urgent.
Priya