Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Error: Connect In-DB (1): Error SQLPrepare: [Teradata][ODBC Teradata Driver][Teradata

sonseeahray
8 - Asteroid

This error Error: Connect In-DB (1): Error SQLPrepare: [Teradata][ODBC Teradata Driver][Teradata Database](-3576)Data definition not valid unless solitary. only occurs when I attempt to run this query from within Alteryx In-Database. The attached query runs fine within Teradata itself.

 

sonseeahray_0-1624972094805.png

 

4 REPLIES 4
rkapoor
Alteryx
Alteryx

@sonseeahray this sort of error normally occurs when you have a multi-statement request. Looking at your SQL, it looks like you are wanting to run multiple SQL queries at once in the in-db tool.   The in-db tool will run this as one transaction and therefore Teradata will treat this as a multi-statement request. 

 

Can you split the SQL queries out into separate in-db tools?

sonseeahray
8 - Asteroid

@rkapoor thank you for clarifying that I need to break the SQL up into separate queries. Let me give it a go and thank you!

rkapoor
Alteryx
Alteryx

Let me know how it goes @sonseeahray 

sonseeahray
8 - Asteroid

Will do @rkapoor!

Labels
Top Solution Authors