|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
SQL LIKE query problem.
Hi all,
I am trying to execute this simple like query but it doesn't work. Code:
SELECT * FROM tblInvitee WHERE FirstName LIKE '%ad%'; This should ideally return all records where ad is there anywhere in the FirstName but it returns no results. However if i try, Code:
SELECT * FROM tblInvitee WHERE FirstName = 'fade'; then it will return about 6 records, which is correct. can anyone help why the first query doesn't work as it is supposed to. many thanks. |
|
#2
|
||||
|
||||
|
Read from here, this might give u some insight.
http://www.techonthenet.com/sql/like.php A friendly advise: learn to use google for searching abt ur questions ![]() |
![]() |
| Viewing: ASP Free Forums > Database > SQL Development > SQL LIKE query problem. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
![]() |
|