Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cutting off text field

Status
Not open for further replies.

bjr149

Programmer
Jul 18, 2005
26
US
In my table the field length is 6000. I take this data and dump it to a text file. The problem is when i dump the record to the table it cuts it off. It cuts off every record to this length and i cant figure out why. The destination fields are ok stating 6000 characters.

Here is the field:
999999 |777777 |7777658 |45435435 |2543525 |45354353 |98797897 |686786786 |080890890 |234243234 |5435435 |657575765 |654643 |3333333 |35253

Here is what come in the text file:
999999 |777777 |7777658 |45435435 |2543525 |45354353 |98797897 |686786786 |080890890 |234
 
Are you doing this in Query Analyzer?

Did you know the Query Analyzer cuts off the
display at 256 characters (as a default). You
can change it like this...

Click Tools -> Options
Click Results tab
Change maximum characters per column

-George

Strong and bitter words indicate a weak cause. - Fortune cookie wisdom
 
Try using BCP.

Denny
MCSA (2003) / MCDBA (SQL 2000) / MCTS (SQL 2005) / MCITP Database Administrator (SQL 2005)

--Anything is possible. All it takes is a little research. (Me)
[noevil]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top