Configure an import
On this page
Object reference: Import.
An import maps a configured Source to a destination table and belongs to an import package.
Prerequisites and scope
Create or select the Source, destination table and column definitions first, for example through DWH Wizard. Review the Source and Destination header before editing. The execution details below describe the SSIS generator; do not assume that every target generator has identical behavior.
Configuration
| Location or field | Behavior |
|---|---|
| Package | Select an import package. A new name creates an import package when saved; an existing package of another type is rejected. |
| Main / Fields | Map Source Name to Target Name. SSIS Statement is an SSIS expression, not a T-SQL expression. |
| Variables | Maintain package variables, their types, expressions and initial values. |
| ImpSQL | Supply the source command for supported SQL-source paths. With a custom command, do not assume the separate Filter is appended. |
| Filter | The generated SQL-source query appends this as its WHERE condition when generating the query from mapped columns. For OData the UI calls it Query options. |
| PreScript / PostScript | Scripts surrounding the import task, using the DWH connection in the reviewed SSIS path. Original and Parsed distinguish stored text from parsed text. |
| Exclude from generation | Changes the package's generation exclusion flag; this affects the package, not just one column or import mapping. |
| Use a variable to store the query | Available for OLE DB sources; the generated source can read its SQL command from a package variable. |
Execution order
The SSIS generator creates a TRUNCATE task before the data flow. Existing destination rows are removed; this is not an append-only option. Directory-processing file sources can run the data flow in a file loop after that truncation. Success precedence constraints connect tasks; do not assume a failed import runs its PostScript or restores the previous rows.
Options
Buffer and fast-load options include DefaultBufferMaxRows, DefaultBufferSize, Max insert commit size, Rows per batch, Keep nulls, Keep identity, Table lock, Check constraints and Command Timeout. Displayed defaults come from repository parameters. Values equal to defaults are saved as inherited values; they are not necessarily permanently frozen per import. DefaultBufferSize overrides are checked against 1,048,576 through 2,147,483,647 bytes.
Use Logging also affects how the reviewed SSIS expression/error paths redirect or fail rows. Validate error handling with the connector and generated package rather than treating logging as a purely cosmetic option.
Procedure
- Open the import definition and check Source, Destination and Package.
- Review field mappings and any SSIS expressions.
- Set either the generated-query Filter or the required custom ImpSQL. Test custom commands in the source system's dialect.
- Review scripts and truncation effects. Use a disposable destination for the first run.
- Click Save. This commits metadata; the handler does not run the import.
- Select the package in Deployment, generate it and inspect the output before running it through the intended execution environment.
Source constraints
In the reviewed SSIS implementation, Source constraint Statement and MessageStatement become SSIS expressions in a Derived Column component. They are not passed as a T-SQL WHERE clause. A matching condition produces the configured message expression; error/warning routing then uses the generated outputs. This is separate from the import's source-query Filter.
Troubleshooting
An invalid package type must be corrected before saving. For expression errors, first distinguish source SQL, SSIS Statement and scripts executed against the DWH. If imported data replaces earlier rows unexpectedly, inspect the generated TRUNCATE task.
See source-specific SSIS import behavior for command precedence, parameter handling, OData and file sources.