Sure, here is a subset of the table structure:CREATE TABLE AccountMstr( AccountID int identity(1,1), AccountName varchar(100) not null, AccountType varchar(50) not null, AccountSegment varchar(25) not null, AccountIndustry varchar(50) not null, AccountCountry varchar(100) not null, AccountStartDate datetime not null, AccountEndDate datetime null
Expected output is something like: Column_Value Column_Source Count Full Service Account_Type 1200 Self Service Account_Type 8776 System Level Account_Type 879 Financial Account_Industry 1743 Retail Account_Industry 6110 Platinum Account_Segment 523 Silver Account_Segment 4991
I don't see how the solution you provided would work. Are you suggesting I join to some of the system views (like information_schema.tables/columns) to get to the Column Name or ???thanks - will