Re: [SQL] SELECT TOP X -- part 2 -- parse error?

Поиск
Список
Период
Сортировка
От José Soares
Тема Re: [SQL] SELECT TOP X -- part 2 -- parse error?
Дата
Msg-id 372082EB.B7589C22@sferacarta.com
обсуждение исходный текст
Ответ на SELECT TOP X -- part 2 -- parse error?  ("Justin Long" <justinlong@strategicnetwork.org>)
Список pgsql-sql

Justin Long ha scritto:

> Thanks for the answers. I downloaded and installed PG5... now I have a new
> problem. I can't seem to access any documentation on the syntax of the new
> additions to PG5, and I'm getting a parse error with the following command
>
>         SELECT * FROM database LIMIT 5
                                        ^^^^^^^^
database ????
the right syntax is:   SELECT * FROM table LIMIT 5

>
> It says
>
>         parse error at or near "5"
>

EXAMPLE:

prova=> select * from test limit 1; v|  c|  i
---+---+---
123|123|123
(1 row)

José



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

Предыдущее
От: Julian Scarfe
Дата:
Сообщение: Re: [SQL] Finding the "most recent" rows
Следующее
От: "Justin Long"
Дата:
Сообщение: FW: [SQL] SELECT TOP _x_ ??