Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
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 June 5th, 2003, 05:45 AM
Authorized User
 
Join Date: Jun 2003
Location: London, , United Kingdom.
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default Scripting Tables

I am running SQL Server 2000 and I have over 800 tables & I want to scripts them all into one file. How can I go about this? Can anyone help me out? I look forward to hearing from you.

Regards,

CarlWalden
__________________
CarlWalden
 
Old June 5th, 2003, 05:52 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Hudson, MA, USA.
Posts: 839
Thanks: 0
Thanked 1 Time in 1 Post
Default

Use Enterprise Manager.

Navigate to the database on your server, expand it, click tables. Select any table and right click, select All Tasks, Generate SQL Script. Click Show All, then check All Tables, then on the Options tab, select Create One File. You should probably check the Script Indexes and Script Primary keys in the Table Scripting Options sections on this tab as well.

Jeff Mason
Custom Apps, Inc.
www.custom-apps.com
 
Old June 5th, 2003, 06:02 AM
Authorized User
 
Join Date: Jun 2003
Location: London, , United Kingdom.
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Jeff,

Thanks for your prompt reply I have done that before I posted it on the forum but it was taken over an hour and I cannot wait for that long, therefore I was thinking maybe there might be any other way to go about it. Thanks anyway.

Regards,
Quote:
quote:Originally posted by JeffMason
 Use Enterprise Manager.

Navigate to the database on your server, expand it, click tables. Select any table and right click, select All Tasks, Generate SQL Script. Click Show All, then check All Tables, then on the Options tab, select Create One File. You should probably check the Script Indexes and Script Primary keys in the Table Scripting Options sections on this tab as well.

Jeff Mason
Custom Apps, Inc.
www.custom-apps.com
CarlWalden




Similar Threads
Thread Thread Starter Forum Replies Last Post
Remote Scripting anandham ASP.NET 2.0 Basics 0 December 21st, 2005 09:22 AM
Remote Scripting anandham Classic ASP Components 0 December 21st, 2005 09:03 AM
Scripting depesh Beginning VB 6 2 January 5th, 2005 04:35 PM
Safe For Scripting interrupt VBScript 0 September 2nd, 2004 07:25 AM
Scripting Dictionary sachindhillan Classic ASP Basics 0 August 17th, 2004 09:34 AM





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