question re incrementing an integer field in a table.

Поиск
Список
Период
Сортировка
Hope this question isn't too idiotic and makes sense.


Is there a simple way to increment the value of an integer field in a table in
sql  without reading the fields value  adding 1 and re-saving? (the field is not
a primary key or any other sort of foreign key)

regards

richard


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

Предыдущее
От: Jayadevan M
Дата:
Сообщение: Re: Rounding result of expression in SELECT ..AS..
Следующее
От: Thom Brown
Дата:
Сообщение: Re: question re incrementing an integer field in a table.