dbTalk Databases Forums  

Exporting Script of complete Database

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Exporting Script of complete Database in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Daren Hawes
 
Posts: n/a

Default Exporting Script of complete Database - 01-20-2005 , 04:48 AM






Hi,

I have finished my Database along with Tables, Views, Stored Procedures
and Constraints.

Is there an easy way to push 1 button ;-) that will export the complete
database into a SQL Script? I want to add this to the root of the
application so I can easily setup other DB in the future?

I know you can do it per table, but 1 big file?

Thanks in Advance.

Daren


Reply With Quote
  #2  
Old   
Darren Green
 
Posts: n/a

Default Re: Exporting Script of complete Database - 01-20-2005 , 09:11 AM






Backup...

Covers everything and no messy scripts.
"Daren Hawes" <Newsgroups (AT) webdesignmagic (DOT) com.au> wrote

Hi,

I have finished my Database along with Tables, Views, Stored Procedures and Constraints.

Is there an easy way to push 1 button ;-) that will export the complete database into a SQL Script? I want to add this to the root of the application so I can easily setup other DB in the future?

I know you can do it per table, but 1 big file?

Thanks in Advance.

Daren

Reply With Quote
  #3  
Old   
Daren Hawes
 
Posts: n/a

Default Re: Exporting Script of complete Database - 01-20-2005 , 03:42 PM



Hi Darren,

That seemed to work. Had a few errors after parsing but will need to
investigate further. Any way of formatting the script?

I am using MS SQL 2000 and just pasting into Query Analyser. Any other
ways? The DDL is just 1 long line. Any Ideas?

Thx

_____

From: Darren Green [mailto:darren.green (AT) reply-to-newsgroup-sqldts (DOT) com]
Posted At: Friday, 21 January 2005 1:11 AM
Posted To: microsoft.public.sqlserver.dts
Conversation: Exporting Script of complete Database
Subject: Re: Exporting Script of complete Database


Backup...

Covers everything and no messy scripts.

"Daren Hawes" <Newsgroups (AT) webdesignmagic (DOT) com.au> wrote

Hi,

I have finished my Database along with Tables, Views, Stored Procedures
and Constraints.

Is there an easy way to push 1 button ;-) that will export the complete
database into a SQL Script? I want to add this to the root of the
application so I can easily setup other DB in the future?

I know you can do it per table, but 1 big file?

Thanks in Advance.

Daren



Reply With Quote
  #4  
Old   
Darren Green
 
Posts: n/a

Default Re: Exporting Script of complete Database - 01-21-2005 , 03:17 AM



Sorry, you've lost me entirely. I suggested a backup which doesn't produce any scripts, just a single backup file of everything, which you restore.


--
Darren Green
http://www.sqldts.com
"Daren Hawes" <Newsgroups (AT) webdesignmagic (DOT) com.au> wrote

Hi Darren,

That seemed to work. Had a few errors after parsing but will need to investigate further. Any way of formatting the script?

I am using MS SQL 2000 and just pasting into Query Analyser. Any other ways? The DDL is just 1 long line. Any Ideas?

Thx



------------------------------------------------------------------------------
From: Darren Green [mailto:darren.green (AT) reply-to-newsgroup-sqldts (DOT) com]
Posted At: Friday, 21 January 2005 1:11 AM
Posted To: microsoft.public.sqlserver.dts
Conversation: Exporting Script of complete Database
Subject: Re: Exporting Script of complete Database


Backup...

Covers everything and no messy scripts.
"Daren Hawes" <Newsgroups (AT) webdesignmagic (DOT) com.au> wrote

Hi,

I have finished my Database along with Tables, Views, Stored Procedures and Constraints.

Is there an easy way to push 1 button ;-) that will export the complete database into a SQL Script? I want to add this to the root of the application so I can easily setup other DB in the future?

I know you can do it per table, but 1 big file?

Thanks in Advance.

Daren

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.