SQL Server Performance

DTS import from excel cell with more than 256 characters

Discussion in 'General DBA Questions' started by nishantshende, Mar 31, 2009.

  1. nishantshende New Member

    Hi,

    I am trying to import a file from Excel to SQL using DTS. I have determined that the problems I am getting are because one of the columns in Excel has cells containing more than 256 characters. I have reformatted the data in Excel to text in an attempt to ensure that the whole is imported. When I attempt it as is, I get an error "Data Source Column 7 is too large for the specified buffer size". By reducing the data to less than 256, I can import but of course the data is incomplete.Where can I increase the buffer size? I am aware that fetch data and put data buffers refer to rows not data.- or is there a better way of doing this?
    I am using SQL 2000.
    Please help me in achiving above task.
    Thanks & Regards,
    Nishant Shende
  2. MohammedU New Member

  3. nishantshende New Member

    Hi,
    Thanks for replay,
    But any column can exceed 255 character length.
    Now I am getting above mentioned error in 57nth column
    I have tested this by setting TypeGuessRows to 0 and also 500 but no success.
    Isn't Microsoft given concrete solution on this issue?
    Thanx
    Nishant...

  4. satya Moderator

    Can you defined the column in SQL to be a VARCHAR(MAX) to accomodate that text from Excel>
  5. satya Moderator

    Make sure to post questions on relevant section only, moved from SQL 2008 forum section.

Share This Page