Heraldry Today
SQL Error: SELECT pe.*, NULL ProjectImageID, e.ElementEN FROM HldProjectElement pe INNER JOIN HldElement e ON pe.ElementID = e.ElementID WHERE pe.ParentElementID = 0 AND pe.ProjectID = AND PresTypeID IN (1,3,5) ORDER BY PresTypeID , SeqNum
[Microsoft][SQL Server Native Client 10.0][SQL Server]Incorrect syntax near the keyword 'AND'.