Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


steps to be followed to migrate t-sql code to pl-sql ?


steps to be followed to migrate t-sql code to pl-sql ?

Author
Message
ravi@sql
ravi@sql
SSC-Enthusiastic
SSC-Enthusiastic (127 reputation)SSC-Enthusiastic (127 reputation)SSC-Enthusiastic (127 reputation)SSC-Enthusiastic (127 reputation)SSC-Enthusiastic (127 reputation)SSC-Enthusiastic (127 reputation)SSC-Enthusiastic (127 reputation)SSC-Enthusiastic (127 reputation)

Group: General Forum Members
Points: 127 Visits: 347
Hi All,

I wanted to convert t-sql code to Pl-sql(oracle 11g).
Can any body guide what are the steps to be followed to migrate this code and how ?

And also please suggest some good sites like sql servercentral.com
to query pl.sql related question, forum etc.

Regards,
Ravi Smile
DiverKas
DiverKas
SSC Veteran
SSC Veteran (253 reputation)SSC Veteran (253 reputation)SSC Veteran (253 reputation)SSC Veteran (253 reputation)SSC Veteran (253 reputation)SSC Veteran (253 reputation)SSC Veteran (253 reputation)SSC Veteran (253 reputation)

Group: General Forum Members
Points: 253 Visits: 460
ravi@sql (1/14/2013)

Hi All,

I wanted to convert t-sql code to Pl-sql(oracle 11g).
Can any body guide what are the steps to be followed to migrate this code and how ?

And also please suggest some good sites like sql servercentral.com
to query pl.sql related question, forum etc.

Regards,
Ravi Smile


I dont know of any sites that will do it for you (unlike the VB to C# conversion sites). Mostly because there are so many nuances between the 2 languages. Things I would do in SQL Server I would never attempt in PL-SQL and vice versa. Simple things like TRIM that do things in Oracle that does not happen in SQL Server. Return values, variables, scope, packages... the list goes on.

The real question is, is it really necessary to move it? The 2 can coexist.
Lynn Pettis
Lynn Pettis
SSC-Insane
SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)

Group: General Forum Members
Points: 24171 Visits: 37936
It also is dependent on what you are porting to Oracle what needs to be done differently between PL/SQL and T-SQL.

Cool
Lynn Pettis

For better assistance in answering your questions, click here
For tips to get better help with Performance Problems, click here
For Running Totals and its variations, click here or when working with partitioned tables
For more about Tally Tables, click here
For more about Cross Tabs and Pivots, click here and here
Managing Transaction Logs

SQL Musings from the Desert Fountain Valley SQL (My Mirror Blog)
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search