You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GRANT {
<privileges> ON [TABLE] {tablename | viewname}
| EXECUTE ON PROCEDURE procname
}
TO <grantee_list>
[WITH GRANT OPTION]} | [{GRANTED BY | AS} [USER] grantor];
This implies that WITH GRANT OPTION and GRANTED BY are mutually exclusive which is not the case. The correct syntax is:
GRANT {
<privileges> ON [TABLE] {tablename | viewname}
| EXECUTE ON PROCEDURE procname
}
TO <grantee_list>
[WITH GRANT OPTION]
[{GRANTED BY | AS} [USER] grantor]
Note that I also removed an invalid `}` after [WITH GRANT OPTION] and the trailing `;`.
The text was updated successfully, but these errors were encountered:
Submitted by: @mrotteveel
The syntax of GRANT (privileges) in the language reference is incorrect (http://www.firebirdsql.org/file/documentation/reference_manuals/fblangref25-en/html/fblangref25-security-privs.html#fblangref25-security-privs-grant). It shows:
GRANT {
<privileges> ON [TABLE] {tablename | viewname}
| EXECUTE ON PROCEDURE procname
}
TO <grantee_list>
[WITH GRANT OPTION]} | [{GRANTED BY | AS} [USER] grantor];
This implies that WITH GRANT OPTION and GRANTED BY are mutually exclusive which is not the case. The correct syntax is:
GRANT {
<privileges> ON [TABLE] {tablename | viewname}
| EXECUTE ON PROCEDURE procname
}
TO <grantee_list>
[WITH GRANT OPTION]
[{GRANTED BY | AS} [USER] grantor]
Note that I also removed an invalid `}` after [WITH GRANT OPTION] and the trailing `;`.
The text was updated successfully, but these errors were encountered: