Select * from tab;
this will work in ORACLE
For SQL Server use:
SELECT * FROM sysobjects where xtype ='U'
SELECT * FROM TAB:
For 2005 it also can be:
Select * from sys.tables
To display all table in sql thorugh T-Sql type below given command.
sp_help
Regards