SQL Server query to list all user tables in a database

select name from sysobjects where type = ‘U’