MySQL Forums
Forum List  »  Microsoft Access

syntex error
Posted by: kevin Shimwell
Date: December 15, 2004 11:09AM

This work ok in access SQL give me the error below. any ideas
how do I write this to work

<!---START: TRACK TO DELETE NUMBER--->
<cfquery datasource="#DSN#" name="gettrack">
SELECT max (trackme) as nextnum
FROM EVENTS
</cfquery>

MySQL][ODBC 3.51 Driver][mysqld-4.1.7-nt]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(trackme) as nextnum FROM EVENTS' at line 1
SQL = "SELECT max (trackme) as nextnum FROM EVENTS"

Options: ReplyQuote


Subject
Views
Written By
Posted
syntex error
3037
December 15, 2004 11:09AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.