In my stored procedure I want to check to see if a table exists, and if it does not then I want to create it based on another database table.
The stored procedure is in database x
If not exists (table) then
create table (that is the same as the table (same name) in database y)
Can I create a table that is like a copy of one that already exists in another database .
Both databases are within the same server
THANKS!!!!!!!!!!!!!!!!!!!!!!!!!!!11
The stored procedure is in database x
If not exists (table) then
create table (that is the same as the table (same name) in database y)
Can I create a table that is like a copy of one that already exists in another database .
Both databases are within the same server
THANKS!!!!!!!!!!!!!!!!!!!!!!!!!!!11