[thelist] Coldfusion/SQL:queries:maxrows

Simon Coggins ppxsjc1 at unix.ccc.nottingham.ac.uk
Mon Sep 17 10:10:30 CDT 2001


> I'm getting an error - is "TOP" supported in MySQL?

I'm not sure, but can't you use LIMIT instead?

e.g. SELECT * FROM table WHERE this='that' ORDER BY this LIMIT 1

would return 1st record.

Simon






More information about the thelist mailing list