While executing SQL Script file getting 'Given SQL statement is not allowed to be executed at this time.'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2020 11:11 PM
While executing SQL Script file getting 'Given SQL statement is not allowed to be executed at this time.'
Direct Queries such as select,create,update,etc. works fine. But if I pass a script file getting above error.
I'm using JDBC Credential to query the database via MID server.
- Labels:
-
Integrations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2020 08:34 AM
Hello Sanket,
Did above question has resolved, I had a similar issue while executing the sql statement from JDBC step in flow designer. Could you please let me know the solution if this has been resolved.
Thanks in Advance
Thanks,
Kranthi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2021 12:15 PM
I had a similar issue when I was trying to execute a stored procedure using the exec command. It is not allowed by default, but you just have to update a mid server property to allow it. That is covered in this KB article
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2021 06:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2022 11:56 PM
I had a simular issue.
I have an input variable string in my Flow with the SQL statement. When i try to use this input value as SQL Statement in the JDBC step it throws me the error "Given SQL statement is not allowed to be executed at this time"
Writing the SQL statement directly into the SQL Statement field is working fine.
Any ideas or solution?