A. The SQL Server specific way (all versions) is :-

select name from sysobjects where type = 'U'

The ANSI standard way (SQL 7 only) is :-

select TABLE_NAME from INFORMATION_SCHEMA.TABLES