Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Assigning "Create Table" permission to DB user

Author  Topic 

Chainwhip
Starting Member

33 Posts

Posted - 2003-09-22 : 16:21:29
Greetings

I get this message when I am trying to run a sproc:
CREATE TABLE permission denied in database

I know why this happens and it's ok. I have created a user login for the database and have "ticked off" the sprocs that the user can run on the catalog. One of these sprocs involves creating a temp table and then dropping it.

What I would like to know is how I can configure this user to be able to create a table in the catalog. Even better, say, could I just enable this user to create a table of a specific name only.

Any ideas?

Ta

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2003-09-22 : 16:23:45
The user should be able to create the temporary table if the user has execute permissions on the stored procedure. Does the code specify the # sign before the table name in the stored procedure?

Tara
Go to Top of Page

Chainwhip
Starting Member

33 Posts

Posted - 2003-09-22 : 16:26:15
Ah! I did miss the # out - thanks!
Go to Top of Page
   

- Advertisement -