From: Josh Berkus <josh@agliodbs.com>
To: mbenzid@yahoo.de
To: pgsql-sql@postgresql.org
Subject: Re: Why can't I .........
Date: Tue, 07 Aug 2001 09:34:10 -0700
Message-ID: <web-98036@davinci.ethosmedia.com> (raw)
In-Reply-To: <209b95b8.0107302354.7ff1147e@posting.google.com>
Mounir,
> -- do a join between two databases within the same installation.
>
> ... where db1.table1.userid = db2.table2.userid
Because this is not supported on PostgreSQL. There are a number of
reasons, and it may never be supported because there are drawbacks to
allowing databases to reference each other (mainly security).
> -- use labels to name columns in this way
>
> ... select col1 userid, col2 name from ... (instead of using AS)
Because AS is the ANSI SQL 92 standard. And we like standards.
> -- do an update with full referenced colomns
>
> ... update table1 set table1.col1=value
Because UPDATES, per the SQL 92 standard, are on one table only. Thus
any refenced columns *must* belong to that table, and if so, why name
it?
-Josh Berkus
______AGLIO DATABASE SOLUTIONS___________________________
Josh Berkus
Complete information technology josh@agliodbs.com
and data management solutions (415) 565-7293
for law firms, small businesses fax 621-2533
and non-profit organizations. San Francisco
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-sql@postgresql.org
Cc: josh@agliodbs.com, mbenzid@yahoo.de
Subject: Re: Why can't I .........
In-Reply-To: <web-98036@davinci.ethosmedia.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