Teradata Non-Spatial Reader Parameters
Database Connections |
---|
Connections store authentication information. For general information about sharing database connections, please seeUsing Database Connections. Note that different subsets of Database Connection parameters are made available in different contexts. ![]() Select an existing connection, orAdd Database Connectionto define a new connection. The new connection can be made visible only to the current user, or can be shared among multiple users. |
Connection Parameters
![关闭](http://www.baooytra.com/docs/fme/2017.1/html/FME_Desktop_Documentation/FME_ReadersWriters/Skins/Default/Stylesheets/Images/transparent.gif)
这指定托管DBMS的计算机的主机名或IP地址。
![关闭](http://www.baooytra.com/docs/fme/2017.1/html/FME_Desktop_Documentation/FME_ReadersWriters/Skins/Default/Stylesheets/Images/transparent.gif)
When connecting remotely, this parameter specifies the Teradata Server port on which to connect to the DBMS service. The default port is 1025.
![关闭](http://www.baooytra.com/docs/fme/2017.1/html/FME_Desktop_Documentation/FME_ReadersWriters/Skins/Default/Stylesheets/Images/transparent.gif)
Specifies the name of the Teradata Database. The database name must exist in the DBMS.
![关闭](http://www.baooytra.com/docs/fme/2017.1/html/FME_Desktop_Documentation/FME_ReadersWriters/Skins/Default/Stylesheets/Images/transparent.gif)
Enter the username and password to access the database, user account, or wherever authentication is required.
![关闭](http://www.baooytra.com/docs/fme/2017.1/html/FME_Desktop_Documentation/FME_ReadersWriters/Skins/Default/Stylesheets/Images/transparent.gif)
此参数指定在取消SQL查询之前应允许运行多长时间。
A value of 0 disables the timeout.
Constraints
![关闭](http://www.baooytra.com/docs/fme/2017.1/html/FME_Desktop_Documentation/FME_ReadersWriters/Skins/Default/Stylesheets/Images/transparent.gif)
After you have completely specified the database connection, click the Browse button to select tables to import. A connection window appears while FME reads a table from the database.
Once the table list appears, you can select one or more tables, and then click OK to dismiss the window. The table name(s) will appear in the table list field in the Reader Parameters box.
![关闭](http://www.baooytra.com/docs/fme/2017.1/html/FME_Desktop_Documentation/FME_ReadersWriters/Skins/Default/Stylesheets/Images/transparent.gif)
This optional specification is used to specify a where clause to use for the query. If this parameter is left blank, all rows in the table will be read and returned as individual features. If a WHERE clause is specified, only those rows that are selected by the clause will be read. (Note that the WHERE clause does not include the wordWHERE.)
Example:
The example below selects only the rows for which the name column value is equal to safe:
name=’safe’
架构属性
![关闭](http://www.baooytra.com/docs/fme/2017.1/html/FME_Desktop_Documentation/FME_ReadersWriters/Skins/Default/Stylesheets/Images/transparent.gif)
Use this parameter to exposeFormat Attributesin Workbench when you create a workspace:
- In adynamic scenario, it means these attributes can be passed to the output dataset at runtime.
- In a non-dynamic scenario, you can use this parameter to expose additional attributes on multiple feature types.
Advanced
![关闭](http://www.baooytra.com/docs/fme/2017.1/html/FME_Desktop_Documentation/FME_ReadersWriters/Skins/Default/Stylesheets/Images/transparent.gif)
This parameter allows for the execution of SQL statements before opening a table for reading. For example, it may be necessary to create a temporary view before attempting to read from it.
Multiple SQL commands can be delimited by a character specified using theFME_SQL_DELIMITER
指令,嵌入在SQL块的开头。此指令后面的单个字符将用于将SQL块拆分为SQL语句,然后这些语句将被发送到数据库执行。Note:Include a space before the character.
For example:
FME_SQL_DELIMITER ; DELETE FROM instructors; DELETE FROM people WHERE LastName='Doe' AND FirstName='John'
Multiple delimiters are not allowed and the delimiter character will be stripped before being sent to the database.
Any errors occurring during the execution of these SQL statements will normally terminate the reader or writer (depending on where the SQL statement is executed) with an error. If the specified statement is preceded by a hyphen (“-”), such errors are ignored.
![关闭](http://www.baooytra.com/docs/fme/2017.1/html/FME_Desktop_Documentation/FME_ReadersWriters/Skins/Default/Stylesheets/Images/transparent.gif)
This parameter allows for the execution of SQL statements after a set of tables has been read. For example, it may be necessary to clean up a temporary view after creating it.
Multiple SQL commands can be delimited by a character specified using theFME_SQL_DELIMITER
指令,嵌入在SQL块的开头。此指令后面的单个字符将用于将SQL块拆分为SQL语句,然后这些语句将被发送到数据库执行。Note:Include a space before the character.
For example:
FME_SQL_DELIMITER ; DELETE FROM instructors; DELETE FROM people WHERE LastName='Doe' AND FirstName='John'
Multiple delimiters are not allowed and the delimiter character will be stripped before being sent to the database.
Any errors occurring during the execution of these SQL statements will normally terminate the reader or writer (depending on where the SQL statement is executed) with an error. If the specified statement is preceded by a hyphen (“-”), such errors are ignored.