如果您有 Oracle 11g,是否需要学习 PL/SQL 语言?
PL/SQL 是 Oracle 11g 的语言吗? Oracle 还使用其他语言吗?我不是指使用其他语言的前端应用程序,只是如果我直接在数据库中。我问这个问题是因为我知道 SQL Server 会让你使用各种 .NET 语言,并且不知道 Oracle 是否还有 pl/sql 以外的语言。
谢谢。
编辑:我只是想确保 pl/sql 没有死或者什么。我不想学习它并用它在数据库中构建过程,有人说……好吧,你应该使用……x。
is PL/SQL the language of Oracle 11g? Is there some other langauge that Oracle uses? I don't mean front end applications that use other languages, just if I am in the database directly. I ask because I know SQL Server will let you use various .NET languages and didn't know if Oracle had something other than pl/sql.
Thanks.
EDIT: I just want to make sure pl/sql is not dead or anything. I'd hate to learn it and build procedure in the database with it and someone say...well you should have used....x.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
在大多数情况下,我认为答案是“是”。我认为也可以加载 Java 和 C 模块,以便它们可以由数据库中的 PL/SQL 代码调用/被调用,但我自己从未见过这样做。我不知道在哪里寻找这方面的信息,但现在您有其他研究线索;)
Java 存储过程的示例: http://www.developer.com/db/article.php/3337411/Oracle-and-Java-Stored-Procedures.htm
..并且不用担心 PL/SQL 已经死亡或即将消亡。我认为这仍然是为 Oracle 编写大多数存储过程和数据库内代码的方式。
For the most part, I think the answer is "Yes". I think that it's also possible to load Java and C modules so they can call/be called by PL/SQL code in the database, but I myself have never seen this done. I'm not sure where to look for information on this, but now you have other leads to research ;)
Example of a Java stored procedure: http://www.developer.com/db/article.php/3337411/Oracle-and-Java-Stored-Procedures.htm
..and don't worry about PL/SQL being dead or dying. I think it's still the way most stored procedures and in-database code is written for Oracle.
来自甲骨文:
http://www.oracle.com/technetwork/database/features/plsql /index.html
From Oracle:
http://www.oracle.com/technetwork/database/features/plsql/index.html
获取以下链接的信息:
1 Oracle Database Extensions for .NET 简介< /code>
请注意,我从未使用过 CLR 扩展,甚至没有使用过 SQL Server,因此我无法提供任何进一步的帮助。我只认为上述链接提供的信息是相关的,并且可能提供有用的提示。
Taking the information of the following link:
1 Introduction to Oracle Database Extensions for .NET
Bear with me that I have never ever used CLR extensions, not even with SQL Server, so I can't be of any further assistance. I only think the information provided by this above link is related and might provide useful tips.
PL/SQL 非常适合在存储过程中执行大量 DML。如果您使用表单和报告,那么它也是首选语言。缺点是它不可移植,并且不能与其他环境中可用的大量库很好地交互。我大部分繁重的数据库工作都是在 PL/SQL 中完成的,但所有 Web 应用程序和其他东西都必须使用 J2EE 和 JDBC 来集成其他系统。
PL/SQL is very good for doing a lot of DML in a stored procedure. If you're using forms and reports then it also the language of choice. The disadvantage is it's not portable and doesn't interface that well with the tons of libraries available for other environments. I do most my heavy DB work in PL/SQL but all the web applications and things that have to integrate other systems using J2EE and JDBC.