SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseSQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old November 2nd, 2000, 07:21 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 23
Syntax error in SQL Statement?

<i><b>Originally posted by : Simon (simonhewitt2000@hotmail.com)</b></i><br /><br />Can anyonr tell me what the problem is?<br /><br />UPDATE newsfile SET newsid = 9', newstitle = 'Council Members', newsbody = 'I will email you the password, can you all test this system and let me know of any bugs. Ta', umail = 'mute@mad.scientist.com', uname = 'Mute', date = '02/11/2000',time = '10:13:01 AM' WHERE newstitle=Council Members <br />Microsoft OLE DB Provider for ODBC Drivers error '80040e14' <br /><br />[Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression '9', newstitle = 'Council Members', newsbody = 'I will email you the password'. <br /><br />/updates/update2.asp, line 33<br />

Reply With Quote
  #2  
Old November 13th, 2000, 04:05 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 23
<i><b>Originally posted by : Bill Bozeman (bill_bozeman@hotmail.com)</b></i><br />Looks like there is an apostrophe after the 9. Take that out and it should work, that is if newsid is an int. <br /><br /><br />------------<br />Simon at 11/2/2000 4:21:12 AM<br /><br /><br />Can anyonr tell me what the problem is?<br /><br />UPDATE newsfile SET newsid = 9', newstitle = 'Council Members', newsbody = 'I will email you the password, can you all test this system and let me know of any bugs. Ta', umail = 'mute@mad.scientist.com', uname = 'Mute', date = '02/11/2000',time = '10:13:01 AM' WHERE newstitle=Council Members <br />Microsoft OLE DB Provider for ODBC Drivers error '80040e14' <br /><br />[Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression '9', newstitle = 'Council Members', newsbody = 'I will email you the password'. <br /><br />/updates/update2.asp, line 33<br />

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseSQL Development > Syntax error in SQL Statement?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT