create or replace function getvalue(p_name varchar2) return int
is
begin
return 1;
end; create table testtable(
id int default getvalue('pname') not null primary key,
name varchar2(10)
)
;show errors
id int default getvalue('pname') not null primary key,
*
ERROR 位于第 2 行:
ORA-04044: 此处不允许过程, 函数, 程序包或类型
is
begin
return 1;
end; create table testtable(
id int default getvalue('pname') not null primary key,
name varchar2(10)
)
;show errors
id int default getvalue('pname') not null primary key,
*
ERROR 位于第 2 行:
ORA-04044: 此处不允许过程, 函数, 程序包或类型
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货