Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
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
Medium Priority
?
2,541 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 34

Accepted Solution

by:
arbert earned 2000 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

Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

Question has a verified solution.

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

What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
Windocks is an independent port of Docker's open source to Windows.   This article introduces the use of SQL Server in containers, with integrated support of SQL Server database cloning.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

618 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