views:

256

answers:

1

I would like to know if there is a query to export the user rights select insert grant and so on, to a SQL file.

I managed to get the list of the Grants:

Select * from INFORMATION_SCHEMA.TABLE_PRIVILEGES