oracle 调用c库

1 . 创建lib

create or replace library MYADDLIB
as 'D:product10.2.0BINmyadd.dll';

2. 创建function

create or replace function myadd(a in pls_integer, b in pls_integer) return pls_integer
as
language C
library MYADDLIB
name "myadd"
parameters(a int, b int, return int);

原文地址:https://www.cnblogs.com/hellowego/p/7391311.html