Answers for "drop type in oracle"

SQL
0

oracle drop type

DECLARE
    existing_type number;
BEGIN
    SELECT count(*) into existing_type
    FROM ALL_TYPES
    WHERE TYPE_NAME = 'type_name' AND OWNER = 'schema_name';
    IF existing_type = 1 then
        EXECUTE IMMEDIATE 'DROP TYPE schema_name.type_name';
    END IF;
END;
Posted by: Guest on August-07-2021
0

oracle drop type

DROP TYPE schema_name.type_name;
Posted by: Guest on July-31-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language