Importing SQL Server Database Objects

When importing a SQL Server database from an existing hosting account to your Windows shared hosting account, you can script out the existing database objects. By running the resulting scripts in your Windows shared hosting account SQL Server Web Admin Query Analyzer, you avoid manually setting up database tables.

Note: This article assumes that you have access to SQL Server Enterprise Manager for the scripting out of existing database objects and that a SQL Server database has been created in your Windows shared hosting account. For more information, see Setting up a SQL Server Database on Your Hosting Account.

To Script Database Objects Using SQL Server Enterprise Manager

  1. Open SQL Server Enterprise Manager.
  2. In the left navigation, expand Microsoft SQL Servers and SQL Server Group.
  3. Expand the appropriate server and its Databases folder.
  4. Click the appropriate database.
  5. Under the Tasks menu, select Generate Script.
  6. Click Show All and in the Object to script panel, select All tables.
  7. Click Preview to see the script and click Copy to save it to the clipboard.

To Import Database Objects Through the SQL Server Admin Tool

  1. Log in to your SQL Server database's admin tool. For more information, see MS SQL Server admin tool login information.
  2. Expand the Tools folder, and then click Query Analyser.
  3. Paste the contents from the last step of To Script Database Objects Using SQL Server Enterprise Manager into the Query Analyser, and then click Execute.

For information about SQL Server data import, see Importing Data Into a SQL Server Database.


이 글이 도움되었나요?
피드백을 보내주셔서 감사합니다. 고객 서비스 담당자에게 문의하시려면 지원 전화 번호 또는 위의 채팅 옵션을 이용하시기 바랍니다.
도와드릴 수 있어 기쁩니다! 더 도와 드릴 것이 있나요?
그것 유감스럽습니다. 혼동이 되었던 사항 또는 솔루션이 고객님의 문제를 해결하지 못했던 원인을 알려주세요.