具有ref属性的对象类型的全局临时表
在oracle 9i数据库中,我有一个对象类型表。该对象具有 REF 属性。 当我“选择取消引用...”时效果很好。
问题是: 由于架构问题,我必须将该表设为 GTT(全局临时表)。现在,当我执行“select deref...”时,给出错误 ORA-00600 ... [2147483647] ...
我可以在 GTT 上拥有 REF 属性吗? (谷歌没有给我任何关于这个的信息)
如果没有..我该如何解决 GTT 中的循环依赖问题?
提前致谢
In oracle 9i database, I have a table of objects type. The object has a REF attribute.
When i do "select deref..." works fine.
THE PROBLEM IS:
Due to architectural issues, i have to make the table a GTT (global temporary table). Now when i do "select deref..." give me the error ORA-00600 ... [2147483647] ...
Can I have REF attributes on a GTT ? (google give me nothing about this)
If not.. how can i resolve the cycle dependence problem in GTT ?
Thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
ORA-00600 是 Oracle 针对未处理异常(即 bug)的错误代码。通常的建议是向 Oracle 支持提出该问题。如果您没有支持帐户,您可能就不那么幸运了。
很少有人使用 Oracle 对象来声明持久性结构,因此其他人不太可能经历过这种情况。此外,全局临时表是 9i 中的一项新功能,因此当它们与像对象这样深奥的东西结合使用时,很可能存在未被发现的错误。
为了最大限度地提高人们认识到您的问题的机会,您需要发布更多详细信息。 ORA-00600 错误通常与在特定硬件上的特定操作系统上运行的特定数据库版本相关。您还需要发布完整的 ORA-00600 消息:所有参数都可以有意义。
ORA-00600 is Oracle's error code for unhandled exceptions i.e. bugs. The usual advice is to raise it with Oracle Support. If you don't have a Support account you're probably out of luck.
Very few people use Oracle Objects for declaring persistence structures, so it is unlikely anybody else has experienced this. Also Global Temporary Tables were a new feature in 9i so it is likely that they had undiscovered bugs when combined with something as esoteric as objects.
To maximize the chances of somebody recognising your problem you need to post more details. ORA-00600 errors are often associated with specific versions of the database running on specific OS on specific hardware. Also you need to post the full ORA-00600 message: all the parameters can have significance.
好的...我找到了解决方案..
Oracle 上的 GTT 不要让引用成为列的类型。
我获取引用,输入一个 ID(如外键),就可以了。就我的目的而言,它有效。
APC感谢您的回答...
Ok... I find the solution..
GTT on oracle don't let references be type of a column.
I take the reference, put a Id (like a foreign key) and it's ok. For my porpose it work.
APC thanks for your answer...