Code Library
Home Submit Free Hosting Link To Us Contacts

SQL Create table waitstats

SQL Create table waitstats SQL SQL Create table waitstats Download (.zip)



CREATE TABLE waitstats 
(
wait_type      varchar(20),
requests       numeric(10, 0),
wait_time      numeric(12, 2),
signal_wait    numeric(12, 0),
recorded_time  datetime DEFAULT GETDATE() 
)
GO

INSERT INTO waitstats (wait_type, requests, wait_time, signal_wait)
    EXEC ('DBCC SQLPERF(WAITSTATS)')






Tatet