Odbc Destination Element
X-Ref:
- Ast Odbc Destination Node
- Ast Destination Transformation Node
- Ast Single In Transformation Node
- Ast Transformation Node
- Ast Scope Boundary Node
Attributes
Attribute | API Type | Default | Description |
---|---|---|---|
Connection | AstOdbcConnectionNode | This value specifies the ODBC connection to use when loading the data. This is a required reference to an existing definiton. | |
Name | String | Specifies the name of the object. This name can be used to reference this object from anywhere else in the program. This is a required property | |
BatchSize | Int32 | 1000 | This value specifies how many rows can be loaded into the destination table in each batch before additional rows are requested from the data flow pipeline. The default value is 1000. |
BindCharColumnAs | OdbcCharColumnMapping | Unicode | This value specifies how multibyte string types (SQL_CHAR, SQL_VARCHAR, SQL_LONGVARCHAR, etc.) should be mapped by the component. Either Unicode (SQL_C_WCHAR) or ANSI (SQL_C_CHAR) can be selected. The default value is Unicode. |
BindNumericAs | OdbcNumericMapping | Char | This value specifies how numerci data should be mapped by the component. Either Char or Numeric can be selected. The default value is Char. |
DefaultCodePage | Int32 | 0 | This value specifies which code page to use when the data source does not provide code page information. |
LobChunkSize | Int32 | 32768 | This value specifies the chunk size that should be allocated of Large Object (LOB) columns. |
LocaleId | Language | Inherited | This value specifies which locale is used by the dataflow task. |
Timeout | Int32 | 0 | The number of seconds before the command times out. Zero indicates an infinite time-out. The default value is 0. |
TransactionSize | Int32 | 0 | This value specifies how many rows can be added in a single transaction before a new transaction must created on the ODBC target. Zero indicates that all rows should be loaded in the same transaction. The default value is 0. |
UseBatch | Boolean | True | This value specifies whether Batch load should be used instead of the default Row-By-Row load mechanism. |
ValidateExternalMetadata | Boolean | true | This value specifies whether the data flow transformation is validated against columns that originated in external data sources. When server assets such as tables and stored procedures are created during processing, ValidateExternalMetadata is normally set to False, which prevents validation from completing at compile time. |
Singleton Children
Child | API Type | Description |
---|---|---|
<TableOutput /> | AstTableResourceNode | The AstTableResourceNode type is used for creating references to a table that has been modeled in the Biml project. This is a required property |
<ExternalTableOutput /> | AstUnmanagedTableResourceNode | The AstUnmanagedTableResourceNode type is used for creating references to a table stored in an existing relational database that has not been modeled in the Biml project. This is a required property |
<ErrorHandling /> | AstComponentErrorHandlingNode | Specifies the error handling defaults to apply to an entire component |
<InputPath /> | AstDataflowInputPathNode | AstDataflowInputPathNode is used to model input paths in a SQL Server Integration Services dataflow task. Connections are made by referencing an appropriate output path. |
Collection Children
Child | API Type | Description |
---|---|---|
<Annotations> <Annotation /> </Annotations> | AstAnnotationNode | This is a collection of annotation items that can be used to specify documentation, tags, or other information. Annotations are particularly useful for storing information about nodes that can be used by BimlScript code. |
<Columns> <Column /> </Columns> | AstDataflowColumnMappingNode | This value specifies how the component should map columns in the data flow to columns in the destination. Columns that are not explicitly listed in this collection are automatically mapped based on name. |
<DataflowOverrides> Multiple Choices... </DataflowOverrides> | AstDataflowOverrideNode | Provides a collection of objects to override properties of the component, its input paths, its output paths, and its consituent dataflow columns. |