dbTalk Databases Forums  

Text File with Fixed field length greater than 4096

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


Discuss Text File with Fixed field length greater than 4096 in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Frank Uray
 
Posts: n/a

Default Text File with Fixed field length greater than 4096 - 05-20-2005 , 04:15 AM






Hi all

I am trying to import a text file with with a Fixed field length
greater than 4096 characters.
In the connection properties I am not able to set any position
after 4096. Is this a real SQL Server limitation or is there
somewhere a switch to set (maybe set to 8192)??

Thanks for any comment!

Best regards
Frank

Reply With Quote
  #2  
Old   
Helge C. Rutz
 
Posts: n/a

Default Re: Text File with Fixed field length greater than 4096 - 05-20-2005 , 08:08 AM






Hi Frank,

"Frank Uray" wrote
Quote:
I am trying to import a text file with with a Fixed field length
greater than 4096 characters.
In the connection properties I am not able to set any position
after 4096. Is this a real SQL Server limitation or is there
somewhere a switch to set (maybe set to 8192)??
SQL Server tables are limited to 8kb, so you get a warning when your
columns seems to be greater then 8kb, and unfortunately the UI for fixed
column length won't handle such big columns.
With the actual Version of the SQl Server its no problem to load great text
data into text columns but you have to specify that ;-)
Could you use delemited columns instead of fixed size, that would work
regardless of the size?
The only other way to get more data from a text file into SQL Server is
with the Bulk Copy function, with the bulk insert task or the bcp.exe tool.
There you should be able to specify fixed column length.

Helge




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.