2014-09-17 13:23:48 +02:00

18 lines
299 B
SQL

col username for a25
col default_Tablespace for a25
col temp_tablespace for a20
prompt Show database usernames from dba_users matching %&1%
select
username,
default_tablespace,
temporary_tablespace,
user_id,
created,
profile
from
dba_users
where
upper(username) like upper('%&1%');