How to set constraint on ...? - Mailing list pgsql-general

From rui zhong
Subject How to set constraint on ...?
Date
Msg-id F78sllNY30kkZIhTrBo0000884a@hotmail.com
Whole thread Raw
List pgsql-general
Hi,
I have following  table named account.  How to use SQL commands to set constraint like “ X value of A 
 +  X value of B > 0”  in following table? 

I appreciate your great help.

--Rui.


                     


                  
Table: account 





 NAME(:char)

  X (: integer)

   ...


  A

         20

  ...


  B

         10

 ...
 
 
 
 
 
 
 
 
 
 

 

 

 
Get your FREE download of MSN Explorer at http://explorer.msn.com

pgsql-general by date:

Previous
From: Gerald Gutierrez
Date:
Subject: PSQL client query timing
Next
From: Alexey Borzov
Date:
Subject: Postgres docs in .chm format --- is this possible?