I have two tables, on two different SQL Servers, one locally, and another in a development environment, and they are identical in terms of columns and data types etc... the only difference is one has data and the other is completely empty. I created a link between the two servers, and want to insert all of the rows into the empty table. I've been trying things like:
but haven't had any luck yet. Are there any scripts that would accomplish this? Thanks!
Code:
Insert into FIDO..stg_FIDO Values(Select * From DevelopmentServerLink.FIDO.dbo.stg_FIDO)
Select * into FIDO..stg_FIDO from DevelopmentServerLink.FIDO.dbo.stg_FIDO