Any ideas. I am running a script to do some inserts and deletes. Once I hit 10 inserts (or deletes), I am trying to issue a commit with this code:
If line_ctr = 10 Then
Commit = cnMcLDBA.Execute("commit;"
line_ctr = 0
MsgBox "Commit done"
Else
line_ctr = line_ctr + 1
wscript.echo line_ctr
End If
I am getting the following error:
[Microsoft][ODBC SQL Server Driver][SQL Server]String or binary data would be truncated.
Code: 80040E57.
Any clue how to fix?
If line_ctr = 10 Then
Commit = cnMcLDBA.Execute("commit;"
line_ctr = 0
MsgBox "Commit done"
Else
line_ctr = line_ctr + 1
wscript.echo line_ctr
End If
I am getting the following error:
[Microsoft][ODBC SQL Server Driver][SQL Server]String or binary data would be truncated.
Code: 80040E57.
Any clue how to fix?