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,398 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
ID: 10837032
You have a comma after FocusID before the from statement...
0
 
LVL 34

Expert Comment

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

Author Comment

by:dba123
ID: 10837037
unbelievable......ahhhhh
0
 
LVL 1

Author Comment

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

Expert Comment

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

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
I have a large data set and a SSIS package. How can I load this file in multi threading?
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
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.

806 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