pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: j.konzack@arcor.de
To: pgsql-sql@postgresql.org
Subject: CREATE VIEW question...
Date: Wed, 1 May 2002 21:53:06 +0200 (CEST)
Message-ID: <4590508.1020282786645.JavaMail.ngmail@mx09.arcor-online.net> (raw)

Hello there...
 
I have two databases, called db1 an db2. Database db1 contains a table
called memberlist.
Now I will create a view, called members, in database db2 (containig data
from table memberlist) with the following query:
 
CREATE VIEW members AS SELECT * FROM db1.memberlist;
  
->>> this error is displayed: ERROR; parser: error at or near "."
   
How can I create a view in one database with data from a second/different
database?
   
Jan Konzack


-----------------------------------------------------------------------
Riester-Rente - Kassieren Sie das Geld vom Staat:
Zum Förderungsrechner! http://www.arcor.de/home/redir.php/riesterrente
-----------------------------------------------------------------------




view thread (3+ messages)  latest in thread

Message-ID: <4590508.1020282786645.JavaMail.ngmail@mx09.arcor-online.net>
Permalink:  ../4590508.1020282786645.JavaMail.ngmail@mx09.arcor-online.net/
Also on:    postgresql.org/message-id/4590508.1020282786645.JavaMail.ngmail@mx09.arcor-online.net

 · 

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-sql@postgresql.org
  Cc: j.konzack@arcor.de
  Subject: Re: CREATE VIEW question...
  In-Reply-To: <4590508.1020282786645.JavaMail.ngmail@mx09.arcor-online.net>

* 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