Sorry I was so slow getting back to you. Here is a an insert query we used on an access database. It was contained within a ‘For each row’ loop to insert 1 row at a time as that was we had issues that were hard to debug (probably Type issues) when trying to insert the uipath table into the access table in one single insert statement.
Notice how all the column names are surrounded by [square brackets] - this tells the query that it is a literal and so it treats things like spaces, #, and other symbols as text as long as it’s contained in the brackets
"Insert into Review_data
(
[Task_ID],
[Instance_ID],
[Process],
[Transaction],
[Transaction complete date],
[Contract/Policy/EPN],
[SS#/NPN#/Agent#],
[Processing Rep],
[Review Type],
[Issue State],
[Offshore],
[Onshore],
[RBQ Week],
[Line of Business],
[SubProcess],
[Transaction receive date],
[WMS Code],
[Residence State],
[BD/FMO],
[Peer Reviewer],
[Product],
[Beneficiary_Name]
)
Values
(
@01Task_ID,
@02Instance_ID,
@03Process,
@04Transaction,
@05TransactionCompleteDate,
@06Contract_Policy_EPN,
@07SSN_NPN_AgentNum,
@08ProcessingRep,
@09ReviewType,
@10IssueState,
@11Offshore,
@12Onshore,
@13RBQWeek,
@14LOB,
@15SubProcess,
@16TransactionReceiveDate,
@17WMSCode,
@18ResidenceState,
@19BD_FMO,
@20PeerReviewer,
@21Product,
@22Bene_Name
)"