englishkid19
Board Regular
- Joined
- Nov 14, 2012
- Messages
- 89
Hi All ,
I'm trying to get users to specify the ON clause of an INNER JOIN ? I cant get the syntax right. Essentially all i want the query to do is run exactly as it does but allow the user to input the Resource Base in the ON Clause....
SELECT AGMInput.*, AnalystInput.TOB, AnalystInput.Crews,
FROM AnalystInput INNER JOIN AGMInput ON AnalystInput.ResourceBase = AGMInput.ResourceBase
WHERE AGMInput.DateAdded = AnalystInput.Date;
Please help ....
Thanks
I'm trying to get users to specify the ON clause of an INNER JOIN ? I cant get the syntax right. Essentially all i want the query to do is run exactly as it does but allow the user to input the Resource Base in the ON Clause....
Code:
FROM AnalystInput INNER JOIN AGMInput ON AnalystInput.ResourceBase = AGMInput.ResourceBase
WHERE AGMInput.DateAdded = AnalystInput.Date;
Code:
Please help ....
Thanks