Re: Create tables using Perl DBI

From: Alvar Freude <alvar(dot)freude(at)merz-akademie(dot)de>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: Create tables using Perl DBI
Date: 2000-11-21 01:38:24
Message-ID: 3A19D210.1CDBB1EE@merz-akademie.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Hi,

> $sth = $dbh->prepare("create table customer (
> ID serial PRIMARY KEY,
> name text NOT NULL,
> email text NOT NULL,
> phone text NOT NULL,
> fax text DEFAULT,
[...]

there is a default text required I guess!

bye
Alvar

--
Alvar C.H. Freude | alvar(dot)freude(at)merz-akademie(dot)de

Demo: http://www.online-demonstration.org/ | Mach mit!
Blast-DE: http://www.assoziations-blaster.de/ | Blast-Dich-Fit
Blast-EN: http://www.a-blast.org/ | Blast/english

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Sanjay Arora 2000-11-21 02:05:56 Large Objects...ODBC/VB6/ADO...& PostgreSQL
Previous Message Cedar Cox 2000-11-20 21:23:02 Re: Password to install the odbc driver