LIMIT modifier

Поиск
Список
Период
Сортировка
От Roderick A. Anderson
Тема LIMIT modifier
Дата
Msg-id Pine.LNX.4.33.0312150927440.26835-100000@main.cyber-office.net
обсуждение исходный текст
Ответы Re: LIMIT modifier
Список pgsql-general
I'm dealing with a project that requires me to query a MS SQL Server.  Not
a PostgreSQL issue I know but I want to ask if the LIMIT modifier is SQL
standard?  MS SQL Server uses a TOP modifier.

    select top 1 * from xxx;

Whereas all the SQL RDBMS' I've used before used

    select * from xxx limit 1;

Any enlightenment is appreciated. (I'm putting notes in the code to
reflect the non-standard stuff I've had to deal with.)


TIA,
Rod
--
    "Open Source Software - You usually get more than you pay for..."
     "Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL"



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

Предыдущее
От: Nathaniel Price
Дата:
Сообщение: Re: Reordering results for a report (follow-up)
Следующее
От: Arjen van der Meijden
Дата:
Сообщение: Re: LIMIT modifier