tMSSqlColumnList
Lists all column names of a given MSSql table.
tMSSqlColumnList iterates on all
columns of a given table through a defined MS SQL connection.
tMSSqlColumnList Standard properties
These properties are used to configure tMSSqlColumnList running in the Standard Job framework.
The Standard
tMSSqlColumnList component belongs to the Databases family.
The component in this framework is available in all Talend
products.
connector. The properties related to database settings vary depending on your database
type selection. For more information about dynamic database connectors, see Dynamic database components.
Basic settings
Database |
Select a type of database from the list and click |
Component list |
Select the tMSSqlConnection |
Table name |
Enter the name of the table. |
Advanced settings
tStatCatcher Statistics |
Select this check box to collect log data at the component level. |
Global Variables
Global Variables |
COLUMN_NAME: the name of the column currently iterated
COLUMN_DEFAULT: the default value of the column currently
IS_NULLABLE: nullability of the column currently
DATA_TYPE: the data type of the column currently iterated
CHARACTER_MAXIMUM_LENGTH: the maximum length in number of
CHARACTER_OCTET_LENGTH: the maximum length in bytes of
NUMERIC_PRECISION: the data precision of the column
NUMERIC_PRECISION_RADIX: the data precision radix of the
NUMERIC_SCALE: the scale in digits allowed in the column
DATETIME_PRECISION: the datetime precision in fractional
COLUMN_KEY: the key indicator of the column currently
NB_COLUMN: the number of columns iterated upon so far.
ERROR_MESSAGE: the error message generated by the A Flow variable functions during the execution of a component while an After variable To fill up a field or expression with a variable, press Ctrl + For further information about variables, see |
Usage
Usage rule |
This component is to be used along with MSSql components, |
Dynamic settings |
Click the [+] button to add a row in the table Once a dynamic parameter is defined, the Component List box in the Basic For examples on using dynamic parameters, see Reading data from databases through context-based dynamic connections and Reading data from different MySQL databases using dynamically loaded connection parameters. For more information on Dynamic |
Related scenario
For tMSSqlColumnList related scenario, see Iterating on a DB table and listing its column names.