Viewing 15 posts - 1 through 15 (of 25 total)
Yes I have grouped it on date entered and company name and I tried what you suggested and still the same result.
June 5, 2015 at 2:56 am
Sure I have attached it. This one looks ok but sometimes it gives me wrong value in between.
241,174
17,433
118,157
14,077
12,295
2,866
June 3, 2015 at 9:19 am
Eric M Russell (6/3/2015)
J Livingston SQL (6/3/2015)
what does Order By Value DESC give you?LOL! Havn't had this morning's coffee yet? 😉
In sql I am using
Order By DateEntered,...
June 3, 2015 at 9:08 am
It gives me values like these
241174
17433
118157
14077
12295
2866
739
June 3, 2015 at 8:57 am
The issue is with date sort order. it sorts it in lower number first then higher date it is a weekly report but when the month change and if I...
June 3, 2015 at 6:57 am
syedathariqbal (6/3/2015)
Were you able to solve your issue? I am not able to understand clearly what exactly your issue was?
Is it that if you enter - 'Ind' in your...
June 3, 2015 at 5:54 am
Thanks I would try your suggestion and get back to you.
May 22, 2015 at 5:20 am
Thanks for all your help I would try to work something out.
May 22, 2015 at 5:15 am
Sorry I did cut and paste I ran your query again without having and it runs it but It does give me the desired result where company is listed only...
May 22, 2015 at 4:59 am
when I ran the below query
I got this error
Msg 8121, Level 16, State 1, Line 12
Column 'SalesOrder.DateEntered' is invalid in the HAVING clause because it is not contained in either...
May 22, 2015 at 4:44 am
Is there a way to fix this query?
Thanks,
May 22, 2015 at 4:31 am
Hi
I am very new to SQL and appreciate your help.
I am not sure about code but here is the query
Msg 8120, Level 16, State 1, Line 1
Column 'Company.CompanyName' is...
May 22, 2015 at 4:25 am
When I try to use group by company name or account number then I get the error
Column 'Company.CompanyName' is invalid in the select list because it is not contained in...
May 22, 2015 at 4:10 am
Lynn,
I am sorry I posted wrongly. I have got the answer from here
http://www.sqlservercentral.com/Forums/Topic1318719-1291-1.aspx and it has helped me to get the result what I was looking for.
Thanks,
May 7, 2015 at 9:36 am
Viewing 15 posts - 1 through 15 (of 25 total)