Skip to Main Content
IBM Data Platform Ideas Portal for Customers


This portal is to open public enhancement requests against products and services offered by the IBM Data Platform organization. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:


Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,


Post your ideas

Post ideas and requests to enhance a product or service. Take a look at ideas others have posted and upvote them if they matter to you,

  1. Post an idea

  2. Upvote ideas that matter most to you

  3. Get feedback from the IBM team to refine your idea


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.

IBM Employees should enter Ideas at https://ideas.ibm.com



Status Submitted
Workspace Db2
Components Db2 Warehouse
Created by Guest
Created on Aug 21, 2026

CREATE PROCEDURE add new SQL SECURITY keyword

Hi Team,

I would like the "CREATE PROCEDURE" functionality to be enhanced with a SQL SECURITY keyword. Currently it is only possible with the SET SESSION AUTHORIZATION = <dbadm-user> in a stored procedure to let users execute the specific SQL within a stored procedure which need to be executed with elevated privileges like e.a. SQLADM or DBADM. But since the user also needs to be granted the GRANT SETSESSIONUSER privilege the user can also perform any SQL with the evelated privileges from IBM Data Studio or any other SQL query tool by first execute the SET SESSION AUTHORIZATION statement and then all SQL which are available for the elevated user. This is of course a security issue and can be solved by introducing the following SQL SECURITY keywords.

The SQL SECURITY keyword defines by which user the SQL within the stored procedure should be used to check the accessrights and execute the SQL. The SQL SECURITY keyword can have e.g. the following options INVOKER, CREATOR and OWNER and below the details for these three options :

SQL SECURITY INVOKER
This should be the default and means that all accessright checking and executing of the SQL within the stored procedure should be done by the user who starts / invokes the stored procedure.

SQL SECURITY CREATOR
This means that all accessright checking and executing of the SQL within the stored procedure should be done by the user who created the stored procedure. So with this option a DBADM user can create a stored procedure with SQL only a DBADM user can execute and since all accessright checking and executing of the SQL within the stored procedure is done by the creator, in this case a DBADM user, end user only need EXECUTE privilege on the stored procedure itself to be able to execute only the SQL statements within the stored procedure.

SQL SECURITY OWNER
Since owner and creator can be two different users on Db2 and ownership can also be transferre, I think it is wise to add this option also, so all accessright checking and executing of the SQL within the stored procedure should be done by owner of the stored procedure

By introducing this extra SQL SECURITY keyword we would get a lot of extra functionality to create stored procedures for end users so they can do more administration and self-service activities on the Db2 platform by themselves but in a very secure and controlled way.

Thanks and have a nice day !!!

Regards Ralph.

Needed By Month