I want to give different permission for different tables within a single database for a user.For example a user has full permission to a table while for another table only read permission.How it can be done within a database?

  • 2
    Which RDBMS are you using?
    – Philᵀᴹ
    Mar 21, 2013 at 14:58

1 Answer 1


In Oracle (and, realistically, most any reasonable database), everything is denied other than what is granted. So simply grant the user the privileges you want him to have

GRANT select, update, delete
   ON table_owner.table_name
   TO username;

GRANT select
   ON table_owner.another_table_name
   TO username;
  • 1
    Same with SQL Server. Mar 21, 2013 at 15:25
  • Except that with SQL Server 2005+ it is ON schema.table_name. :-) Mar 25, 2013 at 5:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.