Quantcast
Viewing all articles
Browse latest Browse all 24688

Attendence details - Checking the months and years using stored procedure in sql server 2008

Hi,

Attendence detail excel sheet is only display on front end.

whatever in excel sheet that only display in front end. same concepts doing in database.

In Excel sheet contains only upto date28 means, front end display on these columns upto date28

but database side display on upto date31. this concept is no need for me.

In Front End whatever display that only inserted in database remaining columns didnt come.

First check the Month. if Month = January , columns come on upto date31.

if Month = March, columns come on upto date30.

If Month =February, columns come on upto date28 or date 29. Here checking year also leap or not.

I am waiting for your reply.

Regards,
Abdul Khadir.


Viewing all articles
Browse latest Browse all 24688

Trending Articles