
February 14th, 2007, 03:03 AM
|
|
Registered User
|
|
Join Date: Feb 2007
Posts: 1
Time spent in forums: 1 h 22 m 39 sec
Reputation Power: 0
|
|
Create Table issue
I am running a stored procedure where I create a new table to store sql commands generated by the procedure.
The problem is that the table gets created in owner DBO and type System where all other tables are in owner DBO and type User.
I now cannot delete these tables and if I generate a database script they are ignored.
Please can someone tell me how this happens and how do I either avoid it or how can I script 'System' objects.
OK I have found the solution ...
exec sp_MS_upd_sysobj_category 2
this sorts my problem out!!!
Thanks
Last edited by riccardog : February 21st, 2007 at 03:38 AM.
Reason: Found Solution
|