Forum Discussion

Dwivedi15's avatar
Dwivedi15
Helper I
1 year ago
Solved

Syntax issue while connecting SQL server

After doing a direct query on a database :   -- POPULATE PROJECT REFERENCE AND TOTAL WATER OFFERED -- WITH WaterOffered AS ( SELECT Project_Reference, SUM(Water_Total_AV) AS Total_Water_Offer...
  • Fowmy's avatar
    Fowmy
    1 year ago

    Dwivedi15 
    Connect to the SQL server through SSMS or Azure Data Studio and paste this query and ensure it runs without error, it will highlight the lines where you find errors.

  • MattiaFratello's avatar
    1 year ago

    Remove ; at the end of your query