oracle查看session的id可以通过 V$mysta视图 SCOTT@orcl>select sid from V$mystat where rownum=1; SID ---------- 199