Ask a Question related to ASP Database, Design and Development.
-
CJM #1
Missing Operator Error in Access
I'm trying to install a freebie app downloaded from the web.
Its based on an Access Db, and I'm getting the a missing operator error for
the following SQL:
SELECT COUNT(DatabaseUsers.database_id) As Total FROM Users INNER JOIN
DatabaseUsers ON Users.username = DatabaseUsers.user_id INNER JOIN Databases
ON DatabaseUsers.database_id = Databases.ID WHERE Users.username = ''
I've imported the DB in to SQL server to test in Query Analyser, and this
SQL works fine...
Any ideas?
TIA
Chris
CJM Guest
-
Syntax error (missing operator) in query expression
Hi, I have received the following error: ODBC Error Code = 37000 (Syntax error or access violation) Syntax error (missing operator) in query... -
[microsoft][odbc microsoft access driver] syntax error (missing operator) in query expression error
I have a query I want to run using DBQwiksite siftware, which produces the syntax error (missing operator) in query expression error when... -
Access: (missing operator) in query expression
Hi! I operate a database where visitors do inputs directly from the web thru a form. One field has the datatype (property?) Memo and I have not... -
Syntax error (missing operator) in query expression'idProperty='
The following is the code, can someone please help me with the syntax please in the first line please Conn.Execute "UPDATE tblRentalProperty SET... -
syntax error (missing operator) query expression
valuA = (request.form("toadd")) If valuA = "" then SQL = "UPDATE CourseReg SET attended='Active' WHERE ID IN("&request.form("toadd")&")" Set RS =... -
Ken Schaefer #2
Re: Missing Operator Error in Access
You need to use () around the joins in Access.
SELECT
COUNT(DatabaseUsers.database_id) As Total
FROM
(
(
Users
INNER JOIN
DatabaseUsers
)
INNER JOIN
Databases
ON
DatabaseUsers.database_id = Databases.ID
)
ON
Users.username = DatabaseUsers.user_id
WHERE
Users.username = ''
(I think that's correct - best bet is to build the Query in the Access Query
builder - you'll see how Access puts in the brackets for you).
Cheers
Ken
"CJM" <cjmwork@yahoo.co.uk> wrote in message
news:%23YV9t%23sRDHA.3768@tk2msftngp13.phx.gbl...
: I'm trying to install a freebie app downloaded from the web.
:
: Its based on an Access Db, and I'm getting the a missing operator error
for
: the following SQL:
:
: SELECT COUNT(DatabaseUsers.database_id) As Total FROM Users INNER JOIN
: DatabaseUsers ON Users.username = DatabaseUsers.user_id INNER JOIN
Databases
: ON DatabaseUsers.database_id = Databases.ID WHERE Users.username = ''
:
: I've imported the DB in to SQL server to test in Query Analyser, and this
: SQL works fine...
:
: Any ideas?
:
: TIA
:
: Chris
:
:
Ken Schaefer Guest
-
Luke Zhang [MSFT] #3
RE: Missing Operator Error in Access
You may try
SELECT COUNT(DatabaseUsers.database_id) As Total
FROM (Users INNER JOIN DatabaseUsers ON Users.username =
DatabaseUsers.user_id )
INNER JOIN Databases ON DatabaseUsers.database_id = Databases.ID
WHERE Users.username = ''
HTH
Luke
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Luke Zhang [MSFT] Guest



Reply With Quote

