Re: sudoku in an sql statement

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: sudoku in an sql statement
Дата
Msg-id 407d949e0911041528x1c204ff4kbdfdd8059eb2f984@mail.gmail.com
обсуждение исходный текст
Ответ на Re: sudoku in an sql statement  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: sudoku in an sql statement  (Thomas Kellerer <spam_eater@gmx.net>)
Список pgsql-general
On Sun, Nov 1, 2009 at 3:19 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> I think the Oracle guy's version could easily be adapted to PG 8.4 ---
> those little rownum subqueries seem to be just a substitute for not
> having generate_series(1,9), and everything else is just string-pushing.
> Don't have time to try it myself right now, though.

Interestingly the first thing I ran into when I started doing so was
that apparently Oracle *doesn't* handle the lack of the RECURSIVE
attribute properly. It still put the common table expressions in scope
for the subsequent common table expressions even without the RECURSIVE
keyword, which is apparently just a noise word in Oracle.

--
greg

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

Предыдущее
От: Andrej
Дата:
Сообщение: Re: sudoku in an sql statement
Следующее
От: Richard Broersma
Дата:
Сообщение: Re: sudoku in an sql statement