For each BioRS server definition that you register, you must register a nickname for each databank that you want to access. Use these nicknames, instead of the names of the databanks, when you query the BioRS servers.
Restrictions
Do not use the BioRS AllText element as the first column for a nickname. You can use the BioRS AllText element in any other column position (for example, as the second column or as the third column).
After a data source has been integrated into the BioRS system, it is referred to as a databank in BioRS. Databanks in BioRS equate to nicknames in a federated system.
The names that you give the nicknames can be up to 128 characters in length.
CREATE NICKNAME nickname
(
column_name data_type
OPTIONS (nickname_column_options),
column_name data_type
OPTIONS (nickname_column_options),
column_name data_type
OPTIONS (nickname_column_options)
)
FOR SERVER server_definition_name
OPTIONS (nickname_options);
When you create a BioRS nickname, you define a list of nickname columns. The specified nickname columns must correspond to elements of a specific BioRS databank format. BioRS defines five possible data types for elements: Text, Number, Date, Author, and Reference. The BioRS data types can be mapped only to the CHAR, CLOB, or VARCHAR data types that are used by the federated database.