Determine whether SP Parameter has a Default Value in T-SQL
问题 Is there any way to determine from within SQL Server (I'm on 2012 FYI) if a SP's parameters have default values? There are other threads on this, however the suggestions don't seem to get me this information accurately. Here are a couple of things I've tried; select * from sys.objects so join sys.parameters sp on so.object_id = sp.object_id where so.type='P' and so.name = 'someSp' The above query returns a number of columns that sound like I'm barking up the right tree (has_default_value,