SantaMufasa
Technical User
Can someone spot what I'm doing wrong?
If there is (obviously) a table named "temp", then what must I do to query it, or, preferrably, "DROP table temp"?
Mufasa
(aka Dave of Sandy, Utah, USA)
[I can provide you with low-cost, remote Database Administration services: see our website and contact me via www.dasages.com]
Code:
1> select name from sysobjects where type = 'U' and name = 'temp'
2> go
name
------------------------------
temp
(1 row affected)
1> select * from temp
2> go
Msg 156, Level 15, State 1:
Line 1:
Incorrect syntax near the keyword 'temp'.
1> drop table temp
2> go
Msg 156, Level 15, State 1:
Line 1:
Incorrect syntax near the keyword 'temp'.
1>
Mufasa
(aka Dave of Sandy, Utah, USA)
[I can provide you with low-cost, remote Database Administration services: see our website and contact me via www.dasages.com]