SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 To export the schema definition of a database
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

arthiasha
Starting Member

India
40 Posts

Posted - 01/24/2013 :  05:28:10  Show Profile  Reply with Quote
Hi all,
I'm trying to export the schema definition of my database through tasks->generate scripts.
I want tables.sql, stored procedures.sql, uddtypes.sql,uddtables.sql as seperate sql scripts and not as each table of procedure.
What options should i give to get in this format.
Please help
thanks in advance

James K
Flowing Fount of Yak Knowledge

3333 Posts

Posted - 01/24/2013 :  08:25:32  Show Profile  Reply with Quote
Did you mean that you want to generate separate files for each table, stored proc etc., or a single file? The choice is on the Output Option screen of the script wizard if that is what you meant.
Go to Top of Page

arthiasha
Starting Member

India
40 Posts

Posted - 01/24/2013 :  23:54:29  Show Profile  Reply with Quote
Yeah...
but i need the script of all tables under tables.sql, all procedures under stored_procedures.sql, same with uddtypes, uddtables & users. I want only these files so when i run tables.sql, it should create all my tables in my db.
Please help
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000