Skip site navigation (1) Skip section navigation (2)

Novice Help Needed

From: "Brian C(dot) Doyle" <bcdoyle(at)mindspring(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Novice Help Needed
Date: 2000-05-18 18:01:37
Message-ID: (view raw or whole thread)
Lists: pgsql-sql

I am in need of a rule or trigger that will only allow one entry where the 
date and a userid field are the same?

So on the insert I want it to first check and see if userid and date exist 
and if so do not enter them.  If they do exist, allow the insert

Brian C. Doyle


pgsql-sql by date

Next:From: Michael A. MayoDate: 2000-05-18 18:32:47
Subject: Re: What is the difference between NULL and "undef"
Previous:From: Mitch VincentDate: 2000-05-18 17:25:28
Subject: Re: LIKE and regex

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group