Database Administration (MOSC)

MOSC Banner

woud a store procedure provide better performance?

edited Aug 19, 2010 9:55PM in Database Administration (MOSC) 6 commentsAnswered
My app team wants to insert multiple rows into a table and roll back all these changes if one of the inserts fails. My suggestion was to run the inserts one after another without commit and if one of them fails use rollback command to roll everything back. They said that a store procedure would provide a better performance. I am not sure why. Does anyone an explanation as to why a procedure would perform better in this case. Oracle version is 11.1.0.7

thank you

gene

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center