I'm doing some queries in Access Design view, then using the generated SQL elsewhere.
Unfortunately, when Access generates SQL, the joins are all INNER JOINs, not simply "where table1.id = table2.id".
For example, I get this:
where I'd rather get this:
The generated SQL joins get much more messy when you have three or four tables joined with INNER JOINs.
Does anyone know how to get Access Design View to generate "normal" SQL for these joins? - Thanks!
Unfortunately, when Access generates SQL, the joins are all INNER JOINs, not simply "where table1.id = table2.id".
For example, I get this:
Code:
SELECT Dept.DeptID, Dept.Name, Staff.Surname
FROM Dept INNER JOIN Staff ON Dept.ManagerID = Staff.StaffID;
where I'd rather get this:
Code:
SELECT Dept.DeptID, Dept.Name, Staff.Surname
FROM Dept, Staff
WHERE Dept.ManagerID = Staff.StaffID;
The generated SQL joins get much more messy when you have three or four tables joined with INNER JOINs.
Does anyone know how to get Access Design View to generate "normal" SQL for these joins? - Thanks!