Re: SERIAL with TTable in cbuilder - Mailing list pgsql-general

From Baurjan Ismagulov
Subject Re: SERIAL with TTable in cbuilder
Date
Msg-id 20021005151247.GB9064@gantek.com
Whole thread Raw
In response to Re: SERIAL with TTable in cbuilder  ("scott.marlowe" <scott.marlowe@ihs.com>)
List pgsql-general
On Fri, Oct 04, 2002 at 09:42:02AM -0600, scott.marlowe wrote:
> insert into table (dat,nam,id) values ('2000-02-02','Marlowe',DEFAULT);

Thanks much! I'll try this method, although I'm not sure whether the
fields in TTable can be set to DEFAULT. It should be possible to do that
via a custom TQuery.

For now, I'm using the folowing hack:

Table1->FieldByName("id")->Required = false;

With kind regards,
Baurjan.

pgsql-general by date:

Previous
From: Lars
Date:
Subject: deadlock using sequences?
Next
From: carfield@programmer.net (Carfield Yim)
Date:
Subject: Re: Error after updating postgresql