FIREBIRD How to search only the first word of a field?
-
29-09-2019 - |
문제
I need to search only the first word of a field, ex:
My Table:
Name
---------------------
Henrique Melicio
José Eduardo da Silva
John McFly
My Query (results):
Name
-----------
Henrique
José
John
I need this query, but I do know to make SQL(Select?) statement. I tried using Substring, but I can't results.
해결책
How about using a split function before you pass in the query?
다른 팁
May be you can take a look at regular expression
제휴하지 않습니다 StackOverflow