An interview question: how do you find a table row count without using T-SQL or opening the table? SSMS table properties show it on the Storage page.
SQL SERVER – SP_CONFIGURE – Displays or Changes Global Configuration Settings
SQL Server has many features you can turn on or off. Use sp_configure to display or change global configuration settings, including the advanced options.
SQL SERVER – Change Default Fill Factor For Index
The Default Fill Factor in SQL Server is 0. Change it with sp_configure to leave free space on index pages and reduce page splits. I like mine at 90.
SQL SERVER – 2005 Enable CLR using T-SQL script
In SQL Server 2005 the CLR is off by default. Here is the sp_configure script to enable CLR, turning on show advanced options and then clr enabled.
SQL SERVER – Enable xp_cmdshell using sp_configure
Enable xp_cmdshell with sp_configure: turn on show advanced options, set xp_cmdshell to 1 and run RECONFIGURE. The full script is ready to run in SSMS.




