[python-sybase] can't get results from 'select from procedure'

Alexey Morsov samurai at ricom.ru
Fri Apr 10 19:04:38 EST 2009


Hello,

I'v use pysybase module compiled with freetds.
Today i found strnage bug.
If a call
c.execute("select paper_id from dba.paperportfolio(current date, 1111, 1, 1, '', 0)")
and then
c.fetchall() return empty list :(

paperportfolio is stored procedure. And this sql code 100% working (if i
execute it from sybase isql).

-- 
WBR,
Alexey Morsov
программист ЗАО "ИК "Риком-Траст"
Jabber: samurai at www.fondmarket.ru
ALT Linux Team Member

<raorn> Pilot: new feature: DHCP_HOSTNAME - это как?
<vvk> raorn: это hostname для регистрации в ddns
<raorn> о! крутто!
<Pilot> скоро встрою новый API для RSS и варки кофе
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: Digital signature
Url : http://www.object-craft.com.au/pipermail/python-sybase/attachments/20090410/26c34f19/attachment.pgp 


More information about the Python-sybase mailing list