1.0

Table Of Contents
SYSCS_UTIL.IMPORT_DATA_LOBS_FROM_EXTFILE system procedure
Use the SYSCS_UTIL.IMPORT_DATA_LOBS_FROM_EXTFILE system procedure to import data to a subset
of columns in a table, where the LOB data is stored in a separate le. The main import le contains all of the
other data and a reference to the location of the LOB data.
Syntax
SYSCS_UTIL.IMPORT_DATA_LOBS_FROM_EXTFILE (
IN SCHEMANAME VARCHAR(128),
IN TABLENAME VARCHAR(128),
IN INSERTCOLUMNS VARCHAR(32672),
IN COLUMNINDEXES VARCHAR(32672),
IN FILENAME VARCHAR(32672),
IN COLUMNDELIMITER CHAR(1),
IN CHARACTERDELIMITER CHAR(1),
IN CODESET VARCHAR(128),
IN REPLACE SMALLINT)
IN LOCKTABLE SMALLINT, IN NUMTHREADS INTEGER, IN CASESENSITIVENAMES
SMALLINT
IN IMPORTCLASSNAME VARCHAR(32672), IN ERRORFILE VARCHAR(32672))
The import utility looks in the main import le for a reference to the location of the LOB data.
Species the schema of the table. You can specify a NULL value to use the
default schema name. The SCHEMANAME parameter takes an input argument
that is a VARCHAR (128) data type.
SCHEMANAME
Species the name of the table into which the data is to be imported. This table
cannot be a system table or a declared temporary table. The string must exactly
TABLENAME
match case of the table name. Specifying a NULL value results in an error. The
TABLENAME parameter takes an input argument that is a VARCHAR (128)
data type.
Species the comma separated column names of the table into which the data
will be imported. You can specify a NULL value to import into all columns of
INSERTCOLUMNS
the table. The INSERTCOLUMNS parameter takes an input argument that is a
VARCHAR (32672) data type.
Species the comma separated column indexes (numbered from one) of the
input data elds that will be imported. You can specify a NULL value to use
COLUMNINDEXES
all input data elds in the le. The COLUMNINDEXES parameter takes an
input argument that is a VARCHAR (32762) data type.
Species the name of the le that contains the data to be imported. If the path
is omitted, the current working directory is used. The specied location of the
FILENAME
le should refer to the server side location if using the Network Server.
Specifying a NULL value results in an error. The leName parameter takes an
input argument that is a VARCHAR (32672) data type.
Species a column delimiter. The specied character is used in place of a comma
to signify the end of a column. You can specify a NULL value to use the default
COLUMNDELIMITER
value of a comma. The COLUMNDELIMITER parameter takes an input
argument that is a CHAR (1) data type.
Species a character delimiter. The specied character is used in place of double
quotation marks to enclose a character string. You can specify a NULL value
CHARACTERDELIMITER
to use the default value of a double quotation mark. The
CHARACTERDELIMITER parameter takes an input argument that is a CHAR
(1) data type.
vFabric SQLFire User's Guide556
vFabric SQLFire Reference