D
devexpress
Unregistered / Unconfirmed
GUEST, unregistred user!
select * into #temp from
(
select type as 类型,gysname as 供应商名称,jhdh as 单号,ze as 总额,xmoney as 进项税额,zexmoney as 价税合计
from
(
select A.password,'采购进货' as type,C.gysname As gysname,A.jhdh,B.ze as ze,B.xmoney as xmoney,B.zexmoney as zexmoney, 2 as OrderType
From jhdb A,
order by password,OrderType
))
//Server: Msg 156, Level 15, State 1, Line 9
Incorrect syntax near the keyword 'order'.
这是什么错误
(
select type as 类型,gysname as 供应商名称,jhdh as 单号,ze as 总额,xmoney as 进项税额,zexmoney as 价税合计
from
(
select A.password,'采购进货' as type,C.gysname As gysname,A.jhdh,B.ze as ze,B.xmoney as xmoney,B.zexmoney as zexmoney, 2 as OrderType
From jhdb A,
order by password,OrderType
))
//Server: Msg 156, Level 15, State 1, Line 9
Incorrect syntax near the keyword 'order'.
这是什么错误