Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 23rd, 2004, 05:09 PM
Friend of Wrox
 
Join Date: Oct 2004
Posts: 198
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via MSN to itHighway
Default SQL Server, field length of 20000

Hello!

This is Zeeshan Ahmed. I have posted my problem in several forums, but no one can give me satisfactory answer.

I need to store text of around 20000 characters in sql server table field. The maximum characters allowed for Varchar field is 8000.

How can I save my text of 20000 character in sql server field.

Any Idea..
Any Help....
Will be greatly appriciated..

Thank you,
Zeeshan Ahmed

 
Old December 24th, 2004, 01:30 AM
Friend of Wrox
 
Join Date: May 2004
Posts: 642
Thanks: 0
Thanked 43 Times in 42 Posts
Default

You can use "text" datatype which can store upto 2,147,483,647 characters.


Om Prakash
 
Old December 24th, 2004, 04:43 PM
Friend of Wrox
 
Join Date: Oct 2004
Posts: 198
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via MSN to itHighway
Default

Thank you

 
Old December 27th, 2004, 01:16 AM
Friend of Wrox
 
Join Date: Dec 2004
Posts: 307
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Vadivel Send a message via Yahoo to Vadivel
Default

Yeah om prakash is right. But i guess you should be aware that text columns have limitations that varchar columns don't have!

For ex: you can't index them, and you can't use them with some cursor types.

These limitations might require you to use special funcitons such as updatetext, writetext and AADO's stream interfaces. We would use text in row only if data in some of the rows needed more space than varchar or nvarchar (here n = national)

Best Regards
Vadivel

MVP ASP/ASP.NET
http://vadivel.thinkingms.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
write text file with fixed field length hugoscp Classic ASP Professional 0 June 27th, 2007 06:12 AM
Import Fixed length - SQL SERVER 2000 carumuga SQL Server 2000 4 December 23rd, 2006 10:18 AM
Help me on Fixed Field Length data files hossrad SQL Server DTS 3 January 29th, 2005 07:50 PM
Determining the length of a database field john_reeve41 BOOK: Beginning ASP 3.0 2 February 26th, 2004 12:49 PM
rownum field in sql server mateenmohd SQL Server 2000 2 June 12th, 2003 04:48 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.