Re: curly braces to group outer joins in queries from OpenOffice.org?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: curly braces to group outer joins in queries from OpenOffice.org?
Дата
Msg-id 6997.1068568137@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: curly braces to group outer joins in queries from  (Palle Girgensohn <girgen@pingpong.net>)
Ответы Re: curly braces to group outer joins in queries from
Список pgsql-sql
Palle Girgensohn <girgen@pingpong.net> writes:
> Here's their code snippet (from 
> oo_1.1_src/dbaccess/source/ui/querydesign/QueryDesignView.cxx):

> if(aJoin.getLength())
> {
>     ::rtl::OUString aStr = ::rtl::OUString::createFromAscii("{ OJ ");
>     aStr += aJoin;
>     aStr += ::rtl::OUString::createFromAscii(" },");
>     aTableListStr += aStr;
> }

Now that I look at it, I bet that they are expecting the ODBC driver to
translate "{ OJ ... }" into the appropriate syntax for the database
(either SQL standard or not, depending on the DB :-().

There are a number of ODBC brace-constructs that our driver knows how to
translate, but I don't think that's one of them.  You should bug the
ODBC guys about it.
        regards, tom lane


В списке pgsql-sql по дате отправления:

Предыдущее
От: Palle Girgensohn
Дата:
Сообщение: Re: curly braces to group outer joins in queries from
Следующее
От: Palle Girgensohn
Дата:
Сообщение: Re: curly braces to group outer joins in queries from