Click here to Skip to main content
15,910,661 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi How would I create a system table ?
I have a Script that makes the sysdiagrams table
I want to make it in the system tables because this is a system table
I encountered the following error message:
"The specified schema name "sys" either does not exist or you do not have permission to use it"
Please hellp me!!!
Posted

1 solution

Sounds like you have a permissions issue, if you're logging in as sa, I assume that means you're not allowed to create system tables, only the system can.

Perhaps you need to explain why you're creating this table, is it one that does not exist beforehand ? If so, what makes it a system table ?
 
Share this answer
 
Comments
zsh64 5-Feb-12 7:47am    
Information about a database diagram from one database to another will transfer
The diagram depicts the table data is kept
When the destination database does not have any diagram depicts a system table in the database then there is no
Because I can manually create a system table
Christian Graus 5-Feb-12 7:51am    
If you can do it manually and not in a script, then the script runs under a user that lacks permission to do it.
zsh64 5-Feb-12 8:14am    
I make it with a script
The database diagram is transmitted
But schema 'dbo' i want create 'sys'

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900