Skip to main content
Question

Date query in excel as database

  • November 10, 2022
  • 1 reply
  • 238 views

Forum|alt.badge.img+5

Hi,

 

I am using excel as database & pass date of birth (picked from excel) in an update query as below :

 

Update [Sheet1$$] set Status ="Matched" where DOB ='11/10/2022' but I am getting a syntactical error pop up.

 

Can anyone please help me with conversion or casting or is there anything else that I am missing

1 reply

Paul Hawkins
Forum|alt.badge.img+7
  • Navigator | Tier 3
  • November 14, 2022

@Abhishek Mishra​ Switch the double quotes for single ones around 'Matched'

 

Failing that - what is the message you are seeing? Will help diagnose.