How to select column names from table by column domain name in Firebird?

I need to select column names for a specific domain in Firebird.

eg. there is a domain COORDINATE

and I want to select all the column names in that domain.

Can this be done?

I am using Firebird 2.5

+3


source to share


1 answer


This is saved in rdb$relation_fields

:



select rdb$relation_name, 
       rdb$field_name,
from rdb$relation_fields
where rdb$field_source = 'COORDINATE';

      

+6


source







All Articles