If you have select access on DBC.SessionTbl ..try this.
select * from DBC.SessionTbl where currentdatabase='DB_Name' AND USERNAME='User_Name' ORDER BY SESSIONNO;
↧