Link to home
Start Free TrialLog in
Avatar of AdithiPalli
AdithiPalli

asked on

How to create Stored Procedure on Oracle 9i?

I have to write a stored procedure on Oracle 9i Database.
In this SP, I will have to talk to two different databases other than the one on which it is written.
Do I need to have DB links created between the database on which this SP is written and the other two databases?
Out of the other two databases, one is a MSSQL database. Will there be any limitations for the stored procedure if it has to talk to a non Oracle Database?
ASKER CERTIFIED SOLUTION
Avatar of Sean Stuber
Sean Stuber

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Sean Stuber
Sean Stuber

wouldn't a split be more appropriate?

We gave the same answer at approximately the same time.

or, if a single answer were to be accepted, then I believe mine would have been more appropriate, it did come in first (albeit slightly) and I did offer the alternative of java stored procedures with jdbc connections.
Avatar of AdithiPalli

ASKER

I did not know a split can be done as Iam new to Experts Exchange. Please let me know how can I do that?
when you accept answers you can choose which ones you want to accept and you can even assign points individually to them.  So, if you wanted to weight one more than another you can assign more to that one, up to the total you originally assigned to the question.

Since you accepted angeliii's and not mine, I assume you found his somehow more valuable, so you can assign his answer more points than what you assign to mine.

I am curious though as to what prompted your acceptance of that answer over mine.  To me, they seem almost equivalent except mine has a tiny bit more.  But I'll try to do better if you can tell me how.

If you do want to change your acceptance or redistribute points, click the "Request Attention" link at the top of the question to have an admin reopen the question.

I found Angel's answer more to the point, that was why I slected it immediately.
hmmm, ok,  I'm not sure how to improve with that.

If anything it could be argued that the simple "yes" answer was incorrect, since it's not "essential" to create database links.  However, if we assume pl/sql then it is required and that's a reasonable assumption for most instances.

thank you for the feeback though, I'll try to be more succinct