4 ms·
It's a shame no-one has used DBI and SQL::Abstract etc to build something similar in Perl.
by peteretep 10y ago
It's a shame no-one has used DBI and SQL::Abstract etc to build something similar in Perl.
- falsedan 10y agoI'm sure people have (I wrote a simple MySQL/Oracle wrapper many jobs ago to help smooth out the bumps when integrating Perl products with client databases). It's a shame no one has released a Perl tool like this yet!
- carl1234 10y agosee GNU sql, it comes with GNU parallel https://www.gnu.org/software/parallel/ https://www.gnu.org/software/parallel/ "GNU sql aims to give a simple, unified interface for accessing databases through all the different databases' command line clients. So far the focus has been on giving a common way to specify login information (protocol, username, password, hostname, and port number), size (database and table size), and running queries. The database is addressed using a DBURL. If commands are left out you will get that database's interactive shell. When using GNU SQL for a publication please cite: O. Tange (2011): GNU SQL - A Command Line Tool for Accessing Different Databases Using DBURLs, ;login: The USENIX Magazine, April 2011:29-32.
- cryptarch 10y agoAh, it's that GPL + nag/guilt-trip model again... Following that rationale, why doesn't any sane person cite Matlab, R, Tex or MS Word on their publications?
- bloat 10y agoHere's an oldish program that does the same thing in Java using JDBC. https://github.com/neurolabs/henplus https://github.com/neurolabs/henplus
- mlawren 10y agoActually someone did, in 1998 no less: https://metacpan.org/pod/DBI::Shell https://metacpan.org/pod/DBI::Shell