从数据库链接对 oracle 表使用分区
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/5580490/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Using Partition on oracle table from a DB link
提问by Hany
I am working on Oracle 9i
我正在研究 Oracle 9i
my question is:
我的问题是:
can I use a partition over a table through a dblink
我可以通过 dblink 在表上使用分区吗
for example I am working on DB1 and want to use a table A_table which has a partition with name part1 from DB2
例如,我在 DB1 上工作并想使用一个表 A_table,它有一个来自 DB2 的名为 part1 的分区
how can I make the following:
我怎样才能做到以下几点:
SELECT * FROM A_table PARTITION(part1)@DB2
is there any syntax to do that, or it's forbidden in Oracle 9i
是否有任何语法可以做到这一点,或者在 Oracle 9i 中是禁止的
Regards
问候
回答by Abd
You cannot query partitons over dblinks
see this post:
Oracle forums
您不能通过 dblinks 查询分区,
请参阅此帖子:
Oracle 论坛