|
|
| No such thing as a small change | |
| PerlMonks |
Re: Databases made easyby erix (Priest) |
| on Apr 26, 2012 at 17:45 UTC ( #967415=note: print w/ replies, xml ) | Need Help?? |
|
SQLite remains a toy-database, its limitations honestly admitted by the sqlite crew on the sqlite site. One might as well start out with a real database. To use PostgreSQL, replace the SQLite connection string ("dbi:SQLite:Test.sqlite") with a connection string for PostgreSQL, for instance: "dbi:Pg:port=6542;db=testdb". The three parts in the above tutorial (create table, insert rows, select rows) will run the same on this postgresql $dbh (data base handle). The PostgreSQL flavour of SQL is here: sql-commands.html
In Section
Tutorials
|
|
||||||||||||||||||||||