程序问题(选择查询和游标)Oracle [英] problem with procedures ( select query and cursors ) Oracle

查看:116
本文介绍了程序问题(选择查询和游标)Oracle的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我正在使用oracle 11g

将我的asp.net项目与oracle数据库连接起来,所以创建程序来获取我的

工作完美。

这是我用来创建程序的代码



hello,
" am using oracle 11g "
am connecting my asp.net project with oracle database , so am creating Procedures to get my
work perfect.
this is the code am using to create procedure

create or replace package humanresources
type t_cursor is ref cursor;
as
procedure get_employee(cur_employees out t_cursor)
is
begin
open cur_employees for select * from emp;
end get_employee;
end human_resources;





和第7列第一行的错误因此它接近创建

i不知道为什么我收到这个错误...

提前感谢:)



and the error in the first line at column 7 so it's near create
i don't know why i am getting this error ...
thanks in advance :)

推荐答案

这篇关于程序问题(选择查询和游标)Oracle的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆