Hari Sharma

  • Interests: Solving Analytical Puzzles, Making Friends, Movies

Technical Article

Function to calculate Month End Date

This function will return you the month-end date. Input parameter may be any date of that month for which you want to calculate month-end.Example:Input: '2-20-2004'      Output: '2-29-2004'Input: '2-15-2004'      Output: '2-29-2004'Input: '3-20-2004'      Output: '3-31-2004'Input: '3-30-2004'      Output: '3-31-2004'

3.2 (5)

2007-05-08 (first published: )

1,313 reads

Blogs

Tales From The Field Weekly Wrap Up

By

 Hello Dear Reader! It's been a while.  I've been busy working with a few colleagues...

PGSQL Phriday #001: Two Truths and a Lie

By

As a part of my own journey of learning within PostgreSQL, I’ve decided that...

Daily Coping 7 Oct 2022

By

Today’s coping tip is to be willing to share how you feel and ask...

Read the latest Blogs

Forums

MDP/CTP values

By ramana3327

Hi All, We have a server with 8 cpus. Some times Thread count is...

Any reason to use AWS WAF over Cloudflare?

By obalikawa

I'm primarily using Cloudflare for security. I was wondering if AWS WAF is any...

Visit the forum

Ask SSC Logo Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers