sql - List all tables of a given user in Oracle -


i new oracle , want find tables created user 'john' .

i connect oracle database via command line following command:

sqlplus john/passwd

how list tables created given user e.g. john?

this tables "john" user owner:

select * user_tables; 

or

select * all_tables owner = 'john'; 

([tl;dr] 'john' typically needs in upper-case. assuming user john created using create user john ... statement oracle's default behaviour convert object names (i.e. tables, columns, users, etc) upper case. when query data-dictionary table details stored in case (and not case used in original command unless wrap in double quotes).)


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -