blogs.conchango.com

welcome to the conchango blogging site
Welcome to blogs.conchango.com Sign in | Join | Help
in Search

SSIS Junkie

SQL Server 2005 SP2

By now you probably know that the first Community Technology Preview (CTP) of SQL Server 2005 Service Pack 2 is available. I wanted to highlight what I see as the most important addition:

"Generate Script Wizard. You can now specify that the scripted objects include a DROP statement before the CREATE statement.  Scripting of objects into separate files is now possible." 

Take it from me, when I found that these two incredibly simple but incredibly useful features had gone missing since SQL Server 2000 I was a little...annoyed... to say the least and I complained vigorously about it. Thankfully the powers that be have had the good sense to replace them.

Its beyond the realms of my understanding why they removed them in the first place.

-Jamie

 

Published 09 November 2006 04:22 by jamie.thomson
Filed under: ,

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

 

Phil said:

How do I turn this feature On I downloaded sp2 yesterday and I'm trying to find this option.

Thanks!

November 9, 2007 15:06
 

jamie.thomson said:

Its in SQL Server Management Studio. Right-click on Databases-->Tasks-->Generate Scripts

-Jamie

November 9, 2007 15:53
 

Phil said:

thanks just figured it out, had to right click ont he database itself!

Did you find this tool actually helpful?

An example of our old scripts that enterprise manager would be: storedprocname.prc

Now the stupid thing creates: storedprocname.StoredProcedure.sql

This causes problems for our source control because now we have to rename our files, and before we can even do that we have to delete the old existing one because enterprisemanager is no longer overwriting old files... *Sigh*

The scripting of updated stored procs is now taking 5 times as long having to hunt for the old stored proc, delete it, then rename the new file back to the old name...

It wouldn't be so bad if we only had say 100 stored procs to have to dig through but we have over 2500 store procs in our source control.

ARrrgh.

November 9, 2007 16:13
 

Jackie said:

Can you generate script for an SSIS 2005 package?

September 12, 2008 22:28
 

jamie.thomson said:

jackie,

Can you elaborate on that question a little?

-Jamie

September 15, 2008 09:29

Leave a Comment

(required) 
(optional)
(required) 
Submit

This Blog

Syndication

News

Powered by Community Server (Personal Edition), by Telligent Systems