Lafor
Nov 7th, 2000, 12:46 PM
If one writes a stored procedure
1.) with a drop table statement
SQL SERVER will not let u create the stored proc
warning u that the particular table does not exist
if it is not there
So, you would need create some form of it
2) with a select into table statement
It will tell u that the table already exists (if it exists already)
Now, how does one create a stored proc with these
two above statements
drop table mytable
select * into mytable from oo
Thanks in advance!!
1.) with a drop table statement
SQL SERVER will not let u create the stored proc
warning u that the particular table does not exist
if it is not there
So, you would need create some form of it
2) with a select into table statement
It will tell u that the table already exists (if it exists already)
Now, how does one create a stored proc with these
two above statements
drop table mytable
select * into mytable from oo
Thanks in advance!!