Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Need to combine month and year to get date YYYY-MM-DD format

$
0
0


Month and year are table fields and they will have values like

Month in format = mm  example 01

year in format = YYYY example 2010

Now i need to concatenate month and year to derive date .


Expected result Result :2010-01-01

Example :Month =01

Year =2010


Mudassar


Viewing all articles
Browse latest Browse all 23857

Trending Articles