Logging and Blogging SQL Server Experiences.
SELECT NAME ,type FROM dbo.sysobjects WHERE (type = 'P') ORDER BY NAME