Help w/procedures

From: "CAMPZ" <rcstyles(at)email(dot)msn(dot)com>
To: pgsql-questions(at)postgresql(dot)org
Subject: Help w/procedures
Date: 2000-02-22 22:31:43
Message-ID: eAPYHTYf$GA.208@cpmsnbbsa03
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

I need help writing a procedure that will adding a group.

add_group:
- pass values for group name and 2 client ids and if valid (group name must
be not null and unique, client
ids must be not null and valid, client must not already belong to a group)
and add row to group table
- return value of team.id assigned, otherwise return a value of 0

Any help would be great thanks

Browse pgsql-general by date

  From Date Subject
Next Message Dirk Niggemann 2000-02-23 00:04:34 Functional indices...
Previous Message Daniel Forsyth 2000-02-22 20:40:24 unsubscribe