Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

Dynamic SQL in DB2 SQL stored procedure

$
0
0
Hi Everyone,

I am brand new to this DB2 stored procedure. In our project, we have a requirement to write dynamic SQL in DB2 stored procedure. We need to write dynamic SQL (which is basically business rules) as a rows of a table and we need to fetch it one by one as part of validation procedure so that when new business rule added or existing rule modified, we can simply go and update the table rather that modifying the validation procedure. So, my question is, how to write dynamic SQL as rows of a table and how to fetch it using a cursor or so..?

Any help will be appreciated.

Thank you,
Manju

Viewing all articles
Browse latest Browse all 13329

Trending Articles