Multiple choice technology databases

Output of the below query.. select # from dual;

  1. Error : Invalid Character

  2. Error : Invalid identifier

  3. #

  4. NULL

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

When '#' appears without quotes in a SELECT statement, Oracle interprets it as the start of a comment. Since a comment requires valid syntax or continues to end of line, this causes an 'Invalid Character' error. The '#' character is not a valid token outside string literals.