Re: SERIAL with TTable in cbuilder

From: Baurjan Ismagulov <ibr(at)ata(dot)cs(dot)hun(dot)edu(dot)tr>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: SERIAL with TTable in cbuilder
Date: 2002-10-05 15:12:47
Message-ID: 20021005151247.GB9064@gantek.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Martin Weinberg 2002-10-05 15:36:47 Re: multi-column btree index for real values
Previous Message Martijn van Oosterhout 2002-10-05 14:02:58 Re: multi-column btree index for real values