I wanted to delete some unused schemas on our oracle DB.
How can I query for all schema names ?
Using sqlplus
sqlplus / as sysdba
run:
SELECT * FROM dba_users
Should you only want the usernames do the following:
SELECT username FROM dba_users
2.1m questions
2.1m answers
60 comments
57.0k users