yzx99

导航

 

下列两个SQL语句在查询分析器中执行
select * from t00sjzd
select * * from t00sjzd
显然第二行是错误的使用
在SQL分析器中想执行,自然是出现如下错误
Server: Msg 170, Level 15, State 1, Line 2
Line 2: Incorrect syntax near '*'.

但我在两个SQL语句中各加一个go,则第一句可以执行了,第二句才出现错误
select * from t00sjzd
go
select * * from t00sjzd
go

posted on 2005-09-20 21:45  yzx99  阅读(219)  评论(0编辑  收藏  举报