I want the user to be able to query the SQL Server using a predefined query but being able to change the 'input'. Here is the query:
SELECT operators.name, timesheet.date FROM operators LEFT OUTER JOIN timesheet ON operators.id_op = timesheet.operator WHERE timesheet.date= :my_date OR timesheet.dateIS NULL;my_date is the search parameter.
What is the best way to pass this parameter to the query?