Mohan Cheema's Online Diary

Site Just to Keep Track of My Day to Day Work.

May 6, 2010
by Mohan Cheema
0 comments

How to Show the Schema in Oracle

I continuously forget the syntax for this (doesn’t help that it’s different in every database engine):

select table_name from user_tables;

Shows all user tables. You can also do:

select owner,table_name from all_tables;

which shows all tables.

To see what a particular table looks like, you can do:

Share
Share

April 28, 2010
by Mohan Cheema
0 comments

Often Useful often forgotten unix commands

Here I have tried to list the commands that are useful for us (sys admins) but we still tend to forget. Listed here are a bunch of unix commands.

Share
Share