My Oracle Support Banner

Why Is Dynamic SQL Faster Than Static SQL In A Stored Procedure? (Doc ID 974448.1)

Last updated on NOVEMBER 05, 2019

Applies to:

PL/SQL - Version 10.2.0.5 and later
Information in this document applies to any platform.
***Checked for relevance on 08-Apr-2013***


Goal

When using Static SQL in a Stored Procedure the performance is slow when compared to Dynamic SQL.
In other words, using Dynamic SQL is much faster - Why?


Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.