how to update a column

Поиск
Список
Период
Сортировка
От dbuechel@tiscali.ch
Тема how to update a column
Дата
Msg-id 3FC6F87D0000A464@mx1.tiscali.ch
обсуждение исходный текст
Ответы Re: how to update a column  ("D'Arcy J.M. Cain" <darcy@druid.net>)
Список pgsql-interfaces
Hello,

I want to update only one colomn ('cout') of a PostgreSQL table (table name:
aretes; colomns: gid, long, vit, acces, cout). For each line of the table
I calculate the 'cout' attribut with Python, then I want to update the
'cout'attribut of each line with the new value. I tried with the update
function
of the pg module, but it wasn't sucessfull.

Can anyone give me some help or an example of an update command?

Thanks
Daniela








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

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: ecpg in Version 7.4
Следующее
От: "D'Arcy J.M. Cain"
Дата:
Сообщение: Re: how to update a column