|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Syntax error in ASP SQL, help please!
Hi, could some one please help me with this small bit of SQL:
SQL_EditNews = "INSERT INTO tblNews (newsBody) VALUES ('" & editedNews & "') WHERE newsID=63" Is there something wrong with this statement? When i try to execute it, i get the following error: Microsoft OLE DB Provider for ODBC Drivers error '80040e14' [Microsoft][ODBC Microsoft Access Driver] Missing semicolon ( ; ) at end of SQL statement. /edit_news_03.asp, line 19 Many thanks for any help! Seb |
|
#2
|
||||
|
||||
|
You don't use a WHERE clause in an INSERT statement.
http://www.w3schools.com/sql/sql_insert.asp |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > Syntax error in ASP SQL, help please! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|