| От | Byron Nikolaidis |
|---|---|
| Тема | Re: [INTERFACES] row count |
| Дата | |
| Msg-id | 36E44696.38F7C64B@insightdist.com обсуждение исходный текст |
| Ответ на | Re: [INTERFACES] row count (Sergio <ser@perio.unlp.edu.ar>) |
| Список | pgsql-interfaces |
Sergio wrote: > Byron Nikolaidis <byronn@insightdist.com> el día Mon, 08 Mar 1999 09:27:34 > -0500, escribió: > > > > > > >Sergio wrote: > > > >> Byron, > >> > >> How I can know the number of rows in the set after a _select_ > >> (ie SQLRowCount isn't valid here) statement using ODBC ? > >> > >> > > > >Actually, it is valid, and will return the number of rows in the result > >set, but only if you are *NOT* using the "Declare/Fetch" option of the > >driver. > > Very good information, thanks. > > Now suppose that I don't know if the user is using declare/fetch, > I have another option ? > > SQLRowCount returns -1, which is what the odbc spec says to return if the driver doesnt know the count. Byron
В списке pgsql-interfaces по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера