Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
The command that I ran wasInvalid statement: Was expecting comment, or create Error: translate: Error with parser 'SQL::Translator::Parser::DB2': n +o results at /usr/bin/sqlt line 290.
I have also triedsqlt -f DB2 -t MySQl dumpdb2.sql
No matter how I do it, I get that same error message, can anyone send me some monk's inner light?my $translator = SQL::Translator->new( debug => 1, trace => 0, no_comments => 1, show_warnings => 0, add_drop_table => 0, validate => 1, ); my $output = $translator->translate( from => 'DB2', to => 'MySQL', # Or an arrayref of filenames, i.e. [ $file1, $file2, $file3 ] filename => 'test.sql', ) or die $translator->error; print $output;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Convert DB2 -> mysql with sql::translator
by clwolfe (Scribe) on Jul 08, 2006 at 07:00 UTC | |
|
Re: Convert DB2 -> mysql with sql::translator
by stonecolddevin (Parson) on Jul 08, 2006 at 04:12 UTC | |
by Anonymous Monk on Jul 08, 2006 at 04:37 UTC | |
by stonecolddevin (Parson) on Jul 08, 2006 at 06:15 UTC |