SET NOEXEC ON
-- SET NOEXEC OFF
-- SET NOCOUNT ON
-- SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED
-- (the 'recommended' way to look at sysobjects)
-- SELECT TOP 33 * FROM INFORMATION_SCHEMA.Tables
-- SELECT TOP 33 * FROM INFORMATION_SCHEMA.Columns
-- SELECT TOP 33 * FROM INFORMATION_SCHEMA.Views
-- SELECT TOP 33 * FROM INFORMATION_SCHEMA.Routines
-- drop temp table
-- IF OBJECT_ID('tempdb..#dbSPIDS') IS NOT NULL DROP TABLE #dbSPIDS
No comments:
Post a Comment