What are the data types for the MetricSnapShotID and EID
columns?
What are the values of the variables this.MetricSnapShotID
and arguments.EID?
Could there be a problem with the join in your SQL statement?
Does the SELECT statement work without a WHERE clause?