会话1:
SQL> create table test1(id int,name varchar2(20));
Table created.SQL> insert into test1 values(1,'bing');
1 row created.
SQL> commit
Commit complete.
SQL> select userenv('sid') from dual;
USERENV('SID')
会话1:
SQL> create table test1(id int,name varchar2(20));
Table created.