JDBC Step integration hub
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2022 01:28 PM
I am trying to connect to Oracle DB to unlock use account and my query is
alter user <UserID> account unlock
I am trying to Sanitize the userid value , but it is appending single quotes to the userid value.
How do I remove the single quote and pass it as a plane string with no single or double quotes?
- Labels:
-
IntegrationHub
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2022 05:43 AM
what is the error if you pass it without quotes. I dont think it will allow you to test the JDBC step without sanitising.
If you pass the value dynamically from inputs, then single quote is not required.
Raghav
MVP 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2022 12:46 PM
I am getting error saying "Given SQLis not allowed to be executed at this time"
The query is going as
Alter user 'ABC' account unlock
Instead Of
Alter user ABC account unlock
ABC is coming from the input step as a String