Skip to content

Commit

Permalink
Revert "Azure Synapse Compatibility (airbytehq#18294)" (airbytehq#24371)
Browse files Browse the repository at this point in the history
This reverts commit 740d629.
  • Loading branch information
grishick authored Mar 22, 2023
1 parent dd74226 commit 609b453
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 609b453

Please sign in to comment.