Help w/procedures - Mailing list pgsql-general

From CAMPZ
Subject Help w/procedures
Date
Msg-id eAPYHTYf$GA.208@cpmsnbbsa03
Whole thread Raw
List 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



pgsql-general by date:

Previous
From: Daniel Forsyth
Date:
Subject: unsubscribe
Next
From: Dirk Niggemann
Date:
Subject: Functional indices...