aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
Multiple choice technology web technology

Declare @number int, @copy int, @sum int Select @number=10, @copy=@number, @sum=@number+100 @sum=???

  1. 10

  2. 100

  3. NULL

  4. 110

Reveal answer Fill a bubble to check yourself
C Correct answer

Keep practicing — related questions

  • Declare a number := 5; b number := null; c number := 10; Begin if a > b AND a < c then a := c * a; end if; ...
  • Declare a number := 5; b number := null; c number := 10; Begin if a > b AND a < c then a := c * a; end if; ...
  • What is the output? DECLARE @val CHAR(20) SET @val = ' SQL is cool ' select LEN(@val)
  • What is the output? declare @d decimal select @d = 3.564636 select @d
  • 5 + NULL evaluates to 5 and ‘PL/’ || NULL || ‘SQL’ evaluates to ‘PL/SQL’
  • The general form of SUM statement is
  • SELECT TO_CHAR(1000000, '$99,999.00') SALARY FROM dual What Is the Output?
  • The sum statement is equivalent to using the SUM function and the RETAIN statement, as shown here: retain v...

Practice this topic

  • Database and SQL (3929 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy