Table creation in SQL Server 2005

10 pts.
Tags:
CREATE TABLE statement
SQL Server
SQL Server 2005
Hi, I need to prevent users to use CREATE TABLE but I need them to be able to execute a stored procedure that creates a table. Is it possible to allow users to create tables in SQL Server 2005 only through a stored procedure? Thanks in advance.

Answer Wiki

Thanks. We'll let you know when a new response is added.

Basically no. The CREATE TABLE privilege must be granted to the user in order a stored procedure they run to create a table dynamically. The exception is a temp table.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: