Quantcast
Viewing all articles
Browse latest Browse all 12198

Using Dynamic Parameter for Month Offset

You can get the last day of previous year the following way:SELECT EOMONTH(current_timestamp, -MONTH(current_timestamp)); -- 2012-12-31

Viewing all articles
Browse latest Browse all 12198

Trending Articles