这个sql如何写呢?text类型的,不让用比较
selecttop8c.LineIDasLineID,ETravelLineName,PricefromTravelRegiona,regioncityb,travell...
select top 8 c.LineID as LineID,ETravelLineName,Price from TravelRegion a,regioncity b,travelline c
where a.regionid=b.regionid and b.departure=c.departure and ETravelRegionName='American West'
错误:The text, ntext, and image data types cannot be compared or sorted, except when using IS NULL or LIKE operator.
如何解决呢? 展开
where a.regionid=b.regionid and b.departure=c.departure and ETravelRegionName='American West'
错误:The text, ntext, and image data types cannot be compared or sorted, except when using IS NULL or LIKE operator.
如何解决呢? 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询