Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 31, 2012 03:00 PM by dattatraya.kale
Member
10 Points
25 Posts
May 31, 2012 02:52 PM|LINK
Hi,
There are two fields in the table which is FirstName and LastName. For example:
FirstName LastName
Michael Jorden
How can I find this record if user inputs the search criteria as "Michael Jorden"? Thanks in advance
150 Points
32 Posts
May 31, 2012 03:00 PM|LINK
SELECT * FROM Table WHERE FirstName + LastName LIKE '%Michael Jorden%'.
But this will have some performance issue.
wong0630
Member
10 Points
25 Posts
How can I search the record if I the first name and last name is combined together?
May 31, 2012 02:52 PM|LINK
Hi,
There are two fields in the table which is FirstName and LastName. For example:
FirstName LastName
Michael Jorden
How can I find this record if user inputs the search criteria as "Michael Jorden"? Thanks in advance
dattatraya.k...
Member
150 Points
32 Posts
Re: How can I search the record if I the first name and last name is combined together?
May 31, 2012 03:00 PM|LINK
SELECT * FROM Table WHERE FirstName + LastName LIKE '%Michael Jorden%'.
But this will have some performance issue.
Thanks and Regards,
Dattatraya Kale.