I have a big SQL query with 3 substitution variables, a manager name. Is there a way to fix the query, so I don't have to pass the SAME user_mgr name "Chris Howard" 3 times? Query something like this... select ...... where I.USER_TYPE = 'Employee' AND USER_MGR ='&USER_MGR') UNION ALL where i.USER_TYPE = 'Employee' AND USER_MGR ='&USER_MGR' UNION ALL select .... whreer i.USER_TYPE = 'Employee' AND USER_MGR ='&USER_MGR')
↧