Recent Posts
Archives

Posts Tagged ‘Oracle’

PostHeaderIcon Get the list of tables in Oracle

Case: you need the list of all tables in an Oracle DB.

Solution: run this query:
[sql]select * from user_objects where object_type = ‘TABLE’;[/sql]
You can use a similar way to filter on table names, or get other types object such us triggers, procedures and indexes.

PostHeaderIcon Ternary operator in Oracle PL/SQL

Abstract: we need the max of two dates

Read the rest of this entry »