how to ssrs report include the IN opertor
SELECT DISTINCT s.time_ref, s.time_date, s.time_hrs, s.time_emp, e.emp_code, e.emp_firstname, i.WBSACTIVITY
FROM site_timesheet s, site_employee_master e, in_wbs_master i
WHERE (time_date BETWEEN ? AND ?) AND (s.time_emp = e.emp_id) AND (s.time_act = i.WBSCDE) AND (emp_code IN (?))
GROUP BY s.time_emp, s.time_ref, s.time_date, s.time_type, i.WBSACTIVITY, s.time_hrs, e.emp_firstname
FROM site_timesheet s, site_employee_master e, in_wbs_master i
WHERE (time_date BETWEEN ? AND ?) AND (s.time_emp = e.emp_id) AND (s.time_act = i.WBSCDE) AND (emp_code IN (?))
GROUP BY s.time_emp, s.time_ref, s.time_date, s.time_type, i.WBSACTIVITY, s.time_hrs, e.emp_firstname
Error Multivalue Not accept in Emp_code
Himanshu Gupta86 reputationPosted Sep 12, 2017, 11:32 PM EDT
Himanshu Gupta86 reputationPosted Sep 12, 2017, 9:10 PM EDT
Karthick Ayyam92 reputationPosted Sep 12, 2017, 10:12 PM EDT
Karthick Ayyam92 reputationPosted Sep 13, 2017, 1:28 AM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts