Ligia Pimentel wrote:
> I don't know if this can be done...
> 
> In MSSQL Server I can access a table created in another database (on the
> same server, of course) by using the following syntaxis...
> 
> select * from databasename..tablename where condition;
> 
> Can I do this in postgres?
> 
> I'm using version 7.2 on a redhat server...

Sorry, you can't do cross-db queries with PostgreSQL.  Take a look at
/contrib/dblink as an option.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  [EMAIL PROTECTED]               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026



---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly


Reply via email to