Home
SQL File Import online help Prev Page Prev Page
Introduction
About SQL File Import
Version history
Contact us
Supported database engines
Using SQL File Import
Home page
Task Wizard
Select source data
Files as source data
CSV source data files
Excel source data files
Enter file search patterns
Connect to database
Conecting to databases directly without client libraries installed
Connecting to an Oracle database
Database scripts
Select table to upload into
Map data to table columns
Review script results
Transaction options
Logging options
Finalise
Run task
Scheduling a task
Options
Scripting
Global variables
OnBeforeUpload function
OnAfterUpload function
Support functions
Data functions
Log functions
String functions
Date and time functions
Date-Time format strings
File functions

Excel source data files

You can use Excel spreadsheets as a source for the values you want to upload into your database. The first row of the spreadsheet should contain the names of the source columns, and subsequent rows should contain the values for those columns. E.g.

source_xls_01  

Similar to CSV source data files, you can use placeholder columns that contain no values to dynamically generate values during the import process. Demo 5 shows how this can be done. For further details on placeholder columns, take a look at the demo005.xls
file found in the samples folder, and how demo 5 works out the size and contents values.

The Excel file name can include wildcard characters (* or ?). When wildcard characters are detected, SQL File Import will use the entered file name as a search pattern and look for files matching that search pattern. The list of files is then sorted in alphabetical order, and the first file is used as the source Excel file.