select SERVERPROPERTY('productversion') 非常好用! 转载于:https://www.cnblogs.com/skywind/archive/2009/11/16/1603947.html