Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

Create a MS SQL Scheduled Task and Generate and Import a Script

$
0
0

Ok I am not a big Database Person. I do enough to get by and use support for the rest.

Right Now I have a request to Copy the View and data from Database 1 on Server A to Database 2 on Server B.

I can select Database 1 on Server A and Right Click Tasks Generate Scripts... and create the script for exporting and importing the Data and Scheme. But on Server B how do I import that into Database 2 which is empty and will only be used for this import.

Next how do I schedule that to run daily and import the Data from Database 1?

Server A is a Windows 2008 R2 Server with Microsoft SQL Server 2008 R2 Edition and Microsoft SQL Server Management Studio

Server B is a Windows Server 2012 R2 Standard with Microsoft SQL Server 2014 and Microsoft SQL Server Management Studio


Viewing all articles
Browse latest Browse all 4871

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>