select name from sysobjects where xtype = 'U'
For the sake of portability it might also be useful to note that ANSI SQL-92 provides a standard for querying table schema information:
select TABLE_NAME from INFORMATION_SCHEMA.TABLES
See also this discussion started by gmax, particularly this node which has more relevant info.
In reply to Re: Names os Tables from a DB.
by EdwardG
in thread Names os Tables from a DB.
by NodeReaper
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |