Skip to main content
Question

Database querry for CSV

  • February 15, 2024
  • 3 replies
  • 142 views

Forum|alt.badge.img+2

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
Forum|alt.badge.img+18
  • Most Valuable Pathfinder
  • February 20, 2024

Hi @Prashant M ,

Yes, you can update

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

 

Abhay Naik
Forum|alt.badge.img+8
  • 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.


Forum|alt.badge.img+1
  • 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!