Database activities Execute Non Query failing, query '' corrupt

I have just checked and the code is already running the latest version of the database activities
"UiPath.Database.Activities": "[1.2.6863.32528]"