Re: Hoow do you drop a column in a table

From: John DeSoi <desoi(at)pgedit(dot)com>
To: Art Fore <art(dot)fore(at)comcast(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Hoow do you drop a column in a table
Date: 2005-02-09 01:01:54
Message-ID: 3074A09D-7A36-11D9-A792-000A95B03262@pgedit.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi Art,

On Feb 8, 2005, at 7:37 PM, Art Fore wrote:

> ALTER TABLE "MPC" DROP COLUMNG do_not_use CASCADE
>
> It appeared to work but did not drop the column. What is the
> dprocedure for dropping a column? an anyone point me to a document
> that tells EXACTLY how to do this? Also, how do you find out the
> dependencies it says it has? I know of none.

Here is the documentation:

http://www.postgresql.org/docs/8.0/interactive/sql-altertable.html

If it still does not work, try again in psql and then paste the output
in your email so we can better understand the problem.

John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Robby Russell 2005-02-09 01:09:38 Re: Hoow do you drop a column in a table
Previous Message Art Fore 2005-02-09 00:37:24 Hoow do you drop a column in a table