I think you are trying to say
select <column name> from <table>
where <column name> like '<value>'
What are you entering in <value>? Are you using the
'%' to match any value? For instance if you have a
value in a row set to "Java Programming", you could
set <value>='% Programming' or <value>='Java %'. I
think that if you don't, it ends up beind a plain old
='s operation.
Tim
--- "Srinivasan S (Systems Engineering Group)"
<[EMAIL PROTECTED]> wrote:
> Hi people,
>
> I got a unique problem in my JDBC stuff. I
> can able to
> select all the values from the table using
> select * from table and it is displaying me
> the value i am
> expecting. But when i select i look out for
> a particular value
> it is saying me column not found but the
> same column is getting
> selected when i say *.
>
> the syntax for the column is that
>
> select <rowname> from <table> where
> <rowname> like '<rowvalue>'
>
> where i am going wrong?? Has anybody come
> across these kind
> of errors if so how it is solved. Please
> help me despite the
> fact that this is a servlet forum i am
> pasting this question
> forgive me for my trespassing and please
> help me.
>
> Thanks
> Srini
>
>
>
#-----------------------------------------------------------------------#
> #
> #
> # "It is better to remain silent and be
> thought a fool than to #
> # open one's mouth and remove all
> doubt." #
> #
> #
> # [EMAIL PROTECTED]
> #
>
>
#-----------------------------------------------------------------------#
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED]
> and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives:
>
http://archives.java.sun.com/archives/servlet-interest.html
> Resources:
>
http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help:
> http://www.lsoft.com/manuals/user/user.html
>
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html