0
I come from a background of T-SQL (MS SQL Server) and have things that do not work equally in PL/SQL.
I would like to know how to select scalars in PL/SQL.
Examples in MS SQL Server
Example 1:
SELECT 1 + 1
Example 2:
DECLARE @variavel INT = 1
SELECT @variavel
How I would make these examples work in PL/SQL on Oracle SQL Developer?
Related: What is and what is the utility of the DUAL table for Oracle?
– Homer Simpson