Solved

the length of a "text" col in table

Posted on 1998-12-09
3
217 Views
Last Modified: 2010-03-19
I define a col with data type "text" in a table, after insert a text more than 255 chars, select from that col it can only display 255 chars,what can I do to store more than 255 chars to the col, or this is only a matter of "select"?
Thank you very much!
0
Comment
Question by:lijin1
  • 2
3 Comments
 
LVL 2

Accepted Solution

by:
tschill120198 earned 200 total points
ID: 1092190
this is a limitation of ISQL, ISQL/w, etc., not displaying more than the first 255 characters.
0
 
LVL 2

Expert Comment

by:tschill120198
ID: 1092191
You can verify that all the text is there (more than 255) by BCP-ing out the data.
0
 

Author Comment

by:lijin1
ID: 1092192
Thank you very much, tschill!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now