查看Sql Server是否有打SP4

Select Serverproperty('productlevel'

--如果没有打过SP,则为RTM,否则显示的是SP版本。
原文地址:https://www.cnblogs.com/tohen/p/1437402.html