2026-03-12 20:23:15
This commit is contained in:
21
tpt/us.sql
Normal file
21
tpt/us.sql
Normal file
@@ -0,0 +1,21 @@
|
||||
-- Copyright 2018 Tanel Poder. All rights reserved. More info at http://tanelpoder.com
|
||||
-- Licensed under the Apache License, Version 2.0. See LICENSE.txt for terms & conditions.
|
||||
|
||||
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,
|
||||
account_status,
|
||||
profile
|
||||
from
|
||||
dba_users
|
||||
where
|
||||
upper(username) like upper('%&1%');
|
||||
Reference in New Issue
Block a user