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
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

sql dts export to excel (apostrophe in cell)

  • 05-09-2007 2: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, Registered Users 2 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, Registered Users 2 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