sql question

new topic     » topic index » view thread      » older message » newer message

I would like to find a customer or part number in a data base then scroll
(next and/or previous) around that customer or part number.

For example I have tried "select * from inventory where partNbr = 1234".....
then "select * from inventory where partNbr < lastPartNbr" but that doesen't
work. It will give me the first in the file.... which is a lesser number but
not the lesser one in index order. But strangely enough "select * from
inventory where partNbr > lastPartNbr" does give me the next in index order.

Any body got any ideas on this?

george

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu