From within SQL Server, you can query sys.dm_os_sys_info cpu_count will give the number of logical processors(cores). However, when hyperthreading is enabled, you wont get correct numbers. Better to check with windows admin.
From within SQL Server, you can query sys.dm_os_sys_info cpu_count will give the number of logical processors(cores). However, when hyperthreading is enabled, you wont get correct numbers. Better to check with windows admin.
sys.dm_os_sys_info is available only from SQL 2005 onwards
OPs question was a way to implement it in sql 2000
------------------------------------------------------------------------------------------------------ SQL Server MVP http://visakhm.blogspot.com/