Re: returning the number of rows output by a copy command from a function
В списке pgsql-sql по дате отправления:
| От | Adrian Klaver |
|---|---|
| Тема | Re: returning the number of rows output by a copy command from a function |
| Дата | |
| Msg-id | 50F6E19F.20609@gmail.com обсуждение исходный текст |
| Ответ на | Re: returning the number of rows output by a copy command from a function (James Sharrett <jsharrett@tidemark.net>) |
| Ответы |
Re: returning the number of rows output by a copy command from
a function
|
| Список | pgsql-sql |
On 01/16/2013 09:16 AM, James Sharrett wrote: > The problem I have is that I get nothing back when the COPY is run inside > the function other than what I explicitly return from the function so I > don't have anything to parse. It's odd that the record count in the > function is treated differently than from sql query in GET DIAGNOSTIC > since the format and information in the string (when run outside of the > function) are exactly the same. > Execute strSQL into export_count; What is export_count DECLAREd as? -- Adrian Klaver adrian.klaver@gmail.com
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера