dbTalk Databases Forums  

Re: Exporting Text File -HELP

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


Discuss Re: Exporting Text File -HELP in the microsoft.public.sqlserver.dts forum.



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

Default Re: Exporting Text File -HELP - 08-08-2003 , 01:28 AM






And what are the differences ?


--

Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Exporting Text File -HELP - 08-08-2003 , 01:35 AM






Should have said this before.

Having had a quick view of the code I do not think you need a cursor at all.

If you want to substitute a value for when your field is null then use ISNULL(). If you want to set a value based on the current
value then use CASE. Like I said I cannot initially see the need for a cursor.




--

Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support 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.