| | |
Syntax error in INSERT INTO statement
Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved |
I would suggest copying the query in an sql editor and try to run it by replacing only the '?' with values.
Check out my New Bike at my Public Profile at the "About Me" tab
Read reply #5. I had already told you to change the name of the field, again (after having changed it from timestamp). You are much, much, much better off not using reserved words in table or column names. Even if there is a "workaround" to allow it. It is, at the very least, a very bad practice with nasty side-effects (as you have just seen).
Java Programmer and Sun Systems Administrator
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
![]() |
Similar Threads
- Shopping Cart Not Working (ASP.NET)
- problem with quotes in SQL statement (Visual Basic 4 / 5 / 6)
- Problems on Insert and Update Statement (C#)
- Problems on Insert and Update (C#)
- Insert and Update Errors (C#)
- Error connecting to database (ASP.NET)
- sql statement (Visual Basic 4 / 5 / 6)
- syntax error: i cant find it..HELP! (ASP)
Other Threads in the Java Forum
- Previous Thread: Plzzzz help me to solving the Problem to make banking System....
- Next Thread: I'm having problems
Views: 5064 | Replies: 12
| Thread Tools | Search this Thread |
Tag cloud for Java
3d @param affinetransform android api apple applet application arc arguments array arrays automation binary bluetooth byte c# chat class classes click client code color compare component corrupted database detection draw eclipse error event exception file fractal game givemetehcodez graphics gui guitesting helpwithhomework html ide image input integer j2me java java.xls javaprojects jmf jni jpanel julia keytool keyword linux list loop map method methods mobile netbeans newbie number object oracle pong print problem producer program programming project projectideas read recursion reflection rim scanner screen server set size sms socket sort sql string swing terminal test threads time transfer tree web windows






