Quantcast
Channel: convert month name to dd-mm-yyyy format in sql query
Viewing all articles
Browse latest Browse all 6

convert month name to dd-mm-yyyy format in sql query

$
0
0

hi

guys

I need to convert month name in dd-mm-yyyy format . Format is fixed i.e suppose I am getting July in column  month_from then i should get  :  1-07-2015.

and in another column month_to then in that column i should get 31-07-2015.

here is my query:

select  month_from, month_to,  FROM tablename where scheme_type ='" + DropDownList_Scheme.SelectedValue + "'"

.kindly suggest


Viewing all articles
Browse latest Browse all 6

Latest Images

Trending Articles





Latest Images