Giter Site home page Giter Site logo

gpalleschi / gpgen_sqlldr Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 18 KB

A sql script to export a table generating .dat and .ctl files to be imported with sqlldr oracle utility.

License: GNU Affero General Public License v3.0

SQL 100.00%
sqlldr sql export import oracle-database sqlplus oracle

gpgen_sqlldr's Introduction

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 <TABLE NAME> <CONDITION>  

ex.

   @gpgen_sqlldr.sql users 1=1

Will be created these files :

  users.ctl
  users.dat

To 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 file for details

gpgen_sqlldr's People

Contributors

gpalleschi avatar

Watchers

 avatar  avatar

gpgen_sqlldr's Issues

Wrong license

You mention the GPL in your readme, but the LICENSE file is AGPL. Which one did you adopt?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.