SAS 9.1 SQL Query Window: Users Guide
To change to a different profile during an SQL Query Window session, select Tools – Switch to New Profile
In the dialog box that appears, select the library, catalog, and profile name for the desired profile. Select OK when you are finished making selections.