title: How to get a SQL Server stored procedure return value using pyodbc?
body: <p>My team's using a python-based wiki server that calls stored procedures on a SQL Server database. Ideally, we'd like to return integer values (1,0,-1) from the stored procedure to show basic results.</p>
  
  <p>According to a <a href="http://groups.google.com/group/sqlalchemy/browse_thread/thread/12e3360ee7efe15d" rel="noreferrer">2008 thread on Google Groups</a>, return values aren't supported by pyodbc, so the alternative is to SELECT the result as a row and check it instead. Is that still the case? Is there a (supported and documented) programmatic way to check the return value from SQL stored procedures? (If so, please add a current reference or example.)</p>