Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

sql dts export to excel (apostrophe in cell)

Options
  • 05-09-2007 3:24pm
    #1
    Closed Accounts Posts: 120 ✭✭


    Hi,

    Using SQL 2000 DTS package to export table to excel file.
    All the data is there but the first character of every cell in the excel file has an apostrophe. Anyone know how to get rid of it during the dts.
    I've checked the option for row and column deliminator but nothing wrong there.

    Thanks


Comments

  • Registered Users Posts: 2,781 ✭✭✭amen


    hmm I just set up a SQL 2000 DTS and no apostrophe.
    I am using SQL 2000 Service Pack 3

    What version are you running?
    if you export the data to a text file is the apostrophe still there?

    is the apostrophe in the original data?


  • Closed Accounts Posts: 120 ✭✭samelterrance


    amen wrote:
    hmm I just set up a SQL 2000 DTS and no apostrophe.
    I am using SQL 2000 Service Pack 3

    What version are you running?
    if you export the data to a text file is the apostrophe still there?

    is the apostrophe in the original data?

    Thanks for replying.
    I'm using SQL 2000 SP4.
    There is no apostrophe in the original data :-(


  • Moderators, Society & Culture Moderators Posts: 9,689 Mod ✭✭✭✭stevenmu


    Are you exporting to a new excel file, or to a pre-existing one that may have some formatting in the columns ?

    (edit: I'm pretty sure I've done this on 2000 with sp4 and didn't get the apostrophe either)


  • Registered Users Posts: 2,781 ✭✭✭amen


    can you post some sample data and the dts job?


  • Closed Accounts Posts: 120 ✭✭samelterrance


    amen wrote:
    can you post some sample data and the dts job?


    Hi Guys,

    It's ok, there was already an excel file to where the dts was exporting too and it had wrong data types on the columns of the file. I've altered them and it works now.

    Thanks for the responses.


  • Advertisement
Advertisement