In this statement of create or replace type I am having an error in is table of
. Here is the code:
CREATE or REPLACE TYPE Custos_SIN AS OBJECT
(NUM_GRUPO VARCHAR2(30),CUSTO_TOTAL NUMBER, SINISTROS_TOTAL NUMBER);
CREATE or REPLACE TYPE custos_sin_table IS [here in red] TABLE OF Custos_SIN;
Do you know why?
答案 0 :(得分:0)
据我记得PL / SQL,它应该是
CREATE or REPLACE TYPE custos_sin_table AS table of Custos_SIN;
不是
CREATE or REPLACE TYPE custos_sin_table IS table of Custos_SIN;