Allow ROLE to SELECT from a single table

  • Simple question: what is the T-SQL to allow a ROLE to have SELECT on a specific table?

    DBName = MyDB

    TableName = MyTable

    ROLE = MyRole

    (I can do this thru SSMS 2008 GUI.. also need T-SQL)

    BT
  • you can also generate the script from GUI...

    GRANT SELECT ON [dbo].[MyTable] TO [MyRole]

    Abhijit - http://abhijitmore.wordpress.com

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply