Skip to content

SQL error or missing database (near "01": syntax error) #5120

Answered by pacmano1
tGitm asked this question in Q&A
Discussion options

You must be logged in to vote

logger.info out your query or put it in $c to see the substituted data. I expect your date needs to be wrapped in quotes. If patientID is of type char, text, varchar, etc it would need to be wrapped in single quotes also.

AND RequestDate = '{requestDate}'

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@jonbartels
Comment options

@tGitm
Comment options

@siddharthsharma9258
Comment options

@tGitm
Comment options

Answer selected by tGitm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants