Skip to content
Home » SQL Basics Tutorial for beginners

SQL Basics Tutorial for beginners

SQL SERVER IF..ELSE

SQL Server IF..ELSE block is a control-of-flow that allows you to execute or skip a statement block based on a specified condition.  

SYNTAX

IF Boolean_expression
{ sql_statement | statement_block }
[ ELSE { sql_statement | statement_block } ]  

SYNTAX

IF Boolean_expression
{ sql_statement | statement_block }
[ ELSE { sql_statement | statement_block } ]

Loading

SQL Server Verbose Truncation Warnings

SQL Server Verbose Truncation Warnings 

Sometimes we receives data truncation error in SQL Server such as “String or binary data would be truncated” and it does not specify exact source of error in terms of  Database name, table  name , column name and truncated values.

Loading