Hi
Sorry been on a few times today hopefully this is my last request for a while.
I have this query
select sum(TotalSellPrice) AS Sales,
Count(TotalSellPrice) AS Amount
FROM OrderHeader
WHERE (DateTimeCreated >= DATEADD(wk, DATEDIFF(wk, 0, GETDATE()), 0)AND DateTimeCreated < DATEADD(wk, DATEDIFF
(wk, 0, GETDATE()),8))
AND OrderType = 1
AND Deleted = 0
Which gives me the sales total and count. What I would like to achieve if possible is for it to read and look like
Total Daily Sales (count) Salestotal
I have been trying things from google like 'This Weeks Sales' + CONVERT(Varchar(12) etc... but cannot get it working.
Any ideas please
Sorry been on a few times today hopefully this is my last request for a while.
I have this query
select sum(TotalSellPrice) AS Sales,
Count(TotalSellPrice) AS Amount
FROM OrderHeader
WHERE (DateTimeCreated >= DATEADD(wk, DATEDIFF(wk, 0, GETDATE()), 0)AND DateTimeCreated < DATEADD(wk, DATEDIFF
(wk, 0, GETDATE()),8))
AND OrderType = 1
AND Deleted = 0
Which gives me the sales total and count. What I would like to achieve if possible is for it to read and look like
Total Daily Sales (count) Salestotal
I have been trying things from google like 'This Weeks Sales' + CONVERT(Varchar(12) etc... but cannot get it working.
Any ideas please