Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Using schema



On Nov 30, 2007 9:00 AM, Daniel Caune <daniel(dot)caune(at)ubisoft(dot)com> wrote:

> The cool thing with this, compared to the USE statement supported by
> some other RDBMS, is that the user is not restricted to one given schema
> without explicit schema declaration:
>
>   SELECT * FROM foo;                          -- Uses schema my_schema
>   SELECT * FROM bar;                          -- Uses schema public
>   SELECT * FROM foo, bar WHERE foo.i = bar.i; -- Uses both schemas
>
> That is damn flexible! :-)

Hehe.  yeah, every time I have to use Oracle at work I feel like I'm
putting on a straight jacket.



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group