I need the script to monitor the sql server expiration from linux by python code and
In SQL output is coming but in linux, it gives the following error:
>>> cursor.execute("select loginproperty('tibbr_db','DaysUntilExpiration')") Traceback (most recent call last): File "<stdin>", line 1, in <module> pyodbc.Error: ('ODBC data type -150 is not supported. Cannot read column .', 'HY000')