Reply to Your Query - Solved
If you declare any variable as date format, it will the data like as "00:00:00".
So before execute your sql command , please verify the contents in the date varaible as...