Missed the Q4 Fall Release Product Update? Watch the on-demand webinar for more info on the latest in Designer 24.2, Auto Insights Magic Reports, and more!
Free Trial

Alteryx Designer Desktop Discussions

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

Error SQLExecute: [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot bulk load

nhartin
5 - Atom

Hi all,

 

I'm trying to fix a workflow that hasn't been running as it should. The workflow inputs data from an Azure SQL DB using ODBC connection. The connection appears to fine (at least from what I can tell) as I can access the visual query builders to see the tables in the database and write the SQL query in input from my desired table. 

 

However, the issue is when I run the workflow, I get various errors each time like the following:

 

Error SQL Execute: [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot bulk load because the file "XXXX.csv" could not be opened. Operating system error code 12(The access code is invalid.)

 

OR 

 

Error SQL Execute: [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot bulk load because the file "XXXX.dbo.XXX" is incomplete or could not be read. Operating system error code 12(The access code is invalid.)

 

I have done a few tests like updating the SQL query to input only the top 10 records from the table and this runs fine with no errors. The workflow fails every time I try to select all records from the table (e.g. select * from table)

 

 

Any help would be appreciated

 

2 REPLIES 2
nhartin
5 - Atom

Ok I've managed to get a couple of successful runs; I believe the issue is the table in the DB is constantly being updated by other processes and when the workflow is run at the same time it causes the errors seen above. In this case how can I ensure that my workflow will not fail? Is there a pre-sql statement I can run to ensure the table can be read? or a way to keep looping through the dynamic input until it's successful?

 

Labels
Top Solution Authors