diff --git a/airbyte-integrations/connectors/destination-mssql/src/main/java/io/airbyte/integrations/destination/mssql/SqlServerOperations.java b/airbyte-integrations/connectors/destination-mssql/src/main/java/io/airbyte/integrations/destination/mssql/SqlServerOperations.java index abd21b8861a3..b73227fb1fd6 100644 --- a/airbyte-integrations/connectors/destination-mssql/src/main/java/io/airbyte/integrations/destination/mssql/SqlServerOperations.java +++ b/airbyte-integrations/connectors/destination-mssql/src/main/java/io/airbyte/integrations/destination/mssql/SqlServerOperations.java @@ -35,7 +35,7 @@ public String createTableQuery(final JdbcDatabase database, final String schemaN "IF NOT EXISTS (SELECT * FROM sys.tables t JOIN sys.schemas s ON t.schema_id = s.schema_id " + "WHERE s.name = '%s' AND t.name = '%s') " + "CREATE TABLE %s.%s ( \n" - + "%s VARCHAR(64) PRIMARY KEY NONCLUSTERED NOT ENFORCED,\n" + + "%s VARCHAR(64) PRIMARY KEY,\n" + "%s NVARCHAR(MAX),\n" // Microsoft SQL Server specific: NVARCHAR can store Unicode meanwhile VARCHAR - not + "%s DATETIMEOFFSET(7) DEFAULT SYSDATETIMEOFFSET()\n" + ");\n",