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
 General SQL Server Forums
 New to SQL Server Programming
 Grant permission on a new database

Author  Topic 

raphaelrivest
Starting Member

14 Posts

Posted - 2009-05-22 : 14:27:14
Hello,

I just created a new database with a user. I want other user to have access to do SELECT on the tables created in that database.

I tried :
"GRANT SELECT ON my_new_database TO PUBLIC"

But it says :
"Cannot find the object 'cdbn_adhoc', because it does not exist or you do not have permission."

How can I do so?

Thanks,

Raph.

snSQL
Master Smack Fu Yak Hacker

1837 Posts

Posted - 2009-05-22 : 19:11:55
Try
GRANT SELECT ON dbo TO other_user
Go to Top of Page
   

- Advertisement -