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

Extending a Datatype of LONG???

Status
Not open for further replies.

GregLanders

Programmer
Jul 9, 2001
17
US
How can set a column of datatype long to accept more that 65000 characters. I see in the documentation that this datatype will hold up to 2GB but when I try to stick in more than 65000 characters, the data gets truncated. Anyone know what I am doing wrong?
 
How are you trying to enter the data into your long column? Different methods have diffent size limits.
 
I am using a ColdFusion query, something like this:

Code:
<cfquery datasource=&quot;#application.dsn#&quot; name=&quot;ins&quot;>
   insert into tablename
   (id,longdata_field)
   values('#createUUID()#','#variables.longdata#')
</cfquery>

Does this tell you anything?
 
Thank you, but I found the setting in the ColdFusion Administrator...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top