From: | "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: How to INSERT empty line into SEQUENTIAL table from PHP |
Date: | 2008-06-16 06:53:50 |
Message-ID: | 20080616065350.GC26025@a-kretschmer.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
am Mon, dem 16.06.2008, um 8:33:27 +0200 mailte Stefan Schwarzer folgendes:
> Hi,
>
> rahter dump question, I guess....
>
> But I have a table with a sequential index field, into which I would
> like to add from time to time another line (via webbrowser), which in
> turn, stays first empty, before it's being filled in later (via
> webbrowser).
>
> Because the ID field is sequential and indexed, I can't use
>
> INSERT INTO table_xx (ID, field2, field3, field4) VALUES ('', '',
> '', '');
>
> neither (skipping ID because it should be filled in automatically):
>
> INSERT INTO table_xx (field2, field3, field4) VALUES ('', '', '');
insert into table_xx (id, field2, ...) values (NULL, ...)
Andreas
--
Andreas Kretschmer
Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID: 0x3FFF606C, privat 0x7F4584DA http://wwwkeys.de.pgp.net
From | Date | Subject | |
---|---|---|---|
Next Message | Julius Tuskenis | 2008-06-16 06:54:48 | Re: How to INSERT empty line into SEQUENTIAL table from PHP |
Previous Message | Stefan Schwarzer | 2008-06-16 06:33:27 | How to INSERT empty line into SEQUENTIAL table from PHP |