Oracle 到 SQL Server 存储过程和函数转换器

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/4561620/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-18 22:18:34  来源:igfitidea点击:

Oracle to SQL Server stored procedure & function converter

sql-serveroracle

提问by maranello

Do you know of a tool that converts Oracleuser defined functions to SQL Server? I used swiss sqlonline converter but it converts some of my functions.

您知道将Oracle用户定义的函数转换为 的工具SQL Server吗?我使用了swiss sql在线转换器,但它转换了我的一些功能。

回答by Codo

The Microsoft SQL Server Migration Assistant for Oracleshould be able to convert certain PL/SQL functions to SQL Server.

微软的SQL Server迁移助手甲骨文应该能够一定PL / SQL函数转换到SQL Server。

However, since PL/SQL is so much more powerful than T-SQL, every tool will fail at a certain point.

然而,由于 PL/SQL 比 T-SQL 强大得多,所以每个工具都会在某个时刻失败。

回答by J Henzel

I can see trying to do this being problematic because you are changing from PL/SQL to T/SQL; they are different languages.

我可以看到尝试这样做是有问题的,因为您正在从 PL/SQL 更改为 T/SQL;他们是不同的语言。

There are some some functions and operators that exist in one and not the other. Depending on what you are using in the sprocs, you may have to do a workaround or a rewrite of significant parts.

有一些函数和运算符存在于一个而不是另一个中。根据您在 sproc 中使用的内容,您可能需要采取一种解决方法或重写重要部分。

Take a look at some of these

看看其中的一些

Microsoft T-SQL to Oracle PL/SQL translation

Microsoft T-SQL 到 Oracle PL/SQL 的转换

oracle_sql_server_differences_equivalents

oracle_sql_server_differences_equivalents

Reference sqlserver

参考sqlserver