SELECT name
FROM sysobjects
WHERE (xtype = 'U')
ORDER BY name
You can modify the xtype value in the WHERE clause to return other information, such as 'V' for views, and 'S' for system tables.
SELECT name
FROM sysobjects
WHERE (xtype = 'U')
ORDER BY name