Example of using DECLARE?

[email protected] Wed, 28 Oct 2009 10:56:28 -0500 (CDT)
Newsgroups gmane.comp.python.sybase
Message-ID <[email protected]>
I routinely use c.execute() to execute SELECT, INSERT, etc and occasionally
use c.callproc() to call stored procedures.  I have never used DECLARE
before however.  How does that fit into c.execute() or c.callproc() calls?
I didn't see any use in the examples or doc directories.  Can that just get
stuffed into the string passed to execute() or callproc()?

Thanks,

-- 
Skip Montanaro - [email protected] - http://www.smontanaro.net/

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference