Is there a way to determine programmatically if a SQL Server stored procedure parameter has a default? (Bonus points if you can determine what the default is.) SqlCommandBuilder.DeriveParameters() doesn't even try.
Thanks in advance for your help!
EDIT: I honestly don't care if it's a SQL Query, an SMO object, etc.