Biml Language Reference
OdbcSource Element
The ODBC Source reads a data source using one of the ODBC adapters available on the host system.
  Attribute API Type Default Description
BatchSize Int32
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.

[.NET API Property: BatchSize]

BindCharColumnAs OdbcCharColumnMapping
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.

[.NET API Property: BindCharColumnAs]

BindNumericAs OdbcNumericMapping
This value specifies how numerci data should be mapped by the component. Either Char or Numeric can be selected. The default value is Char.

[.NET API Property: BindNumericAs]

CommandTimeout Int32
The number of seconds before the command times out. Zero indicates an infinite time-out. The default value is 0.

[.NET API Property: CommandTimeout]

Connection AstOdbcConnectionNode
This value specifies the ODBC connection used to access the database.

[.NET API Property: Connection]

DefaultCodePage Int32
This value specifies which code page to use when the data source does not provide code page information.

[.NET API Property: DefaultCodePage]

ExposeCharColumnsAsUnicode Boolean
This value specifies whether CHAR columns are exposed as multibyte strings (DT_STR) or as Unicode wide strings (DT_WSTR).

[.NET API Property: ExposeCharColumnsAsUnicode]

LobChunkSize Int32
This value specifies the chunk size that should be allocated of Large Object (LOB) columns.

[.NET API Property: LobChunkSize]

LocaleId Language
This value specifies which locale is used by the dataflow task.

[.NET API Property: LocaleId]

Name String
Specifies the name of the object. This name can be used to reference this object from anywhere else in the program.

[.NET API Property: Name]

UseBatch Boolean
This value specifies whether Batch load should be used instead of the default Row-By-Row load mechanism.

[.NET API Property: UseBatch]

ValidateExternalMetadata Boolean
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.

[.NET API Property: ValidateExternalMetadata]

Singleton Children
  Child API Type Description
<DirectInput /> AstDirectResourceNode
This value specifies the SQL query to use to load data from the specified connection.

[.NET API Property: Query]

<TableInput /> AstTableResourceNode
<ExternalTableInput /> AstUnmanagedTableResourceNode
<ErrorHandling /> AstComponentErrorHandlingNode
This value specifies how errors are handled by default in columns processed by the component. This can be overriden at the component or column level for specific cases.

[.NET API Property: ErrorHandling]

Collection Children
  Child API Type Description
    <Annotation />
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.

[.NET API Property: Annotations]

    <Column />
This is a collection of mapping nodes from source columns prior to sending them to the output path.

[.NET API Property: Columns]

    Multiple Choices...
Provides a collection of objects to override properties of the component, its input paths, its output paths, and its consituent dataflow columns.

[.NET API Property: DataflowOverrides]