all groups > sql server dts > november 2003 >
You're in the

sql server dts

group:

Row Truncation


Row Truncation Siobhan Power
11/27/2003 8:46:31 AM
sql server dts:
Hi

I have a file with a row lenght of 350, of which 315
places are populated. When I do a preview of the file in
DTS I see the correct row data BUT when I import into the
database table it truncates the row to 270.... (the
column length of the table is 450)...

Is this a known issue, or am I doing something wrong...

Thanks in advance
Siobhan

Re: Row Truncation Darren Green
11/27/2003 8:54:50 PM
In article <05ce01c3b506$02b3e0c0$a001280a@phx.gbl>, Siobhan Power
<siobhan.power@sunlife.com> writes
[quoted text, click to view]

What format is the row or source file?
Is the row 315 characters or do you mean the column?
What type of import are you doing, DataPump?
What is the destination?
Is the destination row or column 270?

If the destination is SQL server and this is one column causing
problems, do you mean the source is 315 chars but the destination only
has 270 characters in that column? Are you sure it is not a display tool
limit? Try -

SELECT LEN(ColumnName) FROM TableName

--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com

PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org
Re: Row Truncation Siobhan
11/28/2003 1:25:18 AM
Hi Darren,

I took your advice about the column length, and it does
seem to be a limitation with Query Analyzer. Looks like
you can only view 270 chars in a column...

Thanks for your help
Siobhan...


[quoted text, click to view]
Re: Row Truncation Darren Green
11/28/2003 7:02:13 PM
In article <024e01c3b591$89c06a80$a001280a@phx.gbl>, Siobhan
<anonymous@discussions.microsoft.com> writes
[quoted text, click to view]
In Query Analyser go to - Tools - Options - Results - and you can change
the "Maximum characters per column" up to a maximum of 8192.


--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com

PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org
AddThis Social Bookmark Button