11.6. Privileges Required for Update Statements


The privileges required for statements that modify tables are straightforward:

  • INSERT, UPDATE, and DELETE require the INSERT, UPDATE, and DELETE privileges, respectively.

  • REPLACE inserts records, possibly after deleting old records, so it requires the INSERT and DELETE privileges.

  • TRUNCATE TABLE is like DELETE in that it deletes records, so it requires the DELETE privilege.



MySQL 5 Certification Study Guide
MySQL 5.0 Certification Study Guide
ISBN: 0672328127
EAN: 2147483647
Year: 2006
Pages: 312

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net