I have to execute following query using hibernate
DECLARE @i_STARTDATETIME DATETIME
DECLARE @i_ENDDATETIME DATETIME
DECLARE @o_ERRORCODE INT
DECLARE @o_ERRORDESCRIPTION VARCHAR(200)
SET @i_STARTDATETIME = '2011-05-21 00:00:00'
SET @i_ENDDATETIME = '2011-05-21 23:59:59'
EXEC [USPIVRHALFHOURLYDETAILSReport] @iSTARTDATETIME,@iENDDATETIME,@oERRORCODE,@o_ERRORDESCRIPTION
here i have to pass STARTDATETIME and ENDDATETIME dynamically.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.