Quantcast
Channel: Sqljunkieshare » Built-in T-SQL Functions (Updated SQL 2012))
Browsing latest articles
Browse All 7 View Live

Image may be NSFW.
Clik here to view.

@@DATEFIRST – Configuration function

What is  @@DATEFIRST it is one of the configuration functions returns first day of the week (tinyint) . The U.S. English default is 7, Sunday Syntax: SELECT @@DATEFIRST The language setting affects the...

View Article



Image may be NSFW.
Clik here to view.

@@OPTIONS — Configuration Function

What is @@OPTIONS ? Returns information about the current SET options Why it is used? SQL Server offers many built in Configuration functions and one of these functions, @@OPTIONS which allows you to...

View Article

Image may be NSFW.
Clik here to view.

@@LOCK_TIMEOUT — Configuration Function

What is @@LOCK_TIMEOUT ? Returns the current lock time-out setting in milliseconds for the current session Syntax                                                 now lets change the default value of...

View Article

Image may be NSFW.
Clik here to view.

ASCII() , CHAR() — String Functions

Before we go ahead about these functions first I will introduce little bit about ASCII ASCII stands for American Standard Code for Information Interchange. Computers can only understand numbers, so an...

View Article

Image may be NSFW.
Clik here to view.

System Functions – $partition

Returns the partition number into which a set of partitioning column values would be mapped for any specified partition function. Syntax [ database_name. ]...

View Article


Image may be NSFW.
Clik here to view.

Len() and Datalength()

In this post we will go through two scalar functions Len() is one of the string functions Datalength is one of the Data type functions so what does Len() do , it returns(int) the number of characters...

View Article

Image may be NSFW.
Clik here to view.

ISDATE() Date time function in SQL Server

What is ISDATE(Expression) ? Returns 1 if the expression is a valid date, time, or datetime value; otherwise, 0. Expression can be any character string , less than 4000 characters but it should not be...

View Article
Browsing latest articles
Browse All 7 View Live




Latest Images