kinda newbie - ish question

From: mmacie(at)earthlink(dot)net (Mike Judkins)
To: pgsql-general(at)postgresql(dot)org
Subject: kinda newbie - ish question
Date: 2001-10-09 02:31:36
Message-ID: d44ca591.0110081831.e820dba@posting.google.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

hi all,

Im trying to insert a record with a php script. I insert a NULL value
to get my auto increment unique key to automatically populate as
usual. Then I want to be able to insert another value in this same row
which is a URL. This URL is basically a path plus a filename which I
want to have the exact same name as the unique key that was just
generated for the row. Is there a quick way is SQL to do this or will
I have to handle it in my script?

Thanks for helping!

Mike

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Zuev Dmitry 2001-10-09 04:37:10 Question about system catalog, documentation and datatype sizes (probably a bug)
Previous Message Peter Eisentraut 2001-10-08 23:24:51 Re: Not using index on VERY simple query