Skip Menu |

This queue is for tickets about the SQL-Translator CPAN distribution.

Report information
The Basics
Id: 5010
Status: resolved
Worked: 1 min
Priority: 0/
Queue: SQL-Translator

People
Owner: kclark [...] cpan.org
Requestors: johanl [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.02
Fixed in: (no value)



Subject: Does the Sybase parser work?
I installed v0.2 (without GraphViz, it had too many dependencies) and tried to run sql_translator --from Sybase --to Oracle _tables.sql But it says: Error: translate: Error with parser 'SQL::Translator::Parser::Sybase': Undefined subroutine &SQL::Translator::Parser::Sybase::parse called at c:/Perl/site/lib/SQL/Translator.pm line 543. Looking at the source, there is a Sybase module, but it doesn't in fact have the parse sub. Is it not developed yet? My system: w2k This is perl, v5.6.1 built for MSWin32-x86-multi-thread (with 1 registered patch, see perl -V for more detail) /J
Yes, the Sybase parser works, but not in version 0.02 that you have. Sorry, it should not have been included in that package. Still, version 0.04 has a somewhat competent parser that should work. Better still, the latest version has a DBI parser for Sybase, meaning it queries the database catalog directly for the structure rather than trying to parse a text file. I'm sorry that there are so many dependencies, but that's a side effect of being able to do so much with schemas. You only need to install the dependencies for the modules you really want to use (e.g., don't install Graphviz if you aren't going to visualize schemas). Please upgrade to 0.04 and try again. ky