|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
||||
|
||||
|
Syntax Error thrown on basic SQL Statement
Would someone PLEASE explain to me why this throws a syntax error when executed on an Access database?
Code:
INSERT INTO c_summs_index(TABLE, CYCLE, KEYWORD)
-> Values('tablename', 30922, 'Buick')
(->) just indicates continued from last line. I swear I'm losing it here... I can't figure out what's wrong with this SQL... |
|
#2
|
||||
|
||||
|
Don't have Access available right now, but 'TABLE' should be a reserved word in Access... Can you escape it with backticks or similar? Or just chose another column name?
//NoXcuz
__________________
UN*X is sexy! who | grep -i blonde | date; cd ~; unzip; touch; strip; finger; mount; gasp; yes; uptime; umount; sleep |
|
#3
|
||||
|
||||
|
Ah... it would seem that gratuitous slapping of the forehead is in order.....
Thanks for pointing out my er... "problem", even if it wasn't EXACTLY in the SQL... ![]() |
![]() |
| Viewing: Dev Shed Forums > Databases > Database Management > Syntax Error thrown on basic SQL Statement |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|