test/apps/util/mssql.py

9 lines
112 B
Python

def executeSQL(conn,SQL_QUERY):
cursor = conn.cursor()
cursor.execute(SQL_QUERY)
return cursor