SELECT * FROM Monkey WHERE ((Dept=left(': 1::',4)) AND ((Act/Plan=': 2::')))
However, this one works correctly:
SELECT * FROM Monkey WHERE (Dept=left(': 1::',4))
What is the right combination of parentheses when adding the AND qualifier? I've tried almost everything.
SELECT * FROM StaffActuals WHERE Type=': 2::' AND Dept=left(': 1::',4)
http://support.microsoft.com/support/kb/articles/Q109/3/12.asp
------------------§þððk¥"I am Spooky of Borg. Prepare to be assimilated, babycakes!"Subscribe to OutFront NewsDatabase / DRW Q & AThe Spooky Login!VP-ASP Shopping cart