Search Postgresql Archives

Re: schema name in SQL statement.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 -------------- Original message ----------------------
From: "Masis, Alexander (US SSA)" <alexander.masis@xxxxxxxxxxxxxx>
> I have to explicitly specify the schema name to make SQL statement to
> work.
> Can I set the schema before the query, or set a default schema?
> My current statement:
> "SELECT col FROM schema.table"
> I like to be able to use generic SQL statement like:
> "SELECT col FROM table"
> 
> 
> 
> -- 
See search_path in:
http://www.postgresql.org/docs/8.3/interactive/runtime-config-client.html


--
Adrian Klaver
aklaver@xxxxxxxxxxx



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux