How to get a SQL Server stored procedure return value using pyodbc?

后端 未结 3 964
囚心锁ツ
囚心锁ツ 2021-01-05 12:22

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 proc

3条回答
  •  盖世英雄少女心
    2021-01-05 13:18

    Here's some relevant information: http://code.google.com/p/pyodbc/wiki/StoredProcedures

    It sounds like return values are still not supported, so you'll need to use a SELECT.

提交回复
热议问题