Error: Dynamic Input (20): Error: Microsoft OLE DB Provider for SQL Server: Incorrect syntax near '-'.\42000 = 102 in Query: EXEC jmg_FindTheLatestAccount G3-B20151103130257056
When I put this string G3-B20151103130257056 directly into the stored procedure, it works fine. Somehow, it seems that Alteryx is changing it.
Any suggestions?
Solved! Go to Solution.
It may be interpreting the dash as a minus sign. Can you wrap it in quotes as part of passing it to the stored procedure?