帮忙翻译一句话,实在是不明白逻辑~~

rcom10002 2006-09-21 03:40:49
Naming cursors after database tables is allowed but not recommended.
在数据表之后命名游标是允许的,但并不推荐这样做。

原文想表达什么呢???能不能举个例子啊???
...全文
218 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
gechangwei 2006-09-26
  • 打赏
  • 举报
回复
我的理解:
可以使游标名字与所取的表一致,但不建议这么做。
rcom10002 2006-09-26
  • 打赏
  • 举报
回复
ding yi xia
rcom10002 2006-09-24
  • 打赏
  • 举报
回复
The cursor name is an undeclared identifier, not the name of a PL/SQL variable.
You cannot assign values to a cursor name or use it in an expression. However,
cursors and variables follow the same scoping rules. Naming cursors after database
tables is allowed but not recommended.
A cursor can take parameters, which can appear in the associated query wherever
constants can appear. The formal parameters of a cursor must be IN parameters.
Therefore, they cannot return values to actual parameters. Also, you cannot impose
the constraint NOT NULL on a cursor parameter.

------PL/SQL User Guide And Reference
majy 2006-09-22
  • 打赏
  • 举报
回复
晕,突然来一句,天知道,是什么书上的啊?
fuxia 2006-09-22
  • 打赏
  • 举报
回复
上下文呢?

17,377

社区成员

发帖
与我相关
我的任务
社区描述
Oracle 基础和管理
社区管理员
  • 基础和管理社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧