dbTalk Databases Forums  

Import truncating fields at 255 characters

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Import truncating fields at 255 characters in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Justin Patch
 
Posts: n/a

Default Import truncating fields at 255 characters - 01-25-2005 , 03:23 PM






I have a very simple DTS process that copies five columns from an Excel
spreadsheet into a SQL table. One of the fields is product description that
tends to be about 350-500 characters long. When I run the DTS, SQL Server
truncates the description field at 255 characters? Does anyone know what I
need to do to resolve this problem.

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Import truncating fields at 255 characters - 01-25-2005 , 04:04 PM






Are you seeing this issue?

www.sqldts.com/default.aspx?297


--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.SQLIS.com - SQL Server 2005 Integration Services.
www.Konesans.com


"Justin Patch" <JustinPatch (AT) discussions (DOT) microsoft.com> wrote

Quote:
I have a very simple DTS process that copies five columns from an Excel
spreadsheet into a SQL table. One of the fields is product description that
tends to be about 350-500 characters long. When I run the DTS, SQL Server
truncates the description field at 255 characters? Does anyone know what I
need to do to resolve this problem.



Reply With Quote
  #3  
Old   
Justin Patch
 
Posts: n/a

Default Re: Import truncating fields at 255 characters - 01-25-2005 , 05:27 PM



That's exactly what was happening. Thank you very much.

"Allan Mitchell" wrote:

Quote:
Are you seeing this issue?

www.sqldts.com/default.aspx?297


--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.SQLIS.com - SQL Server 2005 Integration Services.
www.Konesans.com


"Justin Patch" <JustinPatch (AT) discussions (DOT) microsoft.com> wrote

I have a very simple DTS process that copies five columns from an Excel
spreadsheet into a SQL table. One of the fields is product description that
tends to be about 350-500 characters long. When I run the DTS, SQL Server
truncates the description field at 255 characters? Does anyone know what I
need to do to resolve this problem.




Reply With Quote
  #4  
Old   
Justin Patch
 
Posts: n/a

Default Re: Import truncating fields at 255 characters - 01-25-2005 , 05:47 PM



That worked great for the import problem, but I also have to eventually
export that data back out to an Excel spreadsheet. The export works great to
a text file, but not for the xls file. I looked under the OLE DB properties
for the xls sheet but didn't see anything about Max characters per delimited
column. Is it possible to export the data back to an Excel sheet, or am I
stuck with a text file? Thanks for your help.

"Allan Mitchell" wrote:

Quote:
Are you seeing this issue?

www.sqldts.com/default.aspx?297


--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.SQLIS.com - SQL Server 2005 Integration Services.
www.Konesans.com


"Justin Patch" <JustinPatch (AT) discussions (DOT) microsoft.com> wrote

I have a very simple DTS process that copies five columns from an Excel
spreadsheet into a SQL table. One of the fields is product description that
tends to be about 350-500 characters long. When I run the DTS, SQL Server
truncates the description field at 255 characters? Does anyone know what I
need to do to resolve this problem.




Reply With Quote
  #5  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Import truncating fields at 255 characters - 01-26-2005 , 02:04 PM



Are you saying that the Export to Excel is cutting you short also?

--



Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.SQLIS.com - You thought DTS was good. here we show you the new stuff.
www.konesans.com - Consultancy from the people who know


"Justin Patch" <JustinPatch (AT) discussions (DOT) microsoft.com> wrote

Quote:
That worked great for the import problem, but I also have to eventually
export that data back out to an Excel spreadsheet. The export works great
to
a text file, but not for the xls file. I looked under the OLE DB
properties
for the xls sheet but didn't see anything about Max characters per
delimited
column. Is it possible to export the data back to an Excel sheet, or am I
stuck with a text file? Thanks for your help.

"Allan Mitchell" wrote:

Are you seeing this issue?

www.sqldts.com/default.aspx?297


--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.SQLIS.com - SQL Server 2005 Integration Services.
www.Konesans.com


"Justin Patch" <JustinPatch (AT) discussions (DOT) microsoft.com> wrote in message
newsA540AAF-8074-42D1-A338-44AFF0D3399C (AT) microsoft (DOT) com...
I have a very simple DTS process that copies five columns from an Excel
spreadsheet into a SQL table. One of the fields is product description
that
tends to be about 350-500 characters long. When I run the DTS, SQL
Server
truncates the description field at 255 characters? Does anyone know
what I
need to do to resolve this problem.






Reply With Quote
  #6  
Old   
Justin Patch
 
Posts: n/a

Default Re: Import truncating fields at 255 characters - 01-27-2005 , 01:53 PM



Yes, I can export fine to a text file but it will chop the field off at 255
on the export. If I have to I can use a text file, but I would really like
to use an XLS so that I can easily format the results.

"Allan Mitchell" wrote:

Quote:
Are you saying that the Export to Excel is cutting you short also?

--



Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.SQLIS.com - You thought DTS was good. here we show you the new stuff.
www.konesans.com - Consultancy from the people who know


"Justin Patch" <JustinPatch (AT) discussions (DOT) microsoft.com> wrote in message
news:29E9702F-1CA9-4798-BB5A-DFBAB43C6FBE (AT) microsoft (DOT) com...
That worked great for the import problem, but I also have to eventually
export that data back out to an Excel spreadsheet. The export works great
to
a text file, but not for the xls file. I looked under the OLE DB
properties
for the xls sheet but didn't see anything about Max characters per
delimited
column. Is it possible to export the data back to an Excel sheet, or am I
stuck with a text file? Thanks for your help.

"Allan Mitchell" wrote:

Are you seeing this issue?

www.sqldts.com/default.aspx?297


--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.SQLIS.com - SQL Server 2005 Integration Services.
www.Konesans.com


"Justin Patch" <JustinPatch (AT) discussions (DOT) microsoft.com> wrote in message
newsA540AAF-8074-42D1-A338-44AFF0D3399C (AT) microsoft (DOT) com...
I have a very simple DTS process that copies five columns from an Excel
spreadsheet into a SQL table. One of the fields is product description
that
tends to be about 350-500 characters long. When I run the DTS, SQL
Server
truncates the description field at 255 characters? Does anyone know
what I
need to do to resolve this problem.







Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.