You can use datepart function like select datepart(month,getdate())
http://databaseandstorage.blogspot.com http://gotodba.weebly.com
Forum Rules