小
小花生
Unregistered / Unconfirmed
GUEST, unregistred user!
我从ADOQUERY在SQL SERVER2000中取Northwind库Customers表时,用了一句:select CustomerID,CompanyName,ContactName,ContactTitle,
Address,City,Region,PostalCode,Country,Phone,Fax from
Customers where (convert(varchar,CustomerID) > :CMCustomerID)
and (convert(varchar,CustomerID) like :CustomerID).参数选择ftString类型,
可是在客户数据集中一打开就报错:The text,ntext,and image data types cannot be compared or sorted,except
when using IS NULL or LIKE operator.CustomerID字段是nvarchar类型的,那位高手能指点一下吗?
Address,City,Region,PostalCode,Country,Phone,Fax from
Customers where (convert(varchar,CustomerID) > :CMCustomerID)
and (convert(varchar,CustomerID) like :CustomerID).参数选择ftString类型,
可是在客户数据集中一打开就报错:The text,ntext,and image data types cannot be compared or sorted,except
when using IS NULL or LIKE operator.CustomerID字段是nvarchar类型的,那位高手能指点一下吗?