I've noticed a couple of very useful new parameters for this function which I found purely by chance (by running a SQL Profiler trace against SSMS) but the BOL docs for this function have no reference to them:SELECT SERVERPROPERTY('INSTANCEDEFAULTDATAPATH');andSERVERPROPERTY('INSTANCEDEFAULTLOGPATH');These return the default data and log folders respectively, but the documentation on the SERVERPROPERTY function makes no mention of these parameters.
Product Language
Version
Category
Operating System
Operating System Language
Steps to Reproduce
Actual Results
Expected Results
Platform
Virtualization