I'm not seeing values in the [definition] column in sys.default_constraints using data_reader permissions (I think that's the issue, I see them fine using SA)Any ideas pls?Sample:SELECT TOP 100 O.name, C.name, DEF.definitionFROM sys.objects AS O JOIN sys.columns AS C ON C.object_ID = O.object_ID JOIN sys.default_constraints AS DEF ON DEF.parent_column_ID = C.column_ID AND DEF.object_id = C.default_object_id AND DEF.[definition] IS NOT NULLWHERE O.Type = 'U'
am I possibly joining columns wrongly (i.e. in a way that works for SA but changes for other users?)