How to set constraint on ...?

Поиск
Список
Период
Сортировка
От rui zhong
Тема How to set constraint on ...?
Дата
Msg-id F78sllNY30kkZIhTrBo0000884a@hotmail.com
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Gerald Gutierrez
Дата:
Сообщение: PSQL client query timing
Следующее
От: Alexey Borzov
Дата:
Сообщение: Postgres docs in .chm format --- is this possible?