I have a table with column Date and time together (Say Created Date). I have a requirement to fetch records from the Table by passing the time alone(since I retrieve the records at different intervals in same date).
My question is how do I break the time part alone in DateTime field in my Table while Fetching the records using Stored procedure
Further to Quote an example I have to fetch data from the same table for 5 times in a specified date say
9.00 to 10.00
11.00 to 12.00
....
....
13.00 to 14.00 etc