From the sample code and if I had no choice and had to place all data of all rows of AlternativeCode from S-0004 to S-9999 into code and then insert those multiple rows into a table. Is dumping all data into sSQL possible? Are there any ways to write code for this purpose ?
sSQL = "INSERT INTO ""AlternativeCode"" (ID, ""AlternativeCode"", ""Code1"", ""Code2"", ""Code3"", ""Code4"", ""Code5"", ""Code6"")" & _
" VALUES ('" & "6" & "','" & "S-0004" & "', '" & "02" & "', '" & "02" & "', '" & "02" & "', '" & "02" & "', '" & "02" & "', '" & "02" & "')"
.
.
.
.
" VALUES ('" & "6" & "','" & "S-9999" & "', '" & "02" & "', '" & "02" & "', '" & "02" & "', '" & "02" & "', '" & "02" & "', '" & "02" & "')"
oStatement.executeUpdate(sSQL)