Wrox Programmer Forums
|
SQL Server ASP Discussions about ASP programming with Microsoft's SQL Server. For more ASP forums, see the ASP forum category.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server ASP 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 June 30th, 2005, 08:47 AM
Authorized User
 
Join Date: Apr 2005
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to rain_uk
Default SQL Datatype

Hi,

This is probably an easy one but i cant seem to find the answer :(

I have created an Intranet for the company i work for, and have used the Web Wiz Rich Text Editor to get them to input data into the database as HTML code, which is then displayed on the site.

The only problem is the field is currently varchar which has a limit of 8000 bytes, but due to HTML coding this is not enough for some pages they want to create.

So my question is what is the largest datatype i can use for html code ?:)

 
Old July 4th, 2005, 12:43 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 303
Thanks: 0
Thanked 0 Times in 0 Posts
Default

text or ntext


 
Old July 5th, 2005, 01:34 AM
Authorized User
 
Join Date: Apr 2005
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to rain_uk
Default

Thanks for that. The only problem is i am using MSDE version of SQL and it looks like it locks everything to 8000 bytes






Similar Threads
Thread Thread Starter Forum Replies Last Post
Oracle to SQL Server DataType Mapping maulik33 SQL Language 0 November 1st, 2007 02:48 PM
datatype of sql MunishBhatia SQL Server 2005 4 January 5th, 2007 10:22 PM
Sql servere datatype monika.vasvani SQL Server 2000 2 December 14th, 2006 03:11 PM
SQL Text Datatype bekim ASP.NET 1.0 and 1.1 Professional 2 March 28th, 2006 12:05 AM
sql datatype change be changed mateenmohd SQL Server 2000 3 July 18th, 2003 03:00 AM





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