问题
Is it possible to add permissions on multiple objects using SQL in Access like below?
GRANT SELECT, DELETE, INSERT, UPDATE, DROP, SELECTSECURITY, UPDATESECURITY, UPDATEIDENTITY, CREATE
ON PERSON, INVOICE, CUSTOMER, EMPLOYEE
TO Developers
回答1:
The DDL GRANT and REVOKE statements seem to be available in specific versions of MS Access.
Access 2007, as documented here: http://msdn.microsoft.com/en-us/library/office/bb177904(v=office.12).aspx
Access 2013, as documented here: http://msdn.microsoft.com/en-us/library/office/ff193820(v=office.15).aspx
The feature was not always there though. The MS-Jet 4.0 Engine (used by Access 2000) had them... but I can't find documentation on which version of Access/MS-Jet it first appeared in.
来源:https://stackoverflow.com/questions/24226606/ms-access-user-permissions-using-sql