born2program
Technical User
I've been using functions like datepart for years and have used to get the date part of quarter before. My question is....Why does microsoft have several interval types available for quarter (ie. q, qq, quarter). For instance datepart(q,getdate()) and datepart(qq, getdate()) and datepart(quarter, getdate()) all return the same value, data type, etc. Is there a benefit to using one over the other and why do we have multiple to choose from?
Inquiring minds would like to know. Thanks.
Inquiring minds would like to know. Thanks.