如何调用oracle函数 [英] how to call an oracle function

查看:107
本文介绍了如何调用oracle函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何调用oracle函数来获取数据而不使用select

语句或存储过程?


给出一个project_no,我需要调用功能:

ops $ sqltime.pa_new_job_no_fn

这将提前退货下一个job_no



解决方案

sqltime.pa_new_job_no_fn

这将提前返回下一份job_no




是proc还是函数?

Oracle proc应该调用函数。


我不确定你是否可以直接从代码中调用实际函数,而不是从一个proc(存储过程)调用它然后将它暴露给

出边的代码。


" Newbie" <氖**** @ discussions.microsoft.com>在留言中写道

news:7C ********************************** @ microsof t.com ...

如何在不使用选择
语句或存储过程的情况下调用oracle函数来获取数据?

给出一个project_no,i需要调用函数:
ops


sqltime.pa_new_job_no_fn
这将提前返回下一份job_no



how can i call an oracle function to get data without using a select
statement or stored procedures?

given a project_no, i need to call the function:
ops$sqltime.pa_new_job_no_fn
which will return the next job_no

thanks in advance.

解决方案

sqltime.pa_new_job_no_fn
which will return the next job_no

thanks in advance.


is it a proc or a function?
The Oracle proc should call the function.

I''m not sure if you can call an actual function straight from code without
calling it from a proc (stored procedure) and then exposing it that way to
out side code.

"Newbie" <Ne****@discussions.microsoft.com> wrote in message
news:7C**********************************@microsof t.com...

how can i call an oracle function to get data without using a select
statement or stored procedures?

given a project_no, i need to call the function:
ops


sqltime.pa_new_job_no_fn
which will return the next job_no

thanks in advance.



这篇关于如何调用oracle函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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