⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 empcount.sql

📁 Direct Oracle Access 非常好的Oracle数据库直接访问组件包 支持个版本的Delphi及C++ Builder 有源码
💻 SQL
字号:
-- create an Oracle library for the DLL
create or replace library DeptLib AS 'C:\ExtProc\dept.dll';

-- create an external function definition
create or replace
  function EmpCount(p_DeptNo in dept.deptno%type)
  return number
  as external language c
  name "EmpCount"
  library DeptLib
  with context;
/

-- assuming the dll is in place, the following query should demonstrate
-- the created empcount function
select deptno, dname, empcount(deptno) from dept;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -