Viewing 15 posts - 16 through 30 (of 69 total)
Chris Harshman (11/1/2016)
SELECT TOP...
November 1, 2016 at 1:25 pm
thank you ZZartin!
The Value "ThisRec" can be anything and there is a possibility of having multiple records based on the other criteria.
thanks!
November 1, 2016 at 1:24 pm
I think we have it, but for completeness, can you please confirm that if there is only an Online order, i.e. that the OrdID does not also have a match...
February 4, 2016 at 6:41 pm
Thank you all for the replies!
@jacob Wilkins - You are correct, if there are two or more MtchId's with "Phone", "Online" and other OrdLoc's I want to display...
February 4, 2016 at 8:16 am
Thank you all! for your valuable inputs.
January 22, 2016 at 6:19 am
J Livingston SQL (1/21/2016)
here is a start
Thank you!
January 21, 2016 at 11:27 am
J Livingston SQL (1/21/2016)
ok...which bit?is it the "CASE" statement or the "SUM OVER".....or ?
This part
"SUM OVER" & "ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW"
Thanks!
January 21, 2016 at 11:16 am
yb751 (1/21/2016)
ssc_san (1/21/2016)
Thank you yb751!The real data has dates, but I wanted to simplify it.
Thank you!
At least you provided the sample data which is more than some. 😉
Good to know...
January 21, 2016 at 10:54 am
J Livingston SQL (1/21/2016)
ssc_san (1/21/2016)
Thank you J Livingston SQL! It worked.thanks...but do you understand how?
I'm trying to, but it would help If you could provide a brief explanation.
Thanks much!
January 21, 2016 at 10:51 am
Thank you yb751!
The real data has dates, but I wanted to simplify it.
Thank you!
January 21, 2016 at 8:38 am
Thank you J Livingston SQL! It worked.
January 21, 2016 at 8:36 am
Thanks you Luis C and Micky! Both the solutions worked like charm.
April 8, 2014 at 2:06 pm
Hi, Thanks for the reply.
Sorry, forgot to mention, there is a seq number.
CREATE TABLE #xy123
(
tktamt MONEY,
...
April 7, 2014 at 1:08 pm
Thanks for the reply Abu Dina and Ed Wagner!
We have SQL sever 2000 database, I am not sure If I can use this in SQL server 2000?
Thanks!
September 5, 2013 at 7:03 am
Okay Lynn Pettis, Actually I want to code for the 'O' part of the case statement and populate a flag, that is the reason, I was trying to re-write it...
April 5, 2013 at 4:07 pm
Viewing 15 posts - 16 through 30 (of 69 total)