[prev in list] [next in list] [prev in thread] [next in thread]
List: mysql
Subject: RE: SQL syntax error: help a noob
From: Tom Crimmins <mysql2 () pottcounty ! com>
Date: 2005-01-31 23:39:28
Message-ID: 4D6F6B56C91BD8118ED300E01828E4099F8934 () exmail ! pottcounty ! lan
[Download RAW message or body]
I think datediff only takes two arguments and you have three listed.
---
Tom Crimmins
Interface Specialist
Pottawattamie County, Iowa
-----Original Message-----
From: Chris Kavanagh
Sent: Monday, January 31, 2005 5:33 PM
To: mysql@lists.mysql.com
Subject: Re: SQL syntax error: help a noob
Thanks very much for the replies, guys. My version is "4.1.7-max".
The error message I get is:
--
Error Executing Database Query.
Syntax error or access violation: 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 ' deadline)'Difference', tasks.leadtime,
tasks.lead_time_type_id, leadtime_' at line 1
--
I changed GETDATE() to CURDATE() but it still gives me the same error.
Thanks for the suggestion anyway, Roger.
Best regards,
CK.
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=mysql@progressive-comp.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic