pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Brian C. Doyle <bcdoyle@mindspring.com>
To: pgsql-sql@postgresql.org
Subject: Novice Help Needed
Date: Thu, 18 May 2000 14:01:37 -0400
Message-ID: <4.3.1.2.20000518131444.00af6760@pop.mindspring.com> (raw)

Hello,

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




view thread (2+ messages)  latest in thread

Message-ID: <4.3.1.2.20000518131444.00af6760@pop.mindspring.com>
Permalink:  ../4.3.1.2.20000518131444.00af6760@pop.mindspring.com/
Also on:    postgresql.org/message-id/4.3.1.2.20000518131444.00af6760@pop.mindspring.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: bcdoyle@mindspring.com
  Subject: Re: Novice Help Needed
  In-Reply-To: <4.3.1.2.20000518131444.00af6760@pop.mindspring.com>
  References: <4.3.1.2.20000518131444.00af6760@pop.mindspring.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox