type type_table_renew is table of cust_renew_ply_list%rowtype;
table_renew type_table_renew;
item_renew cust_renew_ply_list%rowtype;
帮小弟 看下这段代码什么意思

解决方案 »

  1.   

    声明了一种类型type_table_renew :TABLE行类型 type type_table_renew is table of cust_renew_ply_list%rowtype;
    声明了上述类型type_table_renew 的变量table_renew:table_renew type_table_renew;
      

  2.   

    type type_table_renew is table of cust_renew_ply_list%rowtype; --声明一个嵌套表类型type_table_renew
    --嵌套表类型类似于其它高级语言的数组,该数据组的元素类型为的一个表记录类型cust_renew_ply_list
    --所以最终该自定义的嵌套表类型的变量存储的数据类似表cust_renew_ply_list
    table_renew type_table_renew; --声明一个类型为type_table_renew的变量table_renew
    item_renew cust_renew_ply_list%rowtype; --声明一个表记录类型变量item_renew
      

  3.   

    table_renew type_table_renew; --声明一个类型为type_table_renew的变量table_renew
    item_renew cust_renew_ply_list%rowtype; --声明一个表记录类型变量item_renew