我写了一条查询语句:SELECT belongToUser, chineseName, codeGrade, computationType
FROM Goods
WHERE (belongToUser = @belongToUser) OR (belongToUser IS NULL)
ORDER BY codeGrade现在我想把:belongToUser IS NULL 改为指定的GUIDbelongToUser = "00000000-0000-0000-0000-000000000000"
但这种写法是错的....经测试...有谁能告诉我怎么写吗.?
FROM Goods
WHERE (belongToUser = @belongToUser) OR (belongToUser IS NULL)
ORDER BY codeGrade现在我想把:belongToUser IS NULL 改为指定的GUIDbelongToUser = "00000000-0000-0000-0000-000000000000"
但这种写法是错的....经测试...有谁能告诉我怎么写吗.?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货