Hi, whats the code i can use?? say I have a input box in a form and when a button is pushed it runs a a query and that query takes what the user has inputed and search the databse for the details matching the input. Now I have it all set up but the query runs using input but it must be the exact word and spelling to find the details. What code can i use in SQL in the query to make the query find anything similar. eg input = Jo, query finds details matching= jo, joanna, john etc HELP!!!
Query based off of text inputSQL
Page 1 of 1
1 Replies - 1642 Views - Last Post: 21 May 2006 - 08:29 PM
Replies To: Query based off of text input
#2
Re: Query based off of text input
Posted 21 May 2006 - 08:29 PM
well i just know a liitle bit of sql but i suupose this would work
SELECT * FROM table WHERE name LIKE "jo%";
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote



|