I searched a statement in google which is very common
e.g. data
Name ID
Carmen 123
David 456
Daisy 789
John 431
Leon 670
Simon 553
SELECT ID FROM data WHERE Name LIKE 'D%';
This is a very very common code where SELECT...FROM.. ..WHERE.....LIK E.....
This will search all the data from data which begin with d
which result is 456 and 789
However I don't know why this function cannot work in my access2000 environment.... ..
It always can't search the string with % at the end
Which
SELECT ID FROM data WHICH Name LIKE 'DAVID';
result return is david
SELECT ID FROM data WHICH Name LIKE 'DAVI?';
result is david too....
However
SELECT ID FROM data WHICH Name LIKE 'DAVI%';
Result is nothing.....
HELP
My company need me finish this project in one week and the deadline is coming......
e.g. data
Name ID
Carmen 123
David 456
Daisy 789
John 431
Leon 670
Simon 553
SELECT ID FROM data WHERE Name LIKE 'D%';
This is a very very common code where SELECT...FROM.. ..WHERE.....LIK E.....
This will search all the data from data which begin with d
which result is 456 and 789
However I don't know why this function cannot work in my access2000 environment.... ..
It always can't search the string with % at the end
Which
SELECT ID FROM data WHICH Name LIKE 'DAVID';
result return is david
SELECT ID FROM data WHICH Name LIKE 'DAVI?';
result is david too....
However
SELECT ID FROM data WHICH Name LIKE 'DAVI%';
Result is nothing.....
HELP
My company need me finish this project in one week and the deadline is coming......
Comment