My Oracle Support Banner

How to Pass the Input File with Variable Names to SQL*Loader Dynamically (Doc ID 191043.1)

Last updated on NOVEMBER 28, 2023

Applies to:

Oracle Database - Enterprise Edition - Version 7.3.4.0 and later
Oracle Database - Personal Edition - Version 7.3.4.0 and later
Oracle Database - Standard Edition - Version 7.3.4.0 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
HP OpenVMS VAX
HP OpenVMS Alpha
Generic UNIX
Generic Windows

Goal

NOTE: In the images and/or the document content below, the user information and data used represents fictitious data.
Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner.

SQL*Loader cannot handle variable input file names. This can be needed for periodic loads to Oracle database with file names changing each time.
This article shows four workarounds to use variable input file names with SQL*Loader.

This article is helpful for SQL*Loader users need to load from input files with variable names.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.