Re: curly braces to group outer joins in queries from
От | Palle Girgensohn |
---|---|
Тема | Re: curly braces to group outer joins in queries from |
Дата | |
Msg-id | 43580000.1068568326@rambutan.pingpong.net обсуждение исходный текст |
Ответ на | Re: curly braces to group outer joins in queries from OpenOffice.org? (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: curly braces to group outer joins in queries from OpenOffice.org?
|
Список | pgsql-sql |
Only, I set up postgreql to connect using JDBC... :( So, the bug is that OO expects an ODBC connection, and I use JDBC... Seems logical. I'll go ask the ODBC guys. Thanks for you help, /Palle --On tisdag, november 11, 2003 11.28.57 -0500 Tom Lane <tgl@sss.pgh.pa.us> wrote: > 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 по дате отправления: