in reply to Re: Re: To DBI or not to DBI
in thread To DBI or not to DBI
The syntax of SQLite is not different than MySQL or any other SQL DB.
Don't confuse HDB with SQLite. SQLite is only one of the DB types that HDB can use, like MySQL and Oracle.
About the "SQL syntax is 95% the same between different SQL databases" I disagree. This "5%" can be a big problem! For example, create a table is different in most DB. The type of columns differ a lot. The SQL syntax for select in some DB have REGEXP, in others not. The NULL value is another big problem, for some is null, for others is a valid value. The INTEGER is other thing that can differ a lot, for MySQL we can chose 4 types for integer values, for SQLite 1! And this is only the begining.
But I respect your opinion, know SQL is very important, specially if you need to make complex things. But HDB still accept SQL querys: $HDB->cmd("select * from foo"); And you still can use the dbh (From DBI) interface inside it: my $sth = $HDB->dbh->prepare(...) ;
Graciliano M. P.
"The creativity is the expression of the liberty".
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: To DBI or not to DBI
by hmerrill (Friar) on Jan 29, 2003 at 17:44 UTC | |
|
Re: Re: Re: Re: To DBI or not to DBI
by rzward (Monk) on Jan 29, 2003 at 17:11 UTC |