On Sun, Jan 20, 2008 at 11:09:23PM +0100, Karsten Hilbert wrote:

> > It is easy to convert $dbh->do(insert ..) to print(insert ..),
> > but it is not so easy to write fully portable sql.
> > In my script I use
> >  create table if not exists ..
PG:

        drop table if exists ...
        create table ...

> >  insert ignore into ..
generic:

        delete from ... where ...
        insert into ...

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to