SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
Could any one please explain why do we use the above statements.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
SET ANSI_NULLS
This setting makes it possible to do
NULLcomparisons using equality operator and not justIS [NOT] NULLoperator.SET QUOTED_IDENTIFIER
This example from MSDN/Books online will shed some light on this: