polynominal
asked on
Incorrect Syntax for SUM
I have the following query below, written in access, I need to convert it to sql
SELECT dbo_job.jobid, Sum([workitem.quantity]*[t emplatepri ce.price]) AS [value]
I have as follows
SUM(dbo.workitem.quantity * dbo.templateprice.price) AS [Value]
However I am getting different values than the access statement
Is there an error in the syntax
Thanks
Poly
SELECT dbo_job.jobid, Sum([workitem.quantity]*[t
I have as follows
SUM(dbo.workitem.quantity * dbo.templateprice.price) AS [Value]
However I am getting different values than the access statement
Is there an error in the syntax
Thanks
Poly
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.