Incorrect SQL is generated when inserting into Google BigQuery on Strategy 2019. The target tables are duplicated in the insert statement as shown below:
Error type: Odbc error. Odbc operation attempted: SQLExecDirect. [42000:70: on SQLHANDLE] [Strategy][BigQuery] (70) Invalid query: Syntax error: INSERT target cannot have an alias at [1:28] Connection String: DSN=xxx;UID=xxx@xxx;. SQL Statement: insert into TX6DW48ZMOP000 TX6DW48ZMOP000 values (143, 'Leslie').
This is a known issue in Strategy 2019.
This issue has been fixed in Strategy 2020. Upgrade to this version or later to take advantage of the fix.
DATABASE.PDSfile under Google BigQuery:
<PROPERTY NAME="Insert Into Values Pattern" VALUE="insert into #0 #1 values (##0)" />