I need to copy data between 2 different SQL Servers.
I need it to be scheduled every hour. how can I do this?
I tried the Insert into query on SQL Job (for schedule) but there is limitation with the insert into query.
so if there's another method or I can modify the job I would be happy to know
I have 2 SQL Servers.
this is not reporting and no DR.
I just need to copy the data from one server to another.
but I want to make it once a day as the source database is updating.
thanks yosiasz
actually I need only one table to copy and it have 2 fields only.
so I'm looking for a simple way.
how to use powershell to schedule copy the database
You mean copy the 2 columns, not the database. Please post the table name and structure in both source and destination servers.
Also what happens to the table on daily basis? Does it get wiped out and then reloaded or leave the existing data and only insert new rows? What happens to rows that already exist in both source and destination server? Do they get updated in destination server if it changes in source server.