Solved

The SELECT statement includes a reserved word or an argument name that is misspelled or missing, or the punctuation is incorrect.

Posted on 2004-04-15
5
2,353 Views
Last Modified: 2012-06-27
Set ProjectQ = coDB.Execute("select SubRegionID, FocusID, from tbl_Project where ProjectID = " & Request("ProjectID"))

error:

The SELECT statement includes a reserved word or an argument name that is misspelled or missing, or the punctuation is incorrect.


what the hell is wrong with my query?  I don't see it
0
Comment
Question by:dba123
  • 3
  • 2
5 Comments
 
LVL 34

Accepted Solution

by:
arbert earned 500 total points
Comment Utility
You have a comma after FocusID before the from statement...
0
 
LVL 34

Expert Comment

by:arbert
Comment Utility
Set ProjectQ = coDB.Execute("select SubRegionID, FocusID from tbl_Project where ProjectID = " & Request("ProjectID"))
0
 
LVL 1

Author Comment

by:dba123
Comment Utility
unbelievable......ahhhhh
0
 
LVL 1

Author Comment

by:dba123
Comment Utility
hmmm, maybe it's time for contacts lenses
0
 
LVL 34

Expert Comment

by:arbert
Comment Utility
nah, just sounds like it's close to the end of your day :)  Those are the hardest problems to find!
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Join & Write a Comment

Suggested Solutions

Performance is the key factor for any successful data integration project, knowing the type of transformation that you’re using is the first step on optimizing the SSIS flow performance, by utilizing the correct transformation or the design alternat…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now