Even Dynamic in-line SQL in PowerScript is tied to a Transaction Object and thus a specific DB. Unlike a DBScript where I can control the "USE DBName + GO" before I execute the DML statement, PB does not support that. However that being said, I have never tried issuing a Format1 SQL statement (EXECUTE IMMEDIATE) in PB to try and utilize the "USE" DML command to see what happens. My guess though is that that will not work .. but - I could be pleasantly surprised.
↧
Re: Change Database without changing Transaction Object
↧