Closed kzollove closed 1 year ago
Hi @kzollove this is an issue with SqlRender - We dropped support for very old versions of SqlServer around last year. We discussed supporting it again but it's difficult for us to justify. Is there any reason that you can't upgrade to a newer version?
Hi @azimov whoops I should've looked into the backlog (https://github.com/OHDSI/CohortDiagnostics/issues/981 is referring to same CDM instance).
I imagined that our SqlServer version was just too old to be supported. We are in the process of cloud migration but need to use the legacy database for an urgent project. For the time being I think we will just fork and edit.
The version of SQL Server that hosts our main CDM (2014) does not support the DROP TABLE IF EXISTS statement. Because of this, we get FATAL error at the createConceptTable() step when running executeDiagnostics:
R Report
SQL report
https://github.com/OHDSI/CohortDiagnostics/blob/311e7c6944d82b9ab9da0bd7d856a975fa5a55b9/inst/sql/sql_server/CreateConceptIdTable.sql#L1