Skip to main content
Solved

Migrate stored procedure


danilo_fme
Evangelist
Forum|alt.badge.img+45

Hello,

Is possible in FME migrate stored procedure in Oracle no-Spatial to SQL Server?

I saw any links here about run a procedure, but migrate a stored procedure.

Thanks,

Danilo

Best answer by trentatsafe

Hello @danilo_inovacao ,

 

As @mark_1spatial suggested with the different languages between Oracle and SQLServer it is not simple. A quick search of the web does yield some possible solutions to migrating a stored procedure from one SQL language to another.

Here is an article that may help get you started:

 

https://docs.microsoft.com/en-us/sql/ssma/oracle/converting-oracle-schemas-oracletosql

 

 

View original
Did this help you find an answer to your question?

6 replies

Forum|alt.badge.img+2
  • August 25, 2017

 

I can't see that being possible. Different language specifications between Oracle and SQLServer

 

PL/SQL T-SQL ?

 


trentatsafe
Safer
Forum|alt.badge.img+6
  • Safer
  • Best Answer
  • August 25, 2017

Hello @danilo_inovacao ,

 

As @mark_1spatial suggested with the different languages between Oracle and SQLServer it is not simple. A quick search of the web does yield some possible solutions to migrating a stored procedure from one SQL language to another.

Here is an article that may help get you started:

 

https://docs.microsoft.com/en-us/sql/ssma/oracle/converting-oracle-schemas-oracletosql

 

 


danilo_fme
Evangelist
Forum|alt.badge.img+45
  • Author
  • Evangelist
  • August 25, 2017

Hi @mark_1spatial and @trentatsafe thanks yours attention and answer with this case.

So, i hope that do this migration is not suitable?

Thanks,

Danilo


trentatsafe
Safer
Forum|alt.badge.img+6
  • Safer
  • August 25, 2017
danilo_fme wrote:

Hi @mark_1spatial and @trentatsafe thanks yours attention and answer with this case.

So, i hope that do this migration is not suitable?

Thanks,

Danilo

Hello @danilo_inovacao,

 

That is correct, it is not probable to migrate a stored procedure from database to database when their SQL languages have fundamental differences.

 

As such, it would be best to rebuild the procedure using the new language for the destination database.

 


danilo_fme
Evangelist
Forum|alt.badge.img+45
  • Author
  • Evangelist
  • August 25, 2017
trentatsafe wrote:
Hello @danilo_inovacao,

 

That is correct, it is not probable to migrate a stored procedure from database to database when their SQL languages have fundamental differences.

 

As such, it would be best to rebuild the procedure using the new language for the destination database.

 

Perfect. Thanks!

 

 


danilo_fme
Evangelist
Forum|alt.badge.img+45
  • Author
  • Evangelist
  • August 25, 2017
mark_f wrote:

 

I can't see that being possible. Different language specifications between Oracle and SQLServer

 

PL/SQL T-SQL ?

 

Thanks @mark_1spatial

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings