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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What is maximum character count for SQL field

Status
Not open for further replies.

BrimReap

Programmer
Mar 8, 2002
9
US
What is maximum character count for SQL field with data type text or ntext?

I'm trying to copy and paste a 63,000 character/39000 Bytes Word document and upload into the database via a form.

It keeps truncating. Do you know what the maximum amount allowed is? Do I need to change some settings?
 
Text max: 2GB NText max: 1GB (NText is double byte)

Check the following links for information on loading Text and NText columns.

HOWTO: Access and Modify SQL Server BLOB Data by Using the ADO Stream Object

HOWTO: Read and Write BLOBs Using GetChunk and AppendChunk
If you want to get the best answer for your question read faq183-874 and faq183-3179.
Terry L. Broadbent - DBA
SQL Server Page:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top