dbTalk Databases Forums  

TransferObjectsTask removes blank lines from Stored Procedures

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


Discuss TransferObjectsTask removes blank lines from Stored Procedures in the microsoft.public.sqlserver.dts forum.



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

Default TransferObjectsTask removes blank lines from Stored Procedures - 01-22-2004 , 09:19 AM






Can anyone show me how to perform a DTS.TransferObjectsTask which does
not strip white space from stored procedures? When we move the tables,
structures, indices from an init db to a dev db all white space (blank
lines) are lost. We end up having to use SQL Programmer to copy/paste
the sp's. We have looked at the switches (ScriptOption,
ScriptOptionEx) to no avail.

Thanx!

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

Default Re: TransferObjectsTask removes blank lines from Stored Procedures - 01-22-2004 , 12:32 PM






In message <734863e2.0401220719.f8b290d (AT) posting (DOT) google.com>, cbondeson
<cbondeson (AT) delphihealth (DOT) com> writes
Quote:
Can anyone show me how to perform a DTS.TransferObjectsTask which does
not strip white space from stored procedures? When we move the tables,
structures, indices from an init db to a dev db all white space (blank
lines) are lost. We end up having to use SQL Programmer to copy/paste
the sp's. We have looked at the switches (ScriptOption,
ScriptOptionEx) to no avail.

Thanx!
I think SQLDMO could be used to automate the transfer instead.

Never noticed that behaviour before, it is a bit anti-social.

--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com

PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org



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.