L
|
lewis 7/10/2020 |
How do I finish this query to add the % and (concat(L_first_name,' ',L_last_name) like ( select RS_search from Resume_Search))
|
P
|
PaulM author 7/10/2020 |
Offhand, you might try using IN (and no "%") instead of LIKE. It appears you are comparing against a set and not a single value.
|
L
|
lewis 7/10/2020 |
Thanks but it has to be like as the entry in Resume_Search might not be the full name so I need the wildcat search
|
P
|
PaulM author 7/10/2020 |
We need more to go on as we can only guess what you are trying to do and what data you are working with.
|
L
|
lewis 7/10/2020 |
For specific syntax we need to know what database you are using. Here is what works in a PostgreSQL test. AND ( CONCAT(L_first_name,' ',L_last_name) LIKE ( CONCAT('%', (SELECT RS_search FROM Resume_Search), '%') ) )
|
P
|
PaulM author 7/11/2020 |
For specific syntax we need to know what database you are using. Here is what works in a PostgreSQL test. AND ( CONCAT(L_first_name,' ',L_last_name) LIKE ( CONCAT('%', (SELECT RS_search FROM Resume_Search), '%') ) )
|