Re: Two novice questions

Anthony E . Greene <agreene@pobox.com>

From: "Anthony E . Greene" <agreene@pobox.com>
To: pgsql-novice@postgresql.org
Date: 2001-01-15T21:03:38Z
Lists: pgsql-novice
On Sun, 14 Jan 2001 03:40:56 Jonathan Chum wrote:
>I have two problems. One, I would like to know how to remove a database. It

Use "destroydb databasename" at a shell command line.

>My second question is that I have created a table with a column, FID. 
>However, when I SELECT FID FROM table, it will result:

Column names should always be lowercase or quoted:

  SELECT "FID" FROM forum;  (if the column name is "FID" -- unlikely)
or
  SELECT fid FROM forum;    (if the column name is "fid")

Tony
-- 
Anthony E. Greene <agreene@pobox.com> <http://www.pobox.com/~agreene/>
PGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
Chat:  AOL/Yahoo: TonyG05    ICQ: 91183266
Linux. The choice of a GNU Generation. <http://www.linux.org/>