In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Using Oracle SQLERR in Alteryx

martman
8 - Asteroid

Hi All

 

Hope someone can help.

 

I have a procedure call in the pre sql statment of an input tool which works fine but I would like to use SQLERR to determine if it failed or not, but I am unsure as to how I would use SQLERR  or even if its possible.

 

Thanks

1 REPLY 1
TrevorS
Alteryx Alumni (Retired)

Hello @martman 
I was able to find these articles regarding the SQLERR function.
https://documentation.basis.com/BASISHelp/WebHelp/commands2/sqlerr_function.htm
https://docs.oracle.com/cd/B19306_01/appdev.102/b14261/sqlerrm_function.htm

From the docs.oracle.com link, the following is stated "You cannot use SQLERRM directly in a SQL statement."

 

Unfortunately, it doesn't look like the call you are trying to make is possible.

Thanks,
TrevorS



Community Moderator
Labels
Top Solution Authors