![]() |
|
#1
|
||||
|
||||
MySql CURDATE() errorI have been using the following sql syntax
Code:
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 '(CURDATE())-DAY(date_post) AS day FROM forum ORDER BY date_post I have made sure that all of the functions work on the server's version of MySql, and I cannot figure out what the error in the syntax is. |
|
#2
|
||||
|
||||
Re: MySql CURDATE() errorDid you figure this one out? I am just curious because it doesn't seem to be anything wrong with it. If the error report is anything to go by, the DAY() function seems to be a problem. Which version of MySQL?
__________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#3
|
||||
|
||||
Re: MySql CURDATE() errorMy server uses MySql 4.0.25.
You can view the error at http://windslip.worldfreeweb.com/index.php?url=forum |
Recent GIDBlog
2nd Week of IA Training by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Tutorial] GUI programming with FLTK | dsmith | FLTK Forum | 10 | 03-Oct-2005 15:41 |
| Winsock error when compiling FLTK 2.0 Projects | mauriciorossi | FLTK Forum | 3 | 16-Aug-2005 10:18 |
| Help with syntax errors | PeteGallo | C Programming Language | 7 | 08-Aug-2005 20:30 |
| What is "Ambigious symbol" ??*( a compilation error) | small_ticket | CPP / C++ Forum | 2 | 07-Jan-2005 21:10 |
| Can enum have same name as class? | crystalattice | CPP / C++ Forum | 3 | 08-Dec-2004 16:43 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The