Interview Questions Answers.ORG
Interviewer And Interviewee Guide
Interviews
Quizzes
Home
Quizzes
Interviews Databases Programming Interviews:BtrieveClipperData ModelingData StructuresDatabase AdministrationDatabase Administrator (DBA)Database AnalystDatabase DeveloperDB DevelopmentEDI/Data Integration ExpertFirebirdHierarchicalIBM DB2InformixJava DatabaseMariaDBMicrosoft Access DeveloperMongoDBMS SQL ServerMySQL ProgrammingNetworkNoSQLObject RelationalPostgrePostgreSQLProgressRDBMSRelationalSQLSQL AdministratorSQL and PL/SQLSQL Notification ServicesSQL server 2008SSRSStored ProcedureSybaseTeradata
Copyright © 2018. All Rights Reserved
MS SQL Server Interview Question:
What Happens If NULL Values Are Involved in Arithmetic Operations?
Submitted by: AdministratorIf NULL values are involved in arithmetic operations, the result will be numeric NULL values. The following tutorial script shows you some good examples:
SELECT 7+NULL;
GO
-----------
NULL
SELECT 10.02*NULL;
GO
-----------
NULL
SELECT 4.988E+10/NULL;
GO
-----------
NULL
Submitted by: Administrator
SELECT 7+NULL;
GO
-----------
NULL
SELECT 10.02*NULL;
GO
-----------
NULL
SELECT 4.988E+10/NULL;
GO
-----------
NULL
Submitted by: Administrator
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.
https://InterviewQuestionsAnswers.ORG.