import ctds
connection = ctds.connect('localhost', user='sa', password='password')
with connection:
with connection.cursor() as cursor:
cursor.execute('''\
/* this is great code: */
select @@version
''')
row = cursor.fetchone()
print(row[0])
Expected: Success - prints db version
Actual: "_tds.InterfaceError: invalid parameter marker" - caused by ':' in multi-line comment
Expected: Success - prints db version Actual: "_tds.InterfaceError: invalid parameter marker" - caused by ':' in multi-line comment