InterSystems IRIS TSQL Code 505 Current user account was invoked with SE

In this post, you’ll learn about the SQL error code 505 in InterSystems IRIS database the reason why you are receiving the TSQL message when using the InterSystems IRIS data platform

Error Code :

505

Reason for the Error code 505 in InterSystems IRIS DBMS

Current user account was invoked with SETUSER. Changing databases is not allowed.