I am using R and the RODBC library to execute queries on a SQL Server database. This works fine and returns desired result sets when I execute a single select statement, or even create multiple temporary tables before selecting my final dataset.
However, when I insert the option
OPTION (MAXDOP 1);
after my queries (which my platform administrator has asked that I use after all queries) I get the error
[RODBC] ERROR: Could not SQLExecDirect
Is there anything I can do to resolve this error while still adhering to the requirement that queries not use parallel processing?