question about the "where ... like ... " clause in SQL
From: Marcolm (Marcolm.19unpn_at_mail.codecomments.com)
Date: 07/23/04
- Next message: Murray: "Re: question about the "where ... like ... " clause in SQL"
- Previous message: Soeren Degn Jahns: "Re: getting data from 'image' field"
- Next in thread: Murray: "Re: question about the "where ... like ... " clause in SQL"
- Reply: Murray: "Re: question about the "where ... like ... " clause in SQL"
- Reply: lukes: "Re: question about the "where ... like ... " clause in SQL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 23 Jul 2004 12:43:10 GMT
I want to list all the products name of which begins with ":pdName".
parameterRow.setString("pdName",jTextField_pdName.getText());
queryDataSet_srchAll.setQuery(new
com.borland.dx.sql.dataset.QueryDescriptor(database_hsmng, "select *
from onSale where productName like :pdName" + "%"+";", parameterRow,
true));
Unfortunately, above code takes no effect and my heart sinks to the
benthal.
Anyone knows how can it be done?
Thanks in advance.
-- Marcolm ------------------------------------------------------------------------ Posted via http://www.codecomments.com ------------------------------------------------------------------------
- Next message: Murray: "Re: question about the "where ... like ... " clause in SQL"
- Previous message: Soeren Degn Jahns: "Re: getting data from 'image' field"
- Next in thread: Murray: "Re: question about the "where ... like ... " clause in SQL"
- Reply: Murray: "Re: question about the "where ... like ... " clause in SQL"
- Reply: lukes: "Re: question about the "where ... like ... " clause in SQL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]