r937,
I should have mentioned that this sql statement is in the context of ASP. Without the single quotes it fails completely. I have used the LIMIT parameter on a server that was running MySql 5.0 and had no problem. Version 4.1 does not fail with the statement but it ignores the LIMIT...
I've used the LIMIT function in mySql 5.0 with no problem. Such as:
sql = "select * from Events order by EventDate DESC, 'LIMIT 0,3'"
I have tried to use the same query on a mySql 4.1.22 server and I don't get an error but it doesn't adhere to the LIMIT part of the query.
Any ideas on a way to...
I've used the LIMIT function in mySql 5.0 with no problem. Such as:
sql = "select * from Events order by EventDate DESC, 'LIMIT 0,3'"
I have tried to use the same query on a mySql 4.1.22 server and I don't get an error but it doesn't adhere to the LIMIT part of the query.
Any ideas on a way to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.