parash — 2010-03-15T03:18:31-04:00 — #1
What would be the ODBC(MS-ACCESS) equivalent of the following MYSQL statement?
"SELECT * FROM TABLE LIMIT 10, 19 ";
Please Help...I would really apprecaite it.
hash — 2010-03-15T03:40:22-04:00 — #2
You can use TOP instead of LIMIT, but not with an offset as far as I am aware.
parash — 2010-03-19T03:15:06-04:00 — #3
Thanks....could you please tell me how to get rid of the offset problem....I want the offset for the pagination purpose...I know there must some way to tackle this issue...I would really appreciate if you could provide me with some logic..
Thanks in advance
r937 — 2010-03-19T04:58:00-04:00 — #4
using TOP or LIMIT without an ORDER BY clause makes no sense
system — 2010-03-27T06:17:16-04:00 — #5
Hi, I need some help with SQL and date fields.
What format should I use to query a date/hour field? say I want all records where the date is after a given date.
Is there any way to access the current day? maybe using VBscript
Can I subtract two dates?
r937 — 2010-03-27T08:20:21-04:00 — #6
yes, the special CURRENT_DATE keyword
yes, with a datetime function, which varies from one database system to another, e.g. DATEDIFF -- consult your manual