SQL$HELP72.HLB  —  Errors  SQL_ERRORS, FCNNOTEXT
  SHOW PROTECTION and SHOW PRIVILEGES are invalid on SQL functions

  Explanation:  The specified routine is an SQL function.  Because
  the GRANT and REVOKE statements are only allowed on the module
  level, you cannot specify the SHOW PROTECTION or SHOW PRIVILEGES
  statements on a SQL function.

  User Action:  Specify the SHOW PROTECTION or SHOW PRIVILEGES
  statements on the stored module.
Close Help