Re: delete queires - Mailing list pgsql-sql

From Frank Wiles
Subject Re: delete queires
Date
Msg-id 20011029105027.U6370@frank.wiles.org
Whole thread Raw
In response to delete queires  ("stephen" <stephen.hubbard@btinternet.com>)
List 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 by date:

Previous
From: "Johnny Predicto"
Date:
Subject: PostgreSQL, Java & JDBC
Next
From: "Ross J. Reedstrom"
Date:
Subject: Re: delete queires