olá
tente algo como:
select * from clientes where codigo < 209394 TOP 1 ORDER BY codigo desc
isso deve resolver.
[ ]'s
Leandro Walfrans
VolpeCOM
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only