₦airaland Forum

Welcome, Guest: Register • Login • With Google • Trending • Recent • New

Stats: 3,344,149 members, 8,510,418 topics. Date: Friday, 30 October 2026 at 11:17 AM

Toggle theme

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

Nairaland Forum › Science/Technology › Programming › Pls, Help Me In This Java Problem (1236 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 Problem • Please Help To Solve This Java Problem. • 2 • 3 • 4

Php Reply Problem. • how can someone test an android application developed in android studio on a tec • Need Someone That Can Put Me Through On Using Amazon Web Service.