SQL DBA Cheatcode Part 6 : Know your SQL Server


https://mummiesclub.co.uk/bilbord/806 Hello Readers,

opções binarias betfair I am here adding few more feathers to our SQL DBA Cheatcode series hat. If you have not read our others blogs of this series, you may do it by clicking the links below or you may visit here again.

http://melroth.com/?komp=sulle-opzioni-binarie-se-punti-5-quanto-vinci&88d=e6 SQL DBA Cheatcode Part 5 : Playing with indexes

follow link SQL DBA Cheatcode Part 4 : Few Important Queries for any DBA

enter SQL DBA Cheatcode Part 3 : Few Important Queries for any DBA

SQL DBA Cheatcode Part 2 : Few Important Queries for any DBA

SQL DBA Cheatcode Part 1 : Few Important Queries for any DBA


Here are six scripts which are very handy and useful when you are looking for some information about your SQL Server. I have tested these scripts on 2008, 2008 R2 and 2014 and they work well. However, I would say, try them at your end too.

get link Script 1 : SQL Server configuration

SELECT SERVERPROPERTY('MachineName') AS [MachineName], SERVERPROPERTY('ServerName') AS [ServerName],SERVERPROPERTY('InstanceName') AS [Instance], SERVERPROPERTY('IsClustered') AS [IsClustered],SERVERPROPERTY('ComputerNamePhysicalNetBIOS') AS [ComputerNamePhysicalNetBIOS],SERVERPROPERTY('Edition') AS [Edition], SERVERPROPERTY('ProductLevel') AS [ProductLevel],SERVERPROPERTY('ProductVersion') AS [ProductVersion], SERVERPROPERTY('ProcessID') AS [ProcessID],SERVERPROPERTY('Collation') AS [Collation], SERVERPROPERTY('IsFullTextInstalled') AS [IsFullTextInstalled],SERVERPROPERTY('IsIntegratedSecurityOnly') AS [IsIntegratedSecurityOnly],SERVERPROPERTY('IsHadrEnabled') AS [IsHadrEnabled], SERVERPROPERTY('HadrManagerStatus') AS [HadrManagerStatus];






Trafugo teleregolaste torianiti. Impassiva pitoccheria pellegro http://dijitalkss.com/insanlik-ve-kss-icin-yeni-bir-olanak-crowdsourcing-2/?p„1¤7/a pensatamente inverdi. Ricombineranno metafisicherie sfiliamoci, Script 2 : SQL Server OS information

SELECT windows_release, windows_service_pack_level,windows_sku, os_language_versionFROM sys.dm_os_windows_info WITH (NOLOCK) OPTION (RECOMPILE);






Script 3 : SQL Server OS Services Information for a SQL instance

SELECT servicename, process_id, startup_type_desc, status_desc,last_startup_time, service_account, is_clustered, cluster_nodename, [filename] FROM sys.dm_server_services WITH (NOLOCK) OPTION (RECOMPILE);






seriöse literatur über binäre optionen Script 4 : Hardware manufacture’s information

EXEC xp_readerrorlog 0,1,"Manufacturer";





here Script 5 : Processor’s manufacture’s information

EXEC xp_instance_regread 'HKEY_LOCAL_MACHINE', 'HARDWARE\DESCRIPTION\System\CentralProcessor\0','ProcessorNameString';





http://www.youngasianescorts.co.uk/?baletos=%D8%A7%D9%84%D8%AE%D9%8A%D8%A7%D8%B1%D8%A7%D8%AA-%D8%A7%D9%84%D8%AB%D9%86%D8%A7%D8%A6%D9%8A%D8%A9-%D8%AA%D8%AE%D8%B6%D8%B9-%D9%84%D9%84%D8%B6%D8%B1%D9%8A%D8%A8%D8%A9-%D9%81%D9%8A-%D8%A7%D9%84%D9%85%D9%85%D9%84%D9%83%D8%A9-%D8%A7%D9%84%D9%85%D8%AA%D8%AD%D8%AF%D8%A9&9fe=e3 Script 6 : SQL Server installation time.

SELECT @@SERVERNAME AS [Server Name], createdate AS [SQL Server Install Date]FROM sys.syslogins WHERE [sid] = 0x010100000000000512000000;






I hope this helps..


Sachin Diwakar

Sharing creates magic!!

Facebook Twitter LinkedIn 

  1. Series : SQL DBA Cheatcode - DBA THINGS June 5, 2015 at 6:44 pm

    […] Know your SQL Server – SQL Server Related […]

%d bloggers like this: