Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 3rd, 2003, 07:09 AM
Authorized User
 
Join Date: Nov 2003
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to transfer a database entirely ?

hello everybody,
May i have a question?

i want to transfer a database entirely to a new SQL server,
includ all the tables,stored Procedures,views and so on
but needn't have the data

how could i do this?


thanks

 
Old December 3rd, 2003, 07:42 AM
Authorized User
 
Join Date: Jun 2003
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi

You can do this from Enterprise Manager. Right click on your database then choose 'All Tasks' then 'Generate SQL Scripts'. From this window you will be able to create script files to generate Tables, SPs, views etc, by object or 1 file etc.

Nickie
 
Old December 3rd, 2003, 07:43 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

You can backup from on server and restore it in the other. But You would get them all with data in it. May be you can truncate all the tables once you restore it on the new server. I dont think SQL has some utility to backup and then restore the database without data in it.

You can check for Backup and restore on Books online.

Cheers,

-Vijay G
 
Old December 9th, 2003, 06:55 AM
Authorized User
 
Join Date: Nov 2003
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I think nbryson's advice is a good idea,I would try it

 
Old December 9th, 2003, 06:35 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 625
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to jemacc
Default

something extra to add. If you don't want to setup account and logins again.Here is an article that will help in the process. http://support.microsoft.com/default...en-us%3B246133





Similar Threads
Thread Thread Starter Forum Replies Last Post
Transfer Data from one database (mdb) to another Mercede Access 1 August 6th, 2008 07:15 AM
DTS Database Transfer Problem mhrajib SQL Server DTS 2 June 16th, 2006 06:46 AM
transfer local database to web server laptop SQL Server 2000 1 April 22nd, 2004 05:55 AM
Transfer FoxPro database to Access pavel Pro VB Databases 2 August 21st, 2003 04:25 PM
Transfer Foxpro database to Access pavel Access 2 July 29th, 2003 12:03 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.