sql-server-2008

Not sure why my Stored Procedure isn't working between pyodbc and SQL Server

Not sure why my Stored Procedure isn't working between pyodbc and SQL Server Question: I’m pretty new to Python (2.7) and am just not a lot of help with pyodbc. I have a script that calls a stored procedure: sql = “exec gen_all.dbo.rpt_trinity_total ‘” + startDate + “‘, ‘” + endDate + “‘” print sql …

Total answers: 2

MSSQL2008 – Pyodbc – Previous SQL was not a query

MSSQL2008 – Pyodbc – Previous SQL was not a query Question: I can’t figure out what’s wrong with the following code, The syntax IS ok (checked with SQL Management Studio), i have access as i should so that works too.. but for some reason as soon as i try to create a table via PyODBC …

Total answers: 11

MSSQL in python 2.7

MSSQL in python 2.7 Question: Is there a module available for connection of MSSQL and python 2.7? I downloaded pymssql but it is for python 2.6. Is there any equivalent module for python 2.7? I am not aware of it if anyone can provide links. Important note: in the meantime there is a pymssql module …

Total answers: 4