BOM对于产品的重要性 (转载)
BOM的英文全称为Bill of Material,中文翻译为BOM. BOM是计算机可以识别的产品结构数据文件,也是ERP的主导文件。BOM使系统识别产品结构,也是联系与沟通企业各项业务的纽带。我写此文章,让大家明白BOM的建立目的和方法,及在一个产品生命周期中所扮演的角色。
PL/SQL表---table()函数用法 (转载)
/*PL/SQL表---table()函数用法:利用table()函数,我们可以将PL/SQL返回的结果集代替table。simple example:1、table()结合数组:*/create or replace type t_test as object(id integer,rq date,mc varchar2(60));create or replace type t_test_table as table of t_test;create or replace function f_test_array(n in number default null) return t_test_tableas v_test t_test_table := t_test_table();beginfor i in 1 .. nvl(n,100) loopv_test.extend();v_test(v_test.count) := t_test(i,sysdate,'mc'||i);end loop;return v_t