Quantcast
Channel: SQL Server Rider » functions
Browsing latest articles
Browse All 12 View Live

Image may be NSFW.
Clik here to view.

Row – Count Vs Count_Big (T-SQL) – SQL Server

Counting number of items in a table is the greatest invention by the developers to look for any change in the table. For instance, ETL developers run this command to compare the row count of a table...

View Article



Image may be NSFW.
Clik here to view.

SQUARE – Math Functions

SQUARE () function returns the square of a float expression given in the function argument. The return type of this function is float. is a geometry symbol to denotes square. Syntax SQUARE ( float...

View Article

Image may be NSFW.
Clik here to view.

Get the nesting level value from procedure using @@NestLevel – SQL Server

@@NestLevel : This function returns the current nesting level value of the procedure such as stored procedure and function. It returns an integer value. The initial value of this function is 0 and the...

View Article

Image may be NSFW.
Clik here to view.

Type_ID and Type_Name – SQL Server

Type_ID() : This function returns the SQL Sever data type id for the given type name. You can refer my previous blog post for the data type list. This function returns an integer value for type id. We...

View Article

Image may be NSFW.
Clik here to view.

Retrieve Full-Text Search service property information – SQL Server 2012

Full-Text Search : This is an additional component given in the SQL Server engine. We have to install and setup this environment to use this feature for any business. Full-Text Search allows a business...

View Article


Image may be NSFW.
Clik here to view.

SQL SERVER 2012 – CHOOSE() a Logical Function @SQLSERVER

CHOOSE() : It is a new logical function introduced in SQL Server 2012 version.  This function holds a list of values and returns a value based on the location index number. Usage CHOOSE ( index, val_1,...

View Article

Image may be NSFW.
Clik here to view.

SQL SERVER 2012 – Convert an Expression to Specific Data Type using PARSE...

Parse : This conversion function is used to compute the expression and return the output to the desired data type. But, this function is in SQL Server 2012 and onwards. Parse function suitable for data...

View Article

Image may be NSFW.
Clik here to view.

SQL SERVER – Cursor System Functions @@CURSOR_ROWS

@@CURSOR_ROWS is the cursor system functions in SQL Server that are used to check the current status or row count. This is useful when we are working with one or more cursors in the procedures. We have...

View Article


Image may be NSFW.
Clik here to view.

SQL SERVER – Working with the session context information – CONTEXT_INFO

Context Information is a binary value of size up to 128 bytes that can be set for a session and referenced in multiple batches, stored procedures, triggers, or user-defined functions executing on the...

View Article


Image may be NSFW.
Clik here to view.

SQL SERVER – Obtain ERROR_STATE code for troubleshooting

ERROR_STATE: This function returns the error state number of an error occurred inside the try..catch block. This state number is different from @@ERROR number. Error State will differ for a same error...

View Article
Browsing latest articles
Browse All 12 View Live




Latest Images