15.12 - Load Data Wizard (Teradata, Aster) - Teradata Studio

Teradata Studio Express User Guide

prodname
Teradata Studio
vrm_release
15.12
created_date
August 2016
category
User Guide
featnum
B035-2042-086K
The Load Data Wizard enables you to load data from an input file into a table using either JDBC FastLoad or batch operations. The input file can be a delimited text file or an Excel file. If the table is not empty, the Load Data Wizard appends or replaces the existing data.
JDBC FastLoad operations are not applicable to Aster data transfers.

The Load Data Wizard contains the following elements:

Option Description
Input File Specify the path and name of the file from which to import data and to specify the server path to its location in the file system. To locate an existing file, click Browse and navigate the file system to select a file.
File Type Select the type of file to be imported. You can choose to load data from a text file, such as a.txt or.cvs file, or from a Microsoft Excel file. Choose between a.xslx file, or.xls (Microsoft Excel 97-2003) file. The file data options change depending on which type of source file you selected.
Column Labels in First Row Select to specify that the first row in the file contains the column labels so that the first row in the file is ignored.
Stop Loading If Max Error(s) Occur Specify the maximum number of errors allowed before the wizard stops the Load operation.
Lock Table Select to prevent row lock errors.
Selecting this option may cause the import operation to be slow.
Replace Existing Data If the table is not empty, check this option to replace the existing data. Leaving it cleared appends the loaded data to the existing data. If the table is empty, this option is grayed out.

The File Options change depending on the file type you select, and the destination. For example, the Delimited Text options are:

Option Description
Column Delimiter Specify the column delimiter used in the input file.

This does not apply to Hadoop.

Character String Delimiter Specify the character string delimiter used in the input file.

This does not apply to Hadoop.

Line Separator Specify the type of column delimiters, character string delimiters, and character encoding the data in the imported file uses. If you specified an EXCEL spreadsheet as the input file and selected either EXCEL (.xlsx) or EXCEL 97-2003 (.xls) as the file type, you can import data from a single worksheet in the file by selecting a worksheet name in Import Worksheet. The Line Separator options enable you to import files that have only LineFeed (LF), as in Unix and Linux, or only Carriage Return (CR) as in Mac OS/X prior to v10.0, or both, as for Windows. The options are:
  • Windows OS (CR and LF)
  • Prior to Mac OS X v10.0 (CR)
  • Unix, Linux, Mac OS X v10.0 and above (LF)
File Encoding Specify the type of encoding to used for the file.
Start Loading at Row Number Specify the table row number where the Load operation begins.

The Excel options are:

Option Description
Import Worksheet Import Worksheet - View a list of worksheets found in the specified Excel file. Specify which worksheet you want to import.
Start Loading at Row Number Specify the table row number where the Load operation begins.

Data contained in the external file displays at the bottom of the wizard screen. Table data includes column name, column data type, and values in table rows.

When you click Finish, the results display in the Teradata SQL History view. Click the Message tab to view detailed messages.