Basic PHP Programming Question:

Give the syntax of REVOKE commands?

Tweet Share WhatsApp

Answer:

The generic syntax for revoke is as following

REVOKE [rights] on [database] FROM [username@hostname]

Now rights can be:
a) ALL privilages
b) Combination of CREATE, DROP, SELECT, INSERT, UPDATE and DELETE etc.

We can grant rights on all databse by usingh *.* or some specific database by database.* or a specific table by database.table_name.

Download PHP PDF Read All 139 PHP Questions
Previous QuestionNext Question
Give the syntax of GRANT commands?What is the difference between CHAR and VARCHAR data types?