Re: Function PostgreSQL 9.2

Поиск
Список
Период
Сортировка
От drum.lucas@gmail.com
Тема Re: Function PostgreSQL 9.2
Дата
Msg-id CAE_gQfUSvYHVP+FxTs8n+rkj7pip6NA_VoNz1yXuoRa5eBVbGA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Function PostgreSQL 9.2  ("drum.lucas@gmail.com" <drum.lucas@gmail.com>)
Ответы Re: Function PostgreSQL 9.2
Список pgsql-general
Just forgot to say:


[...]
 
 

Does increment_client_code relate to users or some other table, say clients?


nope.. there is no link between them



If the users.code is empty/null, then the trigger has to get the last number from client_code_increment and put on the users.code column

 


[...]

В списке pgsql-general по дате отправления: