Hi All,
I am trying to write back some data back to excel based on certain conditions using SQL queries. However the column Phone Number is being read as a keyword
Please refer to the screenshot.
Can someone help ?
Hi @Amritesh ,
The issue is with the column name "Phone Number" is a reserved keyword in SQL. When you use reserved keywords without escaping them, they can conflict with the intended functionality in your SQL query.
You Can try this and let me know.
UPDATE [Sheet1$]
SET
"Phone Number" = '%PhoneNumber%',
[Company Address] = '%CompanyAddress%'
WHERE
[Accounting ID] = 'POI'
(Note:- if you got your solution you can mark as solution and gives kudos)
Thanks & Regards
Vishnu Reddy
Michael E. Gernaey
497
Super User 2025 Season 2
David_MA
436
Super User 2025 Season 2
Riyaz_riz11
244
Super User 2025 Season 2