Good morning,
I'm trying to update a column in 1 table based on information in 2 other tables. No matter how I format the SQL I keep getting the error: "Syntax Error (Missing Operator) in Query Expression 'UsersAndGroups.ACL FROM ConsolidateGroups'. The actual statement is below. Any help would be appreciated.
------------------------------------------------
Update ConsolidateGroups
SET ConsolidateGroups.ACL= UsersAndGroups.ACL
FROM ConsolidateGroups,
UsersAndGroups,
UserCounts
WHERE UserCounts.TotalACLs = 1
and UsersAndGroups.[Logon Name] = UserCounts.[Logon Name]
and ConsolidateGroups.CorpId = UsersAndGroups.[Logon Name]
---------------------------------------------------
Thanks in advance for any help.
I'm trying to update a column in 1 table based on information in 2 other tables. No matter how I format the SQL I keep getting the error: "Syntax Error (Missing Operator) in Query Expression 'UsersAndGroups.ACL FROM ConsolidateGroups'. The actual statement is below. Any help would be appreciated.
------------------------------------------------
Update ConsolidateGroups
SET ConsolidateGroups.ACL= UsersAndGroups.ACL
FROM ConsolidateGroups,
UsersAndGroups,
UserCounts
WHERE UserCounts.TotalACLs = 1
and UsersAndGroups.[Logon Name] = UserCounts.[Logon Name]
and ConsolidateGroups.CorpId = UsersAndGroups.[Logon Name]
---------------------------------------------------
Thanks in advance for any help.