Ask a Question related to Coldfusion Database Access, Design and Development.
-
yoderd1956 #1
CFMX and NTEXT fields
I have a SQL table that includes 2 NTEXT fields. When I do a cfquery such as
SELECT * FROM MYFILE, I get no value back for these fields. Playing around with
it a bit more, the only way I've been able to get values back is if I list all
the fields (rather than the metacharacter *) and then only if the NTEXT fields
are the last ones in the list.
Is there some other way to deal with these fields in CFMX? Server settings?
Options? The only NTEXT stuff I've really seen is about having to pre-pend an
"N" in front of the value when using CFQUERY to update the field. Haven't found
anything on pure select.
Note that this query works fine under CF5, but is giving me fits under CFMX.
Thanks, in advance, for any help you can give.
yoderd1956 Guest
-
MS SQL 2005 and ntext
I have a simple SELECT statement: SELECT RestaurantID, Status, RestaurantName, City, PostalCode, EmailAddress, URL FROM tblRestaurants WHERE URL... -
Cant get the values from the NTEXT fields
Unfortunately I have to use the ODBC driver in order to connect to the SQL 2000 personal edition on my development workstation. but this is still... -
ntext formatting
I have an ASP page that submits a form to a SQL database. There is a textarea that submits to an ntext field. When I output this to an ASP page... -
how to update and retrieve ntext fields in my asp code
how to update and retrieve ntext fields in my asp code PLEASE HELP -
nText
SQL Server 2000 I am trying to pull off a record from a table which has 2 ntext fields. How do I retireve all the information stored within these... -
SafariTECH #2
Re: CFMX and NTEXT fields
How big are the NTEXT fields' data?
Anything over a certain size requires that CLOB (Long Text Retrieval) be
enabled in the datasource in the CF Administrator. (I think it's actually
required anyway if you use NTEXT at all, but I can't remember exactly.)
NTEXT really isn't recommended unless you have no alternative or have no idea
how long the text could be (and may exceed NVARCHAR's limits). NVARCHAR with a
high limit value will generally work better.
SafariTECH Guest
-
yoderd1956 #3
Re: CFMX and NTEXT fields
Size varies. I believe we originally had nvarchar of 2000 and then someone
blew through that and instead of making it a bigger nvarchar field, it was
changed to the ntext. Had worked fine till we loaded CFMX and I started
testing the page.
We checked the CLOB option but this doesn't seem to have made a difference.
That is, if I do select * from.... I still get nothing back for my ntext
fields, but if I list all fields in the select statement, making sure the ntext
fields are last, I get the data without a hitch.
yoderd1956 Guest
-
redtopia #4
Re: CFMX and NTEXT fields
I'm having the same problem... any solutions? I'm using SQL Server 2005 Express.
redtopia Guest



Reply With Quote

