₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,049 members, 8,420,050 topics. Date: Thursday, 04 June 2026 at 10:16 AM

Toggle theme

Pls, Help Me In This Java Problem - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingPls, Help Me In This Java Problem (1202 Views)

1 Reply (Go Down)

Pls, Help Me In This Java Problem by shehunDEgreat(op): 3:45pm On Mar 25, 2013
I want to create an application that search the database with keywords but i could only search by typing the complete name of the product i want to search. Pls, help.Thanks in advance
Re: Pls, Help Me In This Java Problem by AZeD1(m): 4:44pm On Mar 25, 2013
This is not a java problem but a search problem. You should query the database using the (IN) keyword.

SELECT * FROM [tablename] WHERE [columnname] IN [keywords]
Re: Pls, Help Me In This Java Problem by javadoctor(m): 11:08pm On Mar 25, 2013
Its obviously nt a java code error,get ur queries ryt,learn hw to search string literals,substrings,emtc
Re: Pls, Help Me In This Java Problem by Danyl(m): 5:22pm On Mar 28, 2013
Ur issue is not domain-specific,but u may try to under the Regular expressions and substrings in java they will go a long way to help and have it in mind that u nid a preloaded database, literals
Re: Pls, Help Me In This Java Problem by ogbonnaic: 12:42pm On Apr 08, 2013
I don't know if U have sold the problem but U might try retrieving all the names of the products and searching through them anyway U want. I hope U understand what I mean
Re: Pls, Help Me In This Java Problem by Nobody: 8:10am On Apr 09, 2013
try using a like sql statement.

select * from [tablename] where [columnName] like '% [keyword] %'

this is syntax for T-SQL implement it in your own way.
1 Reply

Please Solve This Java Problem.Simple Java ProblemPlease Help To Solve This Java Problem.234

Join The Unilag Programmers Club!Matlab And Visual Studio Expert NeededWhy Is There No Networking Section Here On Nairaland