Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,150,607 members, 7,809,220 topics. Date: Friday, 26 April 2024 at 05:46 AM

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

Nairaland Forum / Science/Technology / Programming / Pls, Help Me In This Java Problem (1126 Views)

Please Solve This Java Problem. / Simple Java Problem / Please Help To Solve This Java Problem. (2) (3) (4)

(1) (Reply) (Go Down)

Pls, Help Me In This Java Problem by shehunDEgreat(m): 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)

Desktop Or Online Application? / What Is The Best Tool/software To Use In Developing Andriod Apps / How To Get The GPS Location Either As Latitude And Longitude Or Address In J2ME

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 6
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.