Error: Did not finish. Must declare the scalar variable @startdate". Incorrect syntax near the keyword "and". Incorrect syntax near ")". Warning: Null value is eliminated by an aggregate or other set operation."

Error: Did not finish. Must declare the scalar variable "@startdate". Incorrect syntax near the keyword "and". Incorrect syntax near ")". Warning: Null value is eliminated by an aggregate or other set operation.  Occurs when running smart field.

Download and install the latest version and patch, if applicable. 

Environment

 2.9

Was this article helpful?