Hi Monks,
Before you say RTFM, read my question first ;-)
I can indeed create tables with DBI -- that's not the problem. In one of my little projects, I've been developing code that is not database specific, hence the reason for using DBI... My SELECT, INSERT, UPDATE and DELETE's are fairly standard, and work across my two database platforms (for now), but my CREATE TABLE command has some slight differences...
With the various database vendors and each with their own subtle SQL language structure, it seems that DBI is falling short on being a generic database frontend module.. Please correct me if I'm wrong, but it seems that all DBI does is provide a standard INTERFACE to the database, not a standard interface to the LANGUAGE. So if I were to write a program and allow the customer to choose his own database platform of choice, I would have to ensure that I've tested my code on all possible database platforms, and have plenty of if($dbh->{Driver}->{Name} =~ /SQLite/i) bits around my script.
Now the question... Are you aware of a method where I can create and effective manage a database by simply utilizing a standard query, which will get passed to the database in what ever customized SQL it needs?
Cheers
Massyn
In reply to How to create tables with DBI? by Massyn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |