Execute SQL*Plus scripts retrieved dynamically from a directory and its subdirectories
Hi All,
I'm looking for a way in SQL*Plus to execute files as scripts found in a directory and subdirectories, not knowing in advance how many files will be there. The main directory is the current directory, and to make it more difficult, I'd like it to be OS independant.
Say I'm on Windows, and my current directory is "d:\main_directory". Here is an example of structure (using the tree comman in dos):
\MAIN_DIRECTORY>tree /f /a
Structure du dossier pour le volume DATA
Le numéro de série du volume est C6C5-DCDB
.
| create_tables.sql
0