是否可以使用 odp.net 传递 plsql 包头中定义的类型?

发布于 2024-09-07 01:38:50 字数 206 浏览 1 评论 0原文

  TYPE point IS RECORD (
  X NUMBER,  -- The X co-ordinate of the point
  Y NUMBER   -- The Y co-ordingate of the point
  );

这是在我的包头中定义的。然后在同一包中定义的过程中使用它。我可以通过ODP.net调用该程序吗?

  TYPE point IS RECORD (
  X NUMBER,  -- The X co-ordinate of the point
  Y NUMBER   -- The Y co-ordingate of the point
  );

This is defined in my package header. It is then used in a procedure defined in the same package. Is it possible for me to call the procedure via ODP.net?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

深白境迁sunset 2024-09-14 01:38:50

不知道你能不能传个记录,但是关于 使用 PL/SQL 关联数组可能会有所帮助。

作者使用两个数组来传递 min_salarymax_salary,您应该能够对 xy 执行相同的操作>。

I don't know if you can pass a record, but the article about Using PL/SQL Associative Arrays might help.

The author uses two arrays to pass min_salary and max_salary, you should be able to do the same with x and y.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文