dbTalk Databases Forums  

Stray control characters in CSV Export from Management Studio

microsoft.public.sqlserver.tools microsoft.public.sqlserver.tools


Discuss Stray control characters in CSV Export from Management Studio in the microsoft.public.sqlserver.tools forum.



Reply
 
Thread Tools Display Modes
  #21  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: Stray control characters in CSV Export from Management Studio - 07-15-2008 , 05:32 PM






kwdavids (kwdavids (AT) gmail (DOT) com) writes:
Quote:
OK, I learned that the format is Unicode. Two things are broken in my
mind. First SQL server can't save an ASCII CSV file. Excel is broken
in that it can't open a Unicode CSV file.
You can save an ASCII CSV file. In the Save dialogue, note the small
arror beside Save. Use this to select Save with Encoding.

I was able to open a CSV file in Unicode format with Excel 2007, but I
had to open it from within Excel. When I double-clicked it, I got
everything in column A.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx


Reply With Quote
  #22  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: Stray control characters in CSV Export from Management Studio - 07-15-2008 , 05:32 PM






kwdavids (kwdavids (AT) gmail (DOT) com) writes:
Quote:
OK, I learned that the format is Unicode. Two things are broken in my
mind. First SQL server can't save an ASCII CSV file. Excel is broken
in that it can't open a Unicode CSV file.
You can save an ASCII CSV file. In the Save dialogue, note the small
arror beside Save. Use this to select Save with Encoding.

I was able to open a CSV file in Unicode format with Excel 2007, but I
had to open it from within Excel. When I double-clicked it, I got
everything in column A.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx


Reply With Quote
  #23  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: Stray control characters in CSV Export from Management Studio - 07-15-2008 , 05:32 PM



kwdavids (kwdavids (AT) gmail (DOT) com) writes:
Quote:
OK, I learned that the format is Unicode. Two things are broken in my
mind. First SQL server can't save an ASCII CSV file. Excel is broken
in that it can't open a Unicode CSV file.
You can save an ASCII CSV file. In the Save dialogue, note the small
arror beside Save. Use this to select Save with Encoding.

I was able to open a CSV file in Unicode format with Excel 2007, but I
had to open it from within Excel. When I double-clicked it, I got
everything in column A.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx


Reply With Quote
  #24  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: Stray control characters in CSV Export from Management Studio - 07-15-2008 , 05:32 PM



kwdavids (kwdavids (AT) gmail (DOT) com) writes:
Quote:
OK, I learned that the format is Unicode. Two things are broken in my
mind. First SQL server can't save an ASCII CSV file. Excel is broken
in that it can't open a Unicode CSV file.
You can save an ASCII CSV file. In the Save dialogue, note the small
arror beside Save. Use this to select Save with Encoding.

I was able to open a CSV file in Unicode format with Excel 2007, but I
had to open it from within Excel. When I double-clicked it, I got
everything in column A.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx


Reply With Quote
  #25  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: Stray control characters in CSV Export from Management Studio - 07-15-2008 , 05:32 PM



kwdavids (kwdavids (AT) gmail (DOT) com) writes:
Quote:
OK, I learned that the format is Unicode. Two things are broken in my
mind. First SQL server can't save an ASCII CSV file. Excel is broken
in that it can't open a Unicode CSV file.
You can save an ASCII CSV file. In the Save dialogue, note the small
arror beside Save. Use this to select Save with Encoding.

I was able to open a CSV file in Unicode format with Excel 2007, but I
had to open it from within Excel. When I double-clicked it, I got
everything in column A.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx


Reply With Quote
  #26  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: Stray control characters in CSV Export from Management Studio - 07-15-2008 , 05:32 PM



kwdavids (kwdavids (AT) gmail (DOT) com) writes:
Quote:
OK, I learned that the format is Unicode. Two things are broken in my
mind. First SQL server can't save an ASCII CSV file. Excel is broken
in that it can't open a Unicode CSV file.
You can save an ASCII CSV file. In the Save dialogue, note the small
arror beside Save. Use this to select Save with Encoding.

I was able to open a CSV file in Unicode format with Excel 2007, but I
had to open it from within Excel. When I double-clicked it, I got
everything in column A.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx


Reply With Quote
  #27  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: Stray control characters in CSV Export from Management Studio - 07-15-2008 , 05:32 PM



kwdavids (kwdavids (AT) gmail (DOT) com) writes:
Quote:
OK, I learned that the format is Unicode. Two things are broken in my
mind. First SQL server can't save an ASCII CSV file. Excel is broken
in that it can't open a Unicode CSV file.
You can save an ASCII CSV file. In the Save dialogue, note the small
arror beside Save. Use this to select Save with Encoding.

I was able to open a CSV file in Unicode format with Excel 2007, but I
had to open it from within Excel. When I double-clicked it, I got
everything in column A.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx


Reply With Quote
  #28  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: Stray control characters in CSV Export from Management Studio - 07-15-2008 , 05:32 PM



kwdavids (kwdavids (AT) gmail (DOT) com) writes:
Quote:
OK, I learned that the format is Unicode. Two things are broken in my
mind. First SQL server can't save an ASCII CSV file. Excel is broken
in that it can't open a Unicode CSV file.
You can save an ASCII CSV file. In the Save dialogue, note the small
arror beside Save. Use this to select Save with Encoding.

I was able to open a CSV file in Unicode format with Excel 2007, but I
had to open it from within Excel. When I double-clicked it, I got
everything in column A.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx


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.