Re: delete queires

Поиск
Список
Период
Сортировка
От Frank Wiles
Тема Re: delete queires
Дата
Msg-id 20011029105027.U6370@frank.wiles.org
обсуждение исходный текст
Ответ на delete queires  ("stephen" <stephen.hubbard@btinternet.com>)
Список pgsql-sql
.------[ stephen wrote (2001/10/27 at 22:13:10) ]------| |  i was wondering if it's possible to make a delete query to
deleteonly one |  of the two fields in a table.  I have tried only putting that field as |  the "from" but it still
deletesthe other field also?|  |  Is there a macro or module code i could use?  your help would be much |  appreciated|
`-------------------------------------------------
 
   No you can't delete a field, delete is only for entire rows. 
   What you'll want to do is UPDATE the field(s) in question to NULLs. 
---------------------------------  Frank Wiles <frank@wiles.org>
http://frank.wiles.org---------------------------------



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

Предыдущее
От: "Johnny Predicto"
Дата:
Сообщение: PostgreSQL, Java & JDBC
Следующее
От: "Ross J. Reedstrom"
Дата:
Сообщение: Re: delete queires