如何在oracle中的单个程序包中使用多个数据库 [英] how to use multiple database in single package in oracle

查看:81
本文介绍了如何在oracle中的单个程序包中使用多个数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我可以从单个oracle包中的多个数据库表中获取记录吗?
我知道它可以在SQL中使用,但我在Oracle中是新手.
如果是,那怎么办?


谢谢
Manisha

Hi All,
can i fatch records from multiple databases tables in a single package of oracle?
I know its possible in SQL but i am new in Oracle.
If yes then how?


Thanks
Manisha

推荐答案

是的,这是可能的,如果您知道如何在Sql Server中进行操作,那么您几乎会在Oracle中做到这一点.查询语法略有不同,但是除非它是一个非常复杂的查询,否则转移到Oracle上应该没有任何问题.
Yes, it''s possible, and if you know how to do it in Sql Server, you pretty much know how to do it in Oracle. The query syntax is a little different, but unless it''s a really complex query, you shouldn''t have any problems moving to Oracle.


您需要创建一个数据库链接 [
You need to create a database link[^] between the databases.


这篇关于如何在oracle中的单个程序包中使用多个数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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