PL/SQL-Developer 7.1.1.1339
Oracle 10.2
Hi Devteam,
I want of beautify a SQL statement with model clause. After this the brackets [ ] are removed.
After beautifying ...
Karl
Oracle 10.2
Hi Devteam,
I want of beautify a SQL statement with model clause. After this the brackets [ ] are removed.
Code:
SELECT Integer_Value AS MONTH
FROM Dual
WHERE 1 = 2
MODEL DIMENSION BY(0 AS Key)
MEASURES(0 AS Integer_Value)
RULES Upsert(Integer_Value [ FOR KEY FROM 1 TO 12 INCREMENT 1 ] = Cv(Key))
Code:
SELECT Integer_Value AS MONTH
FROM Dual
WHERE 1 = 2 Model Dimension BY(0 AS Key) Measures(0 AS Integer_Value) Rules
Upsert(Integer_Value FOR Key FROM 1 TO 12 Increment 1 = Cv(Key))