[DB-SIG] How to detect wether a database exist ?

Jon Ribbens jon+python-db-sig@unequivocal.co.uk
Sat, 7 Apr 2001 18:04:09 +0100


rho handsome <scortum@yahoo.com> wrote:
> How do i check at when the
> program starts wether a certain database exist within
> the localhost and if it doesn't exist.. create it ? 

CREATE TABLE IF NOT EXISTS blah ( blah )