there's no OUT param or SP support for SQL Server directly, we ask that you use the DBAPI interface directly:
http://docs.sqlalchemy.org/en/latest/core/connections.html#calling-stored-procedures you'll have to consult with your DBAPI how the OUT parameters work. On Tue, Mar 27, 2018 at 2:53 AM, <eugene.de...@gmail.com> wrote: > I can't understand. I trying answer 3 times and each time someone delete my > post. > I use microsoft sql. > > понедельник, 26 марта 2018 г., 16:37:27 UTC+3 пользователь Mike Bayer > написал: >> >> what database? >> >> On Mon, Mar 26, 2018 at 8:39 AM, <eugene...@gmail.com> wrote: >> > Hello! >> > I have something like this >> > >> > DECLARE @return_param INT >> > SET REMOTE_PROC_TRANSACTIONS OFF >> > EXEC procedure_name @return_param, param1, param2 >> > SELECT @return_param >> > >> > >> > How to do this on sqlalchemy? >> > Thanks. >> > With regards, >> > Eugene R. >> > >> > -- >> > SQLAlchemy - >> > The Python SQL Toolkit and Object Relational Mapper >> > >> > http://www.sqlalchemy.org/ >> > >> > To post example code, please provide an MCVE: Minimal, Complete, and >> > Verifiable Example. See http://stackoverflow.com/help/mcve for a full >> > description. >> > --- >> > You received this message because you are subscribed to the Google >> > Groups >> > "sqlalchemy" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> > an >> > email to sqlalchemy+...@googlegroups.com. >> > To post to this group, send email to sqlal...@googlegroups.com. >> > Visit this group at https://groups.google.com/group/sqlalchemy. >> > For more options, visit https://groups.google.com/d/optout. > > -- > SQLAlchemy - > The Python SQL Toolkit and Object Relational Mapper > > http://www.sqlalchemy.org/ > > To post example code, please provide an MCVE: Minimal, Complete, and > Verifiable Example. See http://stackoverflow.com/help/mcve for a full > description. > --- > You received this message because you are subscribed to the Google Groups > "sqlalchemy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sqlalchemy+unsubscr...@googlegroups.com. > To post to this group, send email to sqlalchemy@googlegroups.com. > Visit this group at https://groups.google.com/group/sqlalchemy. > For more options, visit https://groups.google.com/d/optout. -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description. --- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To post to this group, send email to sqlalchemy@googlegroups.com. Visit this group at https://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/d/optout.