Neyaz
2014-04-15 00:17:28 UTC
Create procedure pro
as
begin
if exists(drop table emp)
create table emp
(
eID int,
)
end
---Error is --
Msg 156, Level 15, State 1, Procedure pro, Line 4
Incorrect syntax near the keyword 'drop'.
Msg 102, Level 15, State 1, Procedure pro, Line 4
Incorrect syntax near ')'.