pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: smiley2211 <smiley2211@yahoo.com>
To: pgsql-admin@postgresql.org
Subject: Re: Delete COLUMN data
Date: Thu, 9 Aug 2007 07:55:17 -0700 (PDT)
Message-ID: <12073910.post@talk.nabble.com> (raw)
In-Reply-To: <12073367.post@talk.nabble.com>
References: <12073367.post@talk.nabble.com>


hmmm...

I was just thinking...maybe using UPDATE to NULL field value would be an
option....

Update tblname set field1 = NULL;

Thanks...Michelle


smiley2211 wrote:
> 
> Hello all,
> 
> I need to DELETE all the DATA from 3 columns in my table...what is the
> BEST way to handle this???  I don't want to DROP the columns just clear
> out ALL the data in those 3 fields...
> 
> Thanks...Michelle
> 

-- 
View this message in context: http://www.nabble.com/Delete-COLUMN-data-tf4242917.html#a12073910
Sent from the PostgreSQL - admin mailing list archive at Nabble.com.




view thread (5+ messages)  latest in thread

Message-ID: <12073910.post@talk.nabble.com>
Permalink:  ../12073910.post@talk.nabble.com/
Also on:    postgresql.org/message-id/12073910.post@talk.nabble.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: smiley2211@yahoo.com
  Subject: Re: Delete COLUMN data
  In-Reply-To: <12073910.post@talk.nabble.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox