Re: [Q] SQLMoreResults causes error in SQLFetchScroll
Вложения
В списке pgsql-odbc по дате отправления:
| От | Christophe Garault |
|---|---|
| Тема | Re: [Q] SQLMoreResults causes error in SQLFetchScroll |
| Дата | |
| Msg-id | 4A103306.5070208@garault.org обсуждение исходный текст |
| Ответ на | Re: [Q] SQLMoreResults causes error in SQLFetchScroll ("V S P" <toreason@fastmail.fm>) |
| Ответы |
Re: [Q] SQLMoreResults causes error in SQLFetchScroll
|
| Список | pgsql-odbc |
Hi Vlad, V S P wrote : > Therefore I am pretty certain that it is SQLMoreResults and > not SQLRowCount that cause a problem for pgODBC. > Sorry I didn't pay enough attention to your code this morning. And yes SQLMoreResults could be the cause of your problem: this function is supposed to move to the next resultset ! So calling SQLFetchScroll after SQLMoreResults when having only one resultset is not a good idea. Btw I'm not sure of what your code is supposed to do... Have a look at Ms's site if you want more information: http://msdn.microsoft.com/en-us/library/ms714673(VS.85).aspx > But going back to your question, SQLFetchScroll will error out > if you do not use select (because it is typically Select that returns > result rows). Sure, I thought you were only interested in SQLRowCount. A lack of caffeine on Sunday morning causes apologies. ;) -- Christophe Garault
В списке pgsql-odbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера