Link to home
Start Free TrialLog in
Avatar of hojohappy
hojohappy

asked on

SQL Server Select CAST and SUM

I need to change the CAST of column and also SUM the column.  How can I do this?

SELECT CAST([ProductTaxonomy.csv].[YTD Sales Amount] AS numeric) as Total
FROM [ProductTaxonomy.csv]
INNER JOIN [Product Management.csv] ON [ProductTaxonomy.csv].[Product Code] = [Product Management.csv].[Product_Code]
ASKER CERTIFIED SOLUTION
Avatar of PortletPaul
PortletPaul
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial