SHOW DOMAINs
SHOW DOMAINs [name]
This command displays domain information.A domain is a user-defined data type, global to the database.It is used to define the format and range of columns, upon which the actual column definitions in tables are based.
Firebird tables are defined by the specification of columns, which store appropriate information in each column using data types.
A data type is an elemental unit when defining data, which specifies the type of data stored in tables, and which operations may be performed on this data.It can also include permissible calculative operations and maximum data size.Examples of data types include: numerical (numeric, decimal, integer), textual (char, varchar, nchar, nvarchar), date (date, time, timestamp) and blobs (binary large objects).
As with many show
commands, there are two forms.The first displays a list of all known user-defined domains in the database while the second allows you to display the details of a specific domain.
SQL> show domain; ADDRESSLINE BUDGET ... SQL> show domain addressline; ADDRESSLINE VARCHAR(30) Nullable