Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9198557
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T22:18:46+00:00 2026-06-17T22:18:46+00:00

I need to build insanely flexible stored procedures for internal users that know what

  • 0

I need to build insanely flexible stored procedures for internal users that know what they’re doing. These are folks that live in an SQL*Plus window all day who will suddenly be forced to use web forms.

These users will be provided a form, created by inspecting procedure metadata, where they’ll be able to execute stored procedures that look like this:

create or replace 
PROCEDURE DEV_UPDATE_TABLE_FOO 
(
  SET_FIELD IN VARCHAR2  
, SET_VALUE IN VARCHAR2  
, WHERE_CLAUSE IN VARCHAR2   
) AS 
BEGIN
  UPDATE foo
  SET <SET_FIELD>=<SET_VALUE>
  where <WHERE_CLAUSE>;
END DEV_UPDATE_TABLE_FOO;

With some quick searching, I’m not seeing that this is possible w/o causing problems with the “provided a form, created by inspecting procedure metadata” part of the problem.

SQL injection is basically encouraged. Meaning, we want these folks to be able to update a single field of their choice with a value of their choice, with a set clause that they create. They’ll have to quote strings where the value is VARCHAR2, etc.

Yet all that’s available to the UI that will draw the form is metadata. Other stored procedures will be more static and sensible. Those are easy.

Any ideas? The obvious answer is “just let them have access to sql*plus, or sqldeveloper, etc. Not possible unfortunately.

Thanks in advance…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T22:18:48+00:00Added an answer on June 17, 2026 at 10:18 pm

    Use

    EXECUTE IMMEDIATE dynamic_string
    

    Documentation is here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to build a configuration panel in the Plone control panel that store
hello expert, i need build app that share mobile app to second mobile so
I need to build a configurable query builder that allows the user to compound
I need to build several collections in Backbone that only differ by their URL.
I need build Queue that will stay allways sorted by its keys . the
i don't work well with C++ but now i need build a function that
I need to build an app. that will record video from the webcam, show
I need to build an NSString that resembles the following: Name: Craig Buchanan Telephone:
i need to build an app for blackberry that will change the background color
I need to build a couple of pages that will only be ever viewed

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.