Subject: MSDE and count operator
Posted By: isheikh Post Date: 2/16/2004 1:23:33 AM
Hi,
I was using the following select statement on access database it was working fine. Now i am using MSDE, now i am geting following error

str= "select count(*) from messages  where sender_id='" & id & "'"
Set rsEvents1 = server.CreateObject("ADODB.Recordset")
rsEvents1.Open str, Conn


Microsoft OLE DB Provider for SQL Server (0x80040E14)
The text, ntext, and image data types cannot be compared or sorted, except when using IS NULL or LIKE operator.
/ambdex/login_check.asp, line 119




Go to topic 9836

Return to index page 948
Return to index page 947
Return to index page 946
Return to index page 945
Return to index page 944
Return to index page 943
Return to index page 942
Return to index page 941
Return to index page 940
Return to index page 939