Hello everyone,
I try to get default values for stored procedure parameters. With tables it is easy. I just look for cdefault from syscolumns and then for text in syscomments by cdefault and colid. With stored procedures cdefault is always 0 in syscolumns even if the default value exists.
Do you konw any way to retrive default value for proc or function parameter without parsing entire body of the object?
Marek Adamczuk