Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Mess-up When Exporting to an Excel in Query Analyzer

Hi All,

I want to export the output from Query Analyzer to an Excel file (a CSV
file).

However, because I have comma (",") in certain data, these data are
split between separate columns. I want to set "Fixed width" in
"Data-Text to Column" in Excel file. However, that doesn't seem to
work, because the data are still split.

Anyone can advise me on how to export the data from Query Analyzer
properly to an Excel file?

Would truly appreciate it!

-Emily

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Mess-up When Exporting to an Excel in Query Analyzer

Which Query Analyzer are you talking about ? The one from SQL Server ?
Normally a value containing a comma is enclosed in quote marks for CSV
files, so it is not a problem. SQL server should do this, I would have
thought.
If not, then export with a different delimiter; tab, semi-colon, pipe etc.
Or if you data really is fixed-width, then use that.

NickHK

"Emily" wrote in message
ups.com...
Hi All,

I want to export the output from Query Analyzer to an Excel file (a CSV
file).

However, because I have comma (",") in certain data, these data are
split between separate columns. I want to set "Fixed width" in
"Data-Text to Column" in Excel file. However, that doesn't seem to
work, because the data are still split.

Anyone can advise me on how to export the data from Query Analyzer
properly to an Excel file?

Would truly appreciate it!

-Emily



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SAP BI 7.0 BEx Analyzer in MS Office Excel 2007 jmv Excel Discussion (Misc queries) 2 March 19th 07 01:23 PM
Excel sheet analyzer/generator Tomasz Klim[_2_] Excel Programming 3 June 10th 06 10:14 PM
Is Excel is now going out of it's way to mess me around? Willot[_3_] Excel Programming 3 June 8th 06 01:14 AM
Does 2 error handlers mess up excel? Nicole Seibert Excel Programming 4 April 5th 06 11:13 PM
Error message in Excel after exporting Access query to Excel Romi Excel Discussion (Misc queries) 0 June 6th 05 02:53 PM


All times are GMT +1. The time now is 08:31 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"