Re: Sql ORDER BY and ASC/DESC question

Поиск
Список
Период
Сортировка
От A. Kretschmer
Тема Re: Sql ORDER BY and ASC/DESC question
Дата
Msg-id 20080130104226.GF26490@a-kretschmer.de
обсуждение исходный текст
Ответ на Sql ORDER BY and ASC/DESC question  ("Jaroslav Sivy" <yarex@pobox.sk>)
Ответы Re: Sql ORDER BY and ASC/DESC question  ("Bart Degryse" <Bart.Degryse@indicator.be>)
Re: Sql ORDER BY and ASC/DESC question  (Gregory Stark <stark@enterprisedb.com>)
Список pgsql-sql
am  Wed, dem 30.01.2008, um 11:35:51 +0100 mailte Jaroslav Sivy folgendes:
> Hello everyone,
> 
> I have following problem: am using pl/sql functions to trigger some
> sql code and i need to pass ORDER_BY column name and ASC/DESC sorting
> order as an input parameters into that function and order the result
> based on these input parameters.
> 
> The problem is, that the only way is to create query as "string" and
> then execute it as "string".

Right.


> 
> Is there any other way around how to avoid that "string query"?

No.


> If it's not possible, could anyone implement this feature into one of
> future versions? I think that it would be quite handy to have

Unlikely...


Andreas
-- 
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net


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

Предыдущее
От: "Jaroslav Sivy"
Дата:
Сообщение: Sql ORDER BY and ASC/DESC question
Следующее
От: "Bart Degryse"
Дата:
Сообщение: Re: Sql ORDER BY and ASC/DESC question