Busniess Name: Sourabh Sharma
Qtr No. 213, New Town Yehlanka
Indore 454775, India
What would be the output of the following batch?
BEGIN
DECLARE @Num1 INT,@Result INT
SET @Num1=10
BEGIN TRY
SET @Result=@Num1/0
SELECT @Result
END TRY
BEGIN CATCH
PRINT 'Num1 cannot be divided by zero'
END CATCH
END
NULL
Num1 cannot be divided by zero
0
Num1 cannot be divided by zero
To get all Infosys Certified Backend Layers Developer Exam questions Join Telegram Group https://rebrand.ly/lex-telegram-236dee