我现在查询语句的时候出现了错误,select isnull(sum(Amount),0) as one from egwJY_SchoolZhengOrdersBooks
where zdid=isnull('66','') and BookName=isnull('媒介COO——广播·电视·网络 运营实务','')
原数据是媒介COO——广播·电视·网络 运营实务,求怎么解决啊。。。。
...全文
1434打赏收藏
sql 在查询语句中出现的错误
我现在查询语句的时候出现了错误,select isnull(sum(Amount),0) as one from egwJY_SchoolZhengOrdersBooks where zdid=isnull('66','') and BookName=isnull('媒介COO——广播·电视·网络 运营实务','') 原数据是媒介COO——广播·电视·网络 运营实务,求怎么解决啊。。。。
[Quote=引用楼主 lixianghao 的回复:]
我现在查询语句的时候出现了错误,select isnull(sum(Amount),0) as one from egwJY_SchoolZhengOrdersBooks
where zdid=isnull('66','') and BookName=isnull('媒介COO——广播·电视·网络 运营实务','')
原数据是媒介COO——广播·电视·网……
[/Quote]
你是怎么做的?