Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15889

data selecting between two dates with respect to date column

$
0
0

Hi Experts, 

I have one requirement.

the data is stored in data base in the following way

id        vechicleDATE           TIME                    24fomat     date             stats  ignition

dev4   2/21/2011   2:24:00 PM 14:23:35   02/21/2011OFF 1                            dev5   2/21/2011   2:24:00 PM 14:23:36   02/21/2011 OFF 1

dev4   2/21/2011   2:24:00 PM 14:23:37   02/21/2011OFF 1

dev4   2/21/2011   2:24:00 PM 14:23:38   02/21/2011OFF 1

dev4   2/21/2011   2:24:00 PM 14:23:39   02/21/2011OFF 1

dev4   2/21/2011   2:24:00 PM 14:23:40   02/21/2011OFF 1

dev4   2/21/2011   2:24:00 PM 14:23:41   02/21/2011OFF 1

dev4   2/21/2011   2:24:00 PM 14:23:42   02/21/2011OFF 1

dev4   2/21/2011   2:24:00 PM 14:23:43   02/21/2011OFF 1

dev4   2/21/2011   2:24:00 PM 14:23:44   02/21/2011OFF 1

dev4   2/21/2011   2:24:00 PM 14:23:45   02/21/2011OFF 1

dev4   2/21/2011   2:24:00 PM 14:23:46   02/21/2011OFF 1The issue is how to select the data to specfic date

and between two dates with respect to vechicleDATE only

Thanks and regards,

Dhayanand


Viewing all articles
Browse latest Browse all 15889

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>