Ask a Question related to Coldfusion Database Access, Design and Development.
-
syseng #1
Retrieve ntext field using ODBC Socket
Help....!
I just upgraded cfmx6.1 to cfmx7, and all queries retrieve ntext field from MS
SQL Server fail. It displays nothing or empty string for ntext field. I am
using "ODBC Socket" connection to MS SQL SERVER.
Please tell me what is the cause and how to fix this problem. Thanks a bunch!
Connie
syseng Guest
-
ODBC Socket doesn't show my list of ODBC DSN's!?!
In the ColdFusion MX 7 Administrator, when I try to create a new datasource of type ?ODBC Socket?, the drop down labled ?ODBC DSN? that is supposed... -
Lenght of NText field
I have been using MSAccess databases when working with CF for the past 8 years. The following query or something very much like it has been hugly... -
ntext field not showing up (ASP)
I changed the datatype of a field in a SQL Server 2000 database from nvarchar to ntext, but now nothing is being displayed. The "Body" column of... -
how to update and retrieve ntext fields in my asp code
how to update and retrieve ntext fields in my asp code PLEASE HELP -
Updating part of the text in an NTEXT field
SQL Server Version - 7 Table - Pages Field - Content Hi, I need to update an ip address in an ntext field. I have looked at UPDATEXT, the... -
sdupre #2
Re: Retrieve ntext field using ODBC Socket
This is a known bug 57696 (low priority).
Most users find the JDBC driver much better (the workaround) and it will work
in this instance.
Is there any particular reason you can't use JDBC? (MS SQL Server)
Stephen Dupre
Macromedia QA
sdupre Guest
-
syseng #3
Re: Retrieve ntext field using ODBC Socket
I think Macromedia should investigate their bug more and fix it. They can't
tell all people to use JDBC when they have this problem because each company
has different infrastructure or environment that sometimes JDBC is not a good
way.
By the way, I found out that if you query the ntext field alone, it will
return all data - more than 8000 characters (as using ODBC Socket). Sometimes
I can add additional fields, but when it hits to certain fields in the query,
ntext field won't return data - seems like running out of memory to hold data.
So the workaround solution for me is running query for ntext field alone, or
convert ntext field to text or varchar in sql statement - this is working for
me now.
Thanks for reply to my message Stephen!
syseng Guest
-
ii_bar #4
Re: Retrieve ntext field using ODBC Socket
Interestingly enough... you can not use the JDBC Driver with SQL Server 2000
Personal edition... you get a "connection refused" socket error. Therefore,
you can not access ntext fields under that environment. Either you have to
convert to SQL Server 2000 Developer Edition or equivelent in order to use the
JDBC Driver, then you may access the ntext field data normally.
ii_bar Guest
-
PaulH *TMM* #5
Re: Retrieve ntext field using ODBC Socket
ii_bar wrote:
i don't believe that's true. if i recall correctly, it installs> Interestingly enough... you can not use the JDBC Driver with SQL Server 2000
> Personal edition... you get a "connection refused" socket error. Therefore,
> you can not access ntext fields under that environment. Either you have to
> convert to SQL Server 2000 Developer Edition or equivelent in order to use the
> JDBC Driver, then you may access the ntext field data normally.
w/trusted authentication only. you need to reset it to both (windows &
sql authentication) and use a sql server user in it's dsn to connect to
the database.
PaulH *TMM* Guest
-
tennistravel #6
Re: Retrieve ntext field using ODBC Socket
I have encountered the same ntext difficulty now that I've converted from MX to
MX 7. Specifying ODBC Socket as the driver for SQL Server 2000 allows a
connection (evidently the only choice for those of us on Windows XP sp2);
however, all ntext fields are returned as empty strings. Is there any option
other than to revert to Coldfusion MX?
tennistravel Guest
-
cychow69 #7
Re: Retrieve ntext field using ODBC Socket
By the way, I found out that if you query the ntext field alone, it will return
all data - more than 8000 characters (as using ODBC Socket). Sometimes I can
add additional fields, but when it hits to certain fields in the query, ntext
field won't return data - seems like running out of memory to hold data. So the
workaround solution for me is running query for ntext field alone, or convert
ntext field to text or varchar in sql statement - this is working for me now.
Alternatively, you can also just lext the n field types at the END of your
query in the SELECT clause.
Regards,
Chung
cychow69 Guest
-
tennistravel #8
Re: Retrieve ntext field using ODBC Socket
Chung,
Putting the ntext field at the end of the query worked perfectly. Thanks, you saved me a lot of grief.
Roger
tennistravel Guest



Reply With Quote

