kinda newbie - ish question - Mailing list pgsql-general

From mmacie@earthlink.net (Mike Judkins)
Subject kinda newbie - ish question
Date
Msg-id d44ca591.0110081831.e820dba@posting.google.com
Whole thread Raw
Responses Re: kinda newbie - ish question  (Marko Kreen <marko@l-t.ee>)
List 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

pgsql-general by date:

Previous
From: "Kelly Harmon"
Date:
Subject: Accessing Database files on a "read-only" medium...like a CD.
Next
From: "Dave Cramer"
Date:
Subject: Sqlstatement with !=-1 fails