Reputation: 815
WHERE ((100 * FreeSpace / Capacity) <= 20), -- error on this comma
SystemName = @p_ServerName
Does anyone know what could cause the error? And if the code is the right way to do what I am trying to accomplish?
Upvotes: 1
Views: 31
Reputation: 605
Shouldn't the comma be an AND
?
WHERE ((100 * FreeSpace / Capacity) <= 20) AND SystemName = @p_ServerName
Upvotes: 1