Skip to main content
Cadet | Tier 2
February 15, 2024
Question

Database querry for CSV

  • February 15, 2024
  • 3 replies
  • 176 views

can we update CSV file data using the query?

 

UPDATE [MissingCustomers.csv]

SET [PASS] = 'TARUNA'

WHERE [PASS] = 'NA';

3 replies

Tamil Arasu10
Most Valuable Pathfinder
Most Valuable Pathfinder
February 20, 2024

Hi @Prashant M ,

Yes, you can update

UPDATE your_table_name
SET PASS = 'TARUNA'
WHERE PASS = 'NA';
 

 
_Tamil_
Abhay Naik
Navigator | Tier 3
May 10, 2024

Hi @Prashant M 

Were you able to solve this? I think this gives syntactical error even though the query is correct.

Abhay Naik
Cadet | Tier 2
July 18, 2024

I am trying to insert new data into a csv file using database actions but getting syntax error,

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

Any help would be appreciated!