RE: [SQL] Accessing to a granted table.
RE: [SQL] Accessing to a granted table.
От:
Greg Youngblood <YoungblG@houstoncellular.com>
Дата:
Try dropping the "user1" in "user1.table1". Instead just "SELECT * FROM TABLE1". That is, if I understand the question correctly... Greg Gregory S. Youngblood ext 2164 > -----Original Message----- > From: Roberto Perez Lita [mailto:rperez@tissat.es] > Sent: Tuesday, August 24, 1999 4:17 AM > To: pgsql-sql@postgreSQL.org > Subject: [SQL] Accessing to a granted table. > > > Hi all, I have two users in a postgresql database, one is called user1 > and the other user2. > I have one table owned by the user1 which is called table1. > I have granted the table1 to be selected by the user2. > My question is: how can I access to table1 from the user2? > > I have tried from user2: SELECT * FROM USER1.TABLE1 but it > doesn't work. > > Thanks in advance. > Roberto Pérez. >