2.10 - Examples: Using CREATE FOREIGN SERVER - Teradata QueryGrid

Teradata® QueryGrid™ Installation and User Guide

prodname
Teradata QueryGrid
vrm_release
2.10
created_date
September 2019
category
Administration
Configuration
Installation
User Guide
featnum
B035-5991-099K

The example creates a foreign server using the LINK name value pair. The link and its properties are defined in the QueryGrid portlet.

CREATE FOREIGN SERVER Presto_1
USING
LINK(‘td1_presto1’)
DO IMPORT WITH TD_SYSFNLIB.QGInitiatorImport,
DO EXPORT WITH TD_SYSFNLIB.QGInitiatorExport;

The example creates a foreign server using the LINK and VERSION name value pairs. The link and its properties are defined in the QueryGrid portlet. The state of the link (active, pending, or previous) is also set in the QueryGrid portlet and referenced in the VERSION clause in the example:

CREATE FOREIGN SERVER Presto_1
EXTERNAL SECURITY DEFINER TRUSTED Auth_1
USING
LINK(‘td1_presto1’)
VERSION('active')
DO IMPORT WITH TD_SYSFNLIB.QGInitiatorImport,
DO EXPORT WITH TD_SYSFNLIB.QGInitiatorExport;

For more information about connector and link properties, see Teradata Connector and Link Properties.

For more information about versions, see Replacing Active Fabrics, Connectors, and Links Versions with Pending or Previous Versions.