dbTalk Databases Forums  

Problem with scripting in SQL 2005 after SP2

microsoft.public.sqlserver.clients microsoft.public.sqlserver.clients


Discuss Problem with scripting in SQL 2005 after SP2 in the microsoft.public.sqlserver.clients forum.



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

Default Problem with scripting in SQL 2005 after SP2 - 04-18-2007 , 08:34 AM






Hello everyone,

We hit a snag after installing SP2 for SQL Server 2005 Standard. Basically,
when we want to script the database the server takes ages to determine
objects in the database and then it takes another age to actually script the
objects.

Before the SP2 scripting was lightning fast. Now we dread any change that
would require scripting.

Any help and/or insight much appreciated.

BR,

GAZ



Reply With Quote
  #2  
Old   
Aaron Bertrand [SQL Server MVP]
 
Posts: n/a

Default Re: Problem with scripting in SQL 2005 after SP2 - 04-18-2007 , 09:26 AM






Quote:
Before the SP2 scripting was lightning fast. Now we dread any change that
would require scripting.
I find Red-Gate's SQL Compare to be very fast at generating change scripts.
Yes, it is not free, but it beats Management Studio's output hands down.

Anyway, here's something from Erland that I posted in the .Tools newsgroup
just yesterday:

Quote:
I haven't tested scripting with SP2 as far as I can recall, but a tip
is that setting the database in forced parameterisation, can speed up
scripting considerably, since MgmtStudio uses inlined parameter values.

See also
http://connect.microsoft.com/SQLServ...dbackID=247968
Quote:
--
Aaron Bertrand
SQL Server MVP
http://www.sqlblog.com/
http://www.aspfaq.com/5006




Reply With Quote
  #3  
Old   
GAZ
 
Posts: n/a

Default Re: Problem with scripting in SQL 2005 after SP2 - 04-19-2007 , 08:45 AM



Thanks for the tip. Changing the property Parametarisation to Forced has
resolved the issue. Scripting is a pleasurable task once again.

Thanks.

GAZ


"Aaron Bertrand [SQL Server MVP]" <ten.xoc (AT) dnartreb (DOT) noraa> wrote

Quote:
Before the SP2 scripting was lightning fast. Now we dread any change that
would require scripting.

I find Red-Gate's SQL Compare to be very fast at generating change
scripts. Yes, it is not free, but it beats Management Studio's output
hands down.

Anyway, here's something from Erland that I posted in the .Tools newsgroup
just yesterday:


I haven't tested scripting with SP2 as far as I can recall, but a tip
is that setting the database in forced parameterisation, can speed up
scripting considerably, since MgmtStudio uses inlined parameter values.

See also
http://connect.microsoft.com/SQLServ...dbackID=247968


--
Aaron Bertrand
SQL Server MVP
http://www.sqlblog.com/
http://www.aspfaq.com/5006





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.