Hi,
I have a stored procedure which requires datetime parameter. When I create a CR on the SP, CR automatically creates parameters matching those in the SP.
However, I want the user to enter DATE parameters and not DATETIME parameters.
EG I want the use to enter @From = 01 Jan 2003 , @To = 31 Jan 2003.
To work this needs to be passed to the SP as '01-Jan-2003 00:00:00' and '31-Jan-2003 23:59:59'.
Any tips?
Thanks,
Paul
I have a stored procedure which requires datetime parameter. When I create a CR on the SP, CR automatically creates parameters matching those in the SP.
However, I want the user to enter DATE parameters and not DATETIME parameters.
EG I want the use to enter @From = 01 Jan 2003 , @To = 31 Jan 2003.
To work this needs to be passed to the SP as '01-Jan-2003 00:00:00' and '31-Jan-2003 23:59:59'.
Any tips?
Thanks,
Paul