Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8798355
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T00:04:46+00:00 2026-06-14T00:04:46+00:00

With reference to Import and Export Wizard, in SQL Server 2005 environment, I would

  • 0

With reference to Import and Export Wizard, in SQL Server 2005 environment, I would like to receive some suggestions on how to select the best field separator: the table I need to export as flat file for example contains columns with commas inside them, so I can’t use comma as field separator.

I have thought to search in all tables what is the ASCII character (0-255) NOT PRESENT, and use this character as separator, but this search operation is computationally heavy.

  • What type of character could I use for exporting a table as flat file?
  • Could I use a couple of characters, for example ,$ ?
  • Is it preferable to use fixed length fields?

Any suggestion would be appreciated.

The best suggestion will be accepted.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T00:04:48+00:00Added an answer on June 14, 2026 at 12:04 am

    Standard practice is to use a delimiter (usually comma ,) and a text qualifier (usually double quote “)

    The output is then:

    “Field A”,”Field B”,”Field With, A Comma”

    Using a text qualifier means you do not need to worry about the delimiter appearing in your fields.
    And I wouldn’t bother using fixed widths, that could lead to truncation later on if you change the design of the table and forget to update all of your export scripts.

    Use the csv extension (file.csv) so that other programs recognise the file type. CSV stands for Comma Seperated Values.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

After loading a reference to an assembly with something like: import clr clr.AddRferenceToFileAndPath(r'C:\foo.dll') How
The task is to have SQL Server read an Excel spreadsheet, and import only
Using import aliasing in one file/class, we can reference class library namespaces by assigning
The following code raises an ambiguous reference to value at compile time: import flash.display.Sprite;
I'm calling a SAP PI web service via WCF. I import the service reference,
Am trying to export some portal pages with the theme.In the out put xml
i'm pretty confused over the following issue and would be grateful for some clarity.
For a project I'm working on, i'm adding import/export functionality. This is working OK,
Is there a way to import/export Visual Studio .NET 2003 settings? Especially the IDE
Are there any reference patterns for .Net server applications relating to storing and retrieving

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.