Different ways to retrieve System and SQL Server Information
June 25, 2013
In this article we will take a look at different ways in which a DBA to retrieve System and SQL Server Information. The method mentioned is applicable for SQL Server 2005 and higher versions.
Below mentioned are some of the key information which a DBA would be keen to know about the instance they manage:-
- SQL Server Edition
- Platform 32 bit or 64 bit of SQL Server Installation
- SQL Server Version
- Language of installed product
- Total RAM
- Number of CPUs
- Operating System Version
- Root directory where the instance is installed
- Is it a clustered or non clustered server
- Server Collation
- Have you enabled Always on Availability Feature (Only if the instance is SQL Server 2012)
To retrieve the above information, open SQL Server Management Studio -> connect to the SQL Server Instance -> right click Instance -> select Properties to open up Server Properties. In the General Page you would see the relevant information.
Retrieve System and SQL Server Information using TSQL script
You can also retrieve similar information by executing the below mentioned TSQL script.
Retrieve System and SQL Server Information using SQLCMD
Connect to SQL Server Instance using SQLCMD and paste the below mentioned command to retrieve the relevant SQL Server and System information.
D:\Program Files\Microsoft SQL Server\110\Tools\Binn>sqlcmd -E -S "MYTECHMANTRA\SQL2012" -Q "exec xp_msver 'ProductName', 'ProductVersion', 'Language', 'Platform', 'WindowsVersion', 'PhysicalMemory', 'ProcessorCount'"
In this article you have seen how easily a DBA can retrieve System and SQL Server Information from server which they manage day to day.
Continue Free Learning...
Geeks who read this article also read…
- How to Backup an Analysis Services Database Using SQL Server Management Studio
- How to Restore an Analysis Services Database Using SQL Server Management Studio
- Automate Backup of Analysis Services Database Using SQL Server Agent Job
- How to Attach Analysis Services Database in SQL Server
- How to Detach Analysis Services Database in SQL Server
- Performance Dashboard Reports in SQL Server 2012
- How to Backup Database in SQL Server
- How to Restore Database in SQL Server
- How to Attach Database Without a Transaction Log File in SQL Server
- New Features in SQL Server 2012 Reporting Services for Developers
- New Features in SQL Server 2012 for Database Administrators
- New Features in SQL Server 2012 for Database Developers
- Read More SQL Server Articles…