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 2005 Forums
 Transact-SQL (2005)
 permissions through command line

Author  Topic 

lazydev
Starting Member

16 Posts

Posted - 2009-06-02 : 02:05:58

I am trying to grant permisiions to a user
grant select on dbo.tab1 to DL\Usr1
shows me Incorrect syntax near when i do it from GUI it works fine for me .
Cannot this be executed in CommandLine

lightsql
Starting Member

17 Posts

Posted - 2009-06-02 : 02:18:14
have you tried surrounding the account name with either "domain\username" or [domain\username]?
Go to Top of Page
   

- Advertisement -