order by in c code??

Поиск
Список
Период
Сортировка
От Ken Plumbly
Тема order by in c code??
Дата
Msg-id 37652CF4.15902D19@mail.ocol.com
обсуждение исходный текст
Список pgsql-interfaces
I am writing an ap in c,  everything works fine
except the order by portion of my query.

I am generating my query like this:

sprintf(querystr, "select * from %s order by %s", table,  field);


however,  the returned query is not sorted,  it comes out as
the order the data is stored in the table.

Any ideas????

Thanks.

ken

kvp@ocol.com


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

Предыдущее
От: Artur Kudelka
Дата:
Сообщение: 16-bit ODBC driver for PostgreSQL
Следующее
От: Michael J Davis
Дата:
Сообщение: RE: [INTERFACES] odbc?