Skip to content
Home Ā» SQL SERVER Ā» SQL Interview Q & A Ā» Page 3

SQL Interview Q & A

A Series of SQL Server basics to advanced level SQL Interview questions and answers that are commonly asked in interivew.

Cascading referential integrity in SQL Server

Cascading referential integrity constraints are foreign key constraints that is used to defines the action that SQL Server performs when a user try to delete or update a primary key value to which an existing foreign key points.

Loading

SQL Server Stored Procedures Vs User Defined Functions

What is the difference between SQL Server Stored Procedures and User Defined Functions (UDF)?

Following are the some major difference between Stored procedures and User Defined functions

Return a value

Stored procedure may or may not return a value while UDF function must return a value.

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