You use the CSV File Import wizard
to import CSV and text files to the data source.
About this task
To import a CSV or TXT file:
Procedure
- Select .
The Import wizard
opens.
-
Select CSV File and click Next.
The Import result set from file page of the
Import wizard opens.
- Click Browse next to the File
name field.
Select either CSV file
(*.csv) or Text file (*.txt) in
the Open window to choose a CSV or TXT file to
import.
- Specify what encoding to use when importing the file from
the Encoding list.
- Click Next.
The Select
separator options page opens.
- Specify the separator options of the CSV or TXT file and
click Next.
The Result
set structure page opens.
- Specify column options of the result set in the Field
definitions table and click Finish.
Note: When you import a query result set from a CSV or TXT file, QMF scans the first 1000 rows of the result set to determine the
maximum length of the VARCHAR data type. If the subsequent rows contain the VARCHAR data type that
is longer than this maximum value, the cell value is truncated. You can increase the length of the
data type in the Field definitions table.
The CSV File Import wizard closes
and the new result set opens in the editor window.