Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

problem in retriving data from db table.

Former Member
0 Kudos
53

dear all,

f i hve to retrive field from db table,but problem is that in that table only one input field is present and second field is not present.but i have to compare with tht second field as well as second field.how i should fire a query in comperision to tht second field.

1 REPLY 1

Former Member
0 Kudos
37

Assuming the second field is a character field, try something like:


SELECT * FROM mytab
  WHERE f1 = whatever
    AND f2 = SPACE.       "<==========

Rob