Quick question regarding this. I ran into this a few days ago here:
Where the manual says, in this case that system.db.runPrepQuery
will use the same function signature as you would use in a Vision Client scope, when in Perspective Session Scope. Yet there is no way that I am aware of to set a default DB for a perspective session, and since "all" scripts run in the Gateway I would expect that Gateway Scope is always required.
Is this a difference with Perspective Workstation (I've never personally used it) and that is what Perspective Session scope means, or is the manual just a tad misleading?