Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
Password Reminder
Register
Register | FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old June 5th, 2003, 06: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
Reply With Quote
  #2 (permalink)  
Old June 5th, 2003, 06: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
Reply With Quote
  #3 (permalink)  
Old June 5th, 2003, 07: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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 08:25 AM
Scripting Dictionary sachindhillan Classic ASP Basics 0 August 17th, 2004 10:34 AM



All times are GMT -4. The time now is 01:13 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.