【发布时间】:2010-11-24 12:20:55
【问题描述】:
大家好,我有一个只输出表格列的存储过程。相反,我希望有 'There are' [column count] 'students'。作为输出。下面的例子。
CREATE OR REPLACE PROCEDURE active_students (arc in out sys_refcursor)
as
begin
open arc for select count(*) from student;
end;
这会生成
Count(*)
30
希望阅读
There are 30 students.
【问题讨论】:
标签: sql oracle stored-procedures