S
simsjr
Anyone know a simple SQL statement to retrieve any 5 records from a query?
Doesn't matter which 5 either.
Doesn't matter which 5 either.
Graham Mandeno said:Use the TOP predicate:
SELECT TOP 5 .... FROM ....
--
Good Luck!
Graham Mandeno [Access MVP]
Auckland, New Zealand
simsjr said:Anyone know a simple SQL statement to retrieve any 5 records from a query?
Doesn't matter which 5 either.
Right on!
Now just for kicks, is there any way to randomize the 5 records I get back?