Biml Language Reference
OLEDBCommand Element
The OLE DB command transformation executes SQL statements to access and transform external data.
Attributes
  Attribute API Type Default Description
ConnectionName AstOleDbConnectionNode
This value specifies the connection at which the OLE DB command transformation will be executed.

[.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]

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]

Timeout Int32
This value specifies how many seconds to wait for task completion before the task is terminated. If the value is 0, then no timeout will occur. The default value is 0.

[.NET API Property: Timeout]

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 that is run by the OLE DB transformation.

[.NET API Property: Query]

<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]

<InputPath /> AstDataflowInputPathNode
This specifies the input path that will be used by this dataflow component. If an input path is not specified, the dataflow component will attempt to automatically discover an appropriate input path based on the surrounding dataflow.

[.NET API Property: InputPath]

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.

[.NET API Property: Annotations]

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

[.NET API Property: DataflowOverrides]

<Parameters>
    <Parameter />
</Parameters>
AstOleDbCommandParameterNode
This is a collection of parameter mapping definitions that will supply variable values to the parameters of the SQL query.

[.NET API Property: Parameters]