帮我解决语法问题 [英] Help me with syntax
本文介绍了帮我解决语法问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
也许我是瞎子我看不到这里丢失的东西???!
Msg 102,Level 15,State 1,Line 6
'c'附近的语法不正确。
(选择A.itemid,fsg1,fsg2
来自(从inventtablemodule中选择itemid)A
交叉申请
(选择amitemminorgroupid为fsg1,amitemmajorgroupid为fsg2 from inventtable
,其中a.itemid = itemid)c
解决方案
=>> (选择A.itemid,fsg1,fsg2
删除第一个左括号
Maybe I'm blind I can't see whats missing here???!
Msg 102, Level 15, State 1, Line 6
Incorrect syntax near 'c'.
(select A.itemid,fsg1,fsg2
from (select itemid from inventtablemodule) A
cross apply
(select amitemminorgroupid as fsg1, amitemmajorgroupid as fsg2 from inventtable
where a.itemid=itemid)c
解决方案
=>>(select A.itemid,fsg1,fsg2
Remove the first opening parenthesis
这篇关于帮我解决语法问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文