mentalhard
Well-known member
- Joined
- Aug 7, 2006
- Messages
- 123
- Programming Experience
- Beginner
Order BY [RESOLVED]
Hi,
Marry Chrismas everyone!!!
Currently i have a query like following:
and it returns all the names that contains the searching term. What i really want is to make it that it first returns "Titles" that starts with the search term and then the other Titles that possible contains the search term inside (middle or end).
Thanks
Hi,
Marry Chrismas everyone!!!
Currently i have a query like following:
VB.NET:
Dim strSelect As String = "SELECT DISTINCT [title] FROM [books] WHERE [title] LIKE '%" & Me.txtSearch.Text & "%'"
and it returns all the names that contains the searching term. What i really want is to make it that it first returns "Titles" that starts with the search term and then the other Titles that possible contains the search term inside (middle or end).
Thanks
Last edited: