Skip to content

Commit e9b4272

Browse files
committed
u @table name
1 parent 03866e2 commit e9b4272

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SmartCode.Generator/RazorTemplates/ETL/ToMysqlTable.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Build:
8888
{
8989
<text>
9090
PreCommand: create TEMPORARY table @(loadTable) select * from @table.ConvertedName where 1=0;
91-
PostCommand: "delete from @table.ConvertedName where EXISTS(select * from @(loadTable) as temp where temp.@(PKColumn.ConvertedName)=t_payment.@(PKColumn.ConvertedName));
91+
PostCommand: "delete from @table.ConvertedName where EXISTS(select * from @(loadTable) as temp where temp.@(PKColumn.ConvertedName)=@table.@(PKColumn.ConvertedName));
9292
insert into @table.ConvertedName select * from @loadTable;"
9393
</text>
9494
break;

0 commit comments

Comments
 (0)