Question

Database querry for CSV

  • 15 February 2024
  • 3 replies
  • 68 views

Badge +2

can we update CSV file data using the query?

 

UPDATE [MissingCustomers.csv]

SET [PASS] = 'TARUNA'

WHERE [PASS] = 'NA';


3 replies

Userlevel 6
Badge +15

Hi @Prashant M ,

Yes, you can update

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

 
Userlevel 3
Badge +7

Hi @Prashant M 

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

Badge +1

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!

Reply