Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Get sql installation script from existing DB

Author  Topic 

suegooge
Starting Member

2 Posts

Posted - 2006-06-07 : 08:34:40
Dear all,

I am new to this forum and I am not an expert of sql server. So please be gentle :-)

I would like to have the installation script of an existing sql server 2005 DB so someone else can download it to get the same DB. If I write my own script I have to go through each table and each column. Is there a short cut way to do this?

Thanks a lot in advance!
Sue

Fine craftmanship web development using ASP.NET 2.0/AJAX/SQL Server

nr
SQLTeam MVY

12543 Posts

Posted - 2006-06-07 : 08:38:08
Right click on the database, tasks and there is a generate scripts option which allows you to select what you want to script..


==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page

suegooge
Starting Member

2 Posts

Posted - 2006-06-07 : 12:09:07
That was fast! I will try it out tonight. Thanks a lot for your information!

Fine craftmanship web development using ASP.NET 2.0/AJAX/SQL Server
Go to Top of Page
   

- Advertisement -