SQL server 2008 .Date foramat -


i have data values in dd-mmm-yyyy format, e.g. 18-jun-2014. have written query fetch records logged on particular day. in date format available in database table stores above date in yyyy-mm-dd hh:mm. want form query on below scenario.

if give date alone query need check given date dd-mm-yyyy 00:00 dd-mm-yyyy 23:59.

example

from 18-jun-2014 00:00 18-jun-2014 23:59


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -