Skip to content

Commit 09228ad

Browse files
committed
continue..
1 parent 1212eb4 commit 09228ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Providers/FreeSql.Provider.Oracle/Curd/OracleInsert.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public string ToSqlBatchIdentityColumn()
7474
var didx = 0;
7575
foreach (var d in _source)
7676
{
77-
if (_source.Count > 1) sb.Append("\r\n UNION ALL\r\n ");
77+
if (didx > 0) sb.Append("\r\n UNION ALL\r\n ");
7878
sb.Append(" SELECT ");
7979
var colidx2 = 0;
8080
foreach (var col in cols)

0 commit comments

Comments
 (0)