Hi - I need to build the follow types of updates in in Alteryx workflows which are relatively straightforward using sql - but I'm struggling to see how to achieve via an Alteryx workflow?? I've managed to find an Alteryx-SQL conversion guide - but it only deals with select type functions and not updates...
As an example:
update HESA_STUDENT_CURRICULUM hsc
set hesa_module_outcome = '7'
and hesa_module_outcome is null
and exists (select 1
from hesa_student_instance hsi
, student_course_detail_table scdt
, course_instance ci
where hsc.hesa_student_instance = hsi.object_id
and hsi.student_course_detail = scdt.object_id
and scdt.course_instance = ci.object_id
and ci.academic_year = &academic_year
)
;
Solved! Go to Solution.
Hi,
if you want to embed the named SQL statement in an Alteryx workflow (e.g. select Data from an SQL datasource, do something and write it back),
it should be possible to use the "Pre Create SQL Statement" in the Data Output Tool:
If you want to use Alteryx workflow to fire the SQL statements, you should consider using IN-DB-tools (e.g. Formula In-DB).
Best regards
Roland