Re: schema name in SQL statement.
От | Lennin Caro |
---|---|
Тема | Re: schema name in SQL statement. |
Дата | |
Msg-id | 842435.32861.qm@web59505.mail.ac4.yahoo.com обсуждение исходный текст |
Ответ на | schema name in SQL statement. ("Masis, Alexander \(US SSA\)" <alexander.masis@baesystems.com>) |
Список | pgsql-general |
--- On Tue, 8/19/08, Masis, Alexander (US SSA) <alexander.masis@baesystems.com> wrote: > From: Masis, Alexander (US SSA) <alexander.masis@baesystems.com> > Subject: [GENERAL] schema name in SQL statement. > To: pgsql-general@postgresql.org > Date: Tuesday, August 19, 2008, 10:52 PM > 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" > > > > -- > Sent via pgsql-general mailing list > (pgsql-general@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-general you can change the search path of the schema SET search_path TO myschema
В списке pgsql-general по дате отправления: