Re: Two novice questions - Mailing list pgsql-novice

From Anthony E . Greene
Subject Re: Two novice questions
Date
Msg-id 20010115160338.K645@cp5340
Whole thread Raw
In response to Two novice questions  (Jonathan Chum <jchum@techdevelopers.com>)
List 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/>

pgsql-novice by date:

Previous
From: mat@reynerie.yi.org
Date:
Subject: problem with pg_dump
Next
From: "Anthony E . Greene"
Date:
Subject: Re: Re: Postgres access using PHP