Restrictions on login trigger

[Bug #234977] There are certain commands that are not allowed in a login trigger.

The login trigger is the last step for a login and is executed in the background, therefore, no result set is displayed. If any errors occur and the login fails, it is reported only to the error log.

The login failure displays only after you attempt to execute a command.

Workaround: Check the restrictions defined on dynamic SQL commands to verify the command will work with the login trigger.