We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30033f6 commit 985e872Copy full SHA for 985e872
src/test/resources/vocabulary/sql/search-expected-3.sql
@@ -1,4 +1,4 @@
1
select CONCEPT_ID, CONCEPT_NAME, ISNULL(STANDARD_CONCEPT,'N') STANDARD_CONCEPT, ISNULL(INVALID_REASON,'V') INVALID_REASON, CONCEPT_CODE, CONCEPT_CLASS_ID, DOMAIN_ID, VOCABULARY_ID, VALID_START_DATE, VALID_END_DATE
2
from omop_v5.concept
3
-where 1=1 AND (LOWER(CONCEPT_NAME) LIKE ? or LOWER(CONCEPT_CODE) LIKE ? or CONCEPT_ID = ?)
+where 1=1 AND (LOWER(CONCEPT_NAME) LIKE ? or LOWER(CONCEPT_CODE) LIKE ? or CONCEPT_ID = CAST(? as int))
4
order by CONCEPT_NAME ASC
0 commit comments