Click here to Skip to main content
15,886,795 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi All,

Can anyone tell me how to copy local database on remote server(Client).
I am using sql server 2005.
I have created database on local server but not able to export it. I do not get "Export" option in task.
What to do?
Posted

1 solution

1. Backup locally and restore on server
2. Make dump and execute it on server. Right click on database -> Tasks -> Generate scripts
if you want data to copy as well then need to specify "Types of data to script" option as Data and Schema
 
Share this answer
 
v2
Comments
Sweetynewb 28-Nov-12 1:47am    
I have generated script file which include-table creation and stored procedures
but "generate script" does not give data stored in tables?
What should i do?
Nelly2k 28-Nov-12 1:49am    
Sorry, type of the script: Data and schema, this case data will be included in dump

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900