Quantcast
Channel: SQL Server Portal » Built-in Functions
Browsing all 11 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

How to get First day of a month in SQL SERVER 2012 (FOMONTH)

“How to calculate the first date of the current, previous & next month” ? I have seen this question many times in different blogs and there are multiple approaches that we have been following to...

View Article


Image may be NSFW.
Clik here to view.

SQL Server 2012 – String Function – CONCAT

SQL Server 2012 has introduced a new string function namely “CONCAT”. It is a very handy & important function to deal with the string concatenation. Let me explain its syntax, parameters, purpose...

View Article


Image may be NSFW.
Clik here to view.

SQL Server 2012 – String Function – FORMAT

Format function is one the important functions in SQL Server 2012. This function is very useful to format data in a specified format. Today, we will discuss each and every aspect of this function. Also...

View Article

Image may be NSFW.
Clik here to view.

SQL SERVER 2012 – T-SQL Scripts to Find Maximum between

I need to find maximum between two numbers, So, I was searching for a solution to find maximum number between two numbers and I found few interesting articles by Pinal Dave And Madhivana . I also would...

View Article

Image may be NSFW.
Clik here to view.

SQL Server 2012 – Analytic Functions – LAG

Today, we will discuss one of the important analytical functions namely “LAG” in SQL SERVER 2012. In simple words we can say that if we need to pick up any value from the previous rows in the current...

View Article


Image may be NSFW.
Clik here to view.

SQL Server 2012 – Analytic Functions – LEAD

In my previous article, I discussed about LAG. Today, we will discuss another analytical function namely“LEAD” in SQL SERVER 2012. This function performs exactly opposite functionality of LAG. In...

View Article

Image may be NSFW.
Clik here to view.

SQL Server 2012 – Analytic Functions – CUME_DIST

CUME_DIST is a very nice & helpful analytical function introduced in SQL SERVER 2012. In this article, we will discuss its syntax, purpose, return type, simple examples and real world examples...

View Article

Image may be NSFW.
Clik here to view.

SQL Server 2012 – Analytic Functions – PERCENT_RANK

In my previous article I discussed about CUME_DIST. In this artcile we will discuss another important analytical function introduced in SQL SERVER 2012 and that is similar to CUME_DIST namely...

View Article


Image may be NSFW.
Clik here to view.

SQL SERVER 2012 -Date and Time Function – DATETIMEOFFSETFROMPARTS

DATETIMEOFFSETFROMPARTS is one of the important sql server functions required when we need to make date and time from offset and precision. Let me explain its syntax, parameters, purpose and examples...

View Article


Image may be NSFW.
Clik here to view.

SQL Server 2012 – Analytic Functions – PERCENTILE_CONT

In this article, we will discuss another important analytical function introduced in SQL SERVER 2012 namely PERCENTILE_CONT. Lets discuss PERCENTILE_CONT syntax, purpose, return type with simple...

View Article

Image may be NSFW.
Clik here to view.

SQL SERVER – Cryptographic Functions – HASHBYTES – Enhancement

HASHBYTES is one of the useful functions when it comes to generate hash values on the basis of different types of algorithms. In the earlier versions, it supports MD2, MD4, MD5, SHA, SHA1 algorithms...

View Article
Browsing all 11 articles
Browse latest View live