Ayuda con este error
Publicado por Raul (1 intervención) el 26/02/2007 23:05:01
Hola amigos tengo la siguiente consulta que en el SQL 2000 me corre sin problemas ==>
////****/////
select n.Title, n.Body,(select count(a.CommentsID))
from News_News n, Comments a
where a.NewsID=n.NewsID
Group By n.Title, n.Body
////****/////
Pero el problema es cuando lo corro en SQL 2005 me sale este error
////****/////
The text, ntext, and image data types cannot be compared
or sorted, except when using IS NULL or LIKE operator.
////****/////
Porfavor agradecere mucho su ayuda...
////****/////
select n.Title, n.Body,(select count(a.CommentsID))
from News_News n, Comments a
where a.NewsID=n.NewsID
Group By n.Title, n.Body
////****/////
Pero el problema es cuando lo corro en SQL 2005 me sale este error
////****/////
The text, ntext, and image data types cannot be compared
or sorted, except when using IS NULL or LIKE operator.
////****/////
Porfavor agradecere mucho su ayuda...
Valora esta pregunta


0