I need to read data from SQL Server through a Java Progam and I need to read this data hourly (continuously) until there is no more data to grab. I am having a very difficult time learning how to do this... The code currently works. I just don't know how to loop through 'hourly'. In order to get the full date (and time) I needed to identify it as a String when retrieving it from the result set (DateEnd, DateStart, PlacementTime).
Can someone please give me some solid advice with some good examples. Thank you all.