The Artima Developer Community
Sponsored Link

.NET Buzz Forum
SQL Syntax Error or Access Violation (42000)

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
douglas reilly

Posts: 108
Nickname: dougreilly
Registered: Oct, 2003

douglas reilly is the owner of Access Microsystems Inc., a small software development consulting fir
SQL Syntax Error or Access Violation (42000) Posted: May 26, 2005 1:36 PM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by douglas reilly.
Original Post: SQL Syntax Error or Access Violation (42000)
Feed Title: Doug Reilly's Weblog
Feed URL: http://www.asp.net/err404.htm?aspxerrorpath=/dreilly/rss.aspx
Feed Description: ASP.NET and More...
Latest .NET Buzz Posts
Latest .NET Buzz Posts by douglas reilly
Latest Posts From Doug Reilly's Weblog

Advertisement

I spent about an hour that I can never get back today tracking down a problem with a stored procedure I was writing.  The SP was a simple SAVE SP, with a test for existance of a row, and then an INSERT or UPDATE.  The error message (in all the tools I have) was an unhelpful SQL Syntax Error or Access Violation (Error 42000).

In the end, the error was not the screwy column and table names (some with spaces and very long).  I had used curly braces rather than parentheses in the INSERT statement. This slight difference resulted in this error message.  Sigh.

Read: SQL Syntax Error or Access Violation (42000)

Topic: SELECT * WHERE % ORDER BY why ? Previous Topic   Next Topic Topic: GrokTalk comes to TechEd US 2005

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use