Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to restrict the SQL queries from executing based on their length.

Arun BandiJul 17 2013 — edited Jul 17 2013

Hello,

        I have been assigned a task to restrict the SQL queries that our database users execute, based on the length of the query. we are using database vault for security. Can I know how can I get the length of the query that is currently being executed. SYS_CONTEXT gives me most of the user information, but when it comes to the SQL Statement, I'm not able to  get the length of it. does SYS_CONTEXT('USERENV','CURRENT_SQL') gives me the query..? Please help.

Thanks!

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 14 2013
Added on Jul 17 2013
8 comments
995 views