[問題] sqlcommand看不懂go
我要作的查詢
create view tmp as select sum(ecount) as c ... group by xxx
go
select max(c),min(c),sum(c),avg(c) from tmp
go
drop view tmp
在sqlanalyzer可以跑
但sqlcommand的CommandText似乎不能用go
改成; 或換行符號都不能用
請問該怎麼辦呢
謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.116.245.197
→
04/27 19:42, , 1F
04/27 19:42, 1F
→
04/27 19:42, , 2F
04/27 19:42, 2F
→
04/27 21:25, , 3F
04/27 21:25, 3F
→
04/27 21:26, , 4F
04/27 21:26, 4F
→
04/27 21:30, , 5F
04/27 21:30, 5F
→
04/27 21:31, , 6F
04/27 21:31, 6F
→
04/27 21:36, , 7F
04/27 21:36, 7F
推
04/29 12:53, , 8F
04/29 12:53, 8F