https://github.com/gpalleschi/gpgen_sqlldr
A sql script to export a table generating .dat and .ctl files to be imported with sqlldr oracle utility.
https://github.com/gpalleschi/gpgen_sqlldr
export import oracle oracle-database sql sqlldr sqlplus
Last synced: 3 days ago
JSON representation
A sql script to export a table generating .dat and .ctl files to be imported with sqlldr oracle utility.
- Host: GitHub
- URL: https://github.com/gpalleschi/gpgen_sqlldr
- Owner: gpalleschi
- License: agpl-3.0
- Created: 2020-11-05T15:35:12.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-12-01T07:23:44.000Z (over 2 years ago)
- Last Synced: 2025-06-26T08:03:16.507Z (3 days ago)
- Topics: export, import, oracle, oracle-database, sql, sqlldr, sqlplus
- Language: SQL
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GPGEN_SQLLDR
----
## Description :
The gpgen_sqlldr is an sql script, created under Affero General Public License v3.0 to generate a .dat and .ctl
files for oracle utility sqlldr. Basically permits to export a table with the possibility to filter data.Script requiered two parameters :
@gpgen_sqlldr.sql
ex.
@gpgen_sqlldr.sql users 1=1
Will be created these files :
users.ctl
users.datTo use with :
sqlldr userid={user}/{password} control=users.ctl log=users.log
----## Compatibility :
ORACLE 8 or upper
----
## Prerequisites :
Script sql need to have write permission in directory where it is executed.
----
## License :
This project is licensed under the Affero General Public License v3.0 - see the [LICENSE](LICENSE) file for details