Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 SYNTAX !!!! SQL query DOES NOT WORK IN ACCESS Help

Author  Topic 

mossse
Starting Member

4 Posts

Posted - 2009-04-08 : 12:06:15
I cannot get this to work in access help

Error in access is: Syntax error . in query expression itemId in
(select ...

SELECT * FROM SETUP_MENU WHERE itemId IN
(SELECT menuid FROM SETUP_MENU_ROLES AS m
INNER JOIN PEOPLE_ROLES AS s
ON s.RoleId = m.roleId
AND s.PersonId = "251"
WHERE MenuParent IS NULL
OR MenuParent = 0
GROUP BY menuid)
ORDER BY MenuOrder


robvolk
Most Valuable Yak

15732 Posts

Posted - 2009-04-08 : 12:29:55
Please stop cross posting:

http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=123477
Go to Top of Page
   

- Advertisement -