Skip to main content
Cadet | Tier 2
July 18, 2024
Solved

Insert/update data in a CSV file using database actions

  • July 18, 2024
  • 2 replies
  • 322 views

I am trying to insert/delete data in/from a CSV file using database actions but getting syntactical error,

INSERT INTO [WBSApprover_20210712.csv] ([PUPlant], [User], [PasswordAdapter]) VALUES ('$recSNOWData[0]$', '$recSNOWData[2]$', 'PasswordAdapter1');

Any help would be greatly appreciated.

This topic has been closed for replies.
Best answer by mamoonmanzoor

Unfortunately, CSV files are static and cannot be updated.
You must either write the data to Excel and update it there

2 replies

jon.stueveapeople
Automation Anywhere Team
Automation Anywhere Team
July 18, 2024

How are you setting up the Database connection string?

Cadet | Tier 2
July 22, 2024

Unfortunately, CSV files are static and cannot be updated.
You must either write the data to Excel and update it there