Toad World® Forums

Format of RECORD TYPE


#1

Toad doesn’t format correctly the RECORD TYPE definition. I set Stacked on more than 0 columns and fifth option from parentheses, but the generated code looks like:

CREATE OR REPLACE PACKAGE BODY sample_package
IS
TYPE trec__efrderarak_rep2 IS RECORD (kldatum in_sample_arak.kldatum%TYPE);

TYPE trec__pvr_dnr_feladas_sample
IS RECORD (dnrpvr_adat pvr_dnr_feladas_sample.adat%TYPE);

TYPE trec__2columns IS RECORD (
first_col test1.col2%TYPE,
second_col test1.col1%TYPE
);

PROCEDURE a (
one_param IN NUMBER)
IS
BEGIN
NULL;
END a;
END sample_package;


#2

Fixed.

Also fixed for ROW and OBJECT data types, for CREATE TABLE, CREATE VIEW, and Udb/Watcom DECLARE temporary table. (QP-909)