id from a field

From: "Luis Silva" <lfs12(at)hotmail(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: id from a field
Date: 2006-02-22 18:32:14
Message-ID: BAY18-F1162F54D047DE1DFF9ED92B5FD0@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

I there!! I'm having a problem. I know that it's possible to know the exact
ID of a table or a column using OIDs but, is it possible to know the ID from
a field?. for example I have a table named "identities" with 3 columns:
name,address and age and 3 users in that table:
richard | spain | 22
joe | france | 23
carol | italy | 24

for example, does the field "france" as a unique id that I could save and
get that info only with that id?

thanks a lot Luis

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message A. Kretschmer 2006-02-22 18:43:39 Re: id from a field
Previous Message Christian Stalp 2006-02-22 18:22:49 Re: plpgsql-function with timestamp