select t.table_name, t.constraint_type, t.constraint_name, c.column_name from information_schema.TABLE_CONSTRAINTS t join information_schema.CONSTRAINT_COLUMN_USAGE c ON t.constraint_name = c.constraint_name where constraint_type IN ('UNIQUE', 'PRIMARY KEY') and t.table_name = <Table Name>
> Hello All, > [quoted text clipped - 5 lines] > > Akintoye