Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
Jake Shelton
Yak Posting Veteran
74 Posts |
Posted - 2011-11-12 : 12:31:12
|
Anyone know a statement to yield how many of both there are on a an SS2K server?Thanks,Jim |
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
|
vikki.seth
Yak Posting Veteran
66 Posts |
Posted - 2011-11-12 : 16:07:36
|
From within SQL Server, you can query sys.dm_os_sys_infocpu_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. |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2011-11-13 : 11:55:01
|
quote: Originally posted by vikki.seth From within SQL Server, you can query sys.dm_os_sys_infocpu_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 onwardsOPs question was a way to implement it in sql 2000 ------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
|
|
Jake Shelton
Yak Posting Veteran
74 Posts |
Posted - 2011-11-13 : 15:25:58
|
Many thanks, Visakh!! |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2011-11-13 : 23:44:42
|
wc------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
|
|
|
|
|