I need to copy the contents (tables, views, procs, DATA, etc.) of a SQL Server database and copy it to another SQL Server database. I need to do this completely in a script, since I cannot transfer files to the target web server. How to use Microsoft SQL Server Management Studio, how to do it?
Note: the database that I am copying will have the same name and be completely empty.
sql-server sql-server-2008 sql-server-2005 ssms
Brian david berman
source share