MSCEWI3104

Unusable collection variable

triangle-exclamation

Severity

High

Description

Oracle collections are not currently supported by SnowConvert, all the collection types variables and their usages will be commented out.

Example Code

Input Code:

CREATE OR REPLACE PROCEDURE collection_variable_sample_proc
IS
    TYPE POPULATION IS TABLE OF NUMBER INDEX BY VARCHAR2(64); --Associative array
    city_population POPULATION := POPULATION();
    i  VARCHAR2(64);
BEGIN
	city_population('Smallville')  := 2000;
    city_population('Midland')     := 750000;

    i := city_population.FIRST;
    i := city_population.NEXT(1);
END;

Output Code:

Recommendations

Last updated