On Wed, May 2, 2018 at 4:12 PM, Cameron Hassler <cameron.hass...@gmail.com> wrote: > I'm trying to execute a stored procedure on MSSQL Server that takes a > single, table-valued parameter. The parameter itself is of a custom type > "StringTable" defined like so: > > CREATE TYPE [dbo].[StringTable] AS TABLE([strValue] [nvarchar](max) NULL) > > Is it possible to execute this procedure using SQLAlchemy? I've spent hours > with the documentation, StackOverflow and Google, and haven't come up with > anything. FYI, this database is in control of another department in my > company, and I can't modify anything there.
did you try: with engine.connect() as conn: conn.execute("stored_procedure(parameter)") ? how do you invoke this procedure anywhere else? any examples? > > -- > 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.