dbTalk Databases Forums  

Csv output

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


Discuss Csv output in the microsoft.public.sqlserver.dts forum.



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

Default Csv output - 10-18-2004 , 06:45 PM






If I export out a table to a (Text) output file called xxxx.csv and some of
the fields are defined dec(13,2). If you open this file in Xcel will that
formatting still hold over or will it resort to a text output field.


How can I make those fields keep the 13,2 decimal formatting.


any thoughts ... I want to keep the csv output file not create an Xcel
file.






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

Default Re: Csv output - 10-20-2004 , 02:27 PM






csv is not Excel. csv files have Excel associated with the extension so it
looks as though it is Excel opening them.

I can see no reason why with formatting that the field should lose precision
or scale.



--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.konesans.com - Consultancy from the people who know


"AHartman" <Hoosbruin (AT) Kconline (DOT) com> wrote

Quote:
If I export out a table to a (Text) output file called xxxx.csv and some
of
the fields are defined dec(13,2). If you open this file in Xcel will that
formatting still hold over or will it resort to a text output field.


How can I make those fields keep the 13,2 decimal formatting.


any thoughts ... I want to keep the csv output file not create an Xcel
file.








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.