SQL::Translator::Producer::Oracle - Oracle SQL producer
use SQL::Translator::Parser::MySQL; use SQL::Translator::Producer::Oracle; my $original_create = ""; # get this from somewhere... my $translator = SQL::Translator->new; $translator->parser("SQL::Translator::Parser::MySQL"); $translator->producer("SQL::Translator::Producer::Oracle"); my $new_create = $translator->translate($original_create);
SQL::Translator::Producer::Oracle takes a parsed data structure, created by a SQL::Translator::Parser subclass, and turns it into a create string suitable for use with an Oracle database.
A hearty "thank-you" to Tim Bunce for much of the logic stolen from his "mysql2ora" script.
Ken Y. Clark <kclark@cpan.org>
perl(1).
To install SQL::Translator, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SQL::Translator
CPAN shell
perl -MCPAN -e shell install SQL::Translator
For more information on module installation, please visit the detailed CPAN module installation guide.