Viewing 15 posts - 166 through 180 (of 1,228 total)
Koen Verbeeck (1/20/2015)
GilaMonster (1/20/2015)
I use ID, everyone else in my company uses Id.So, you switch places with Phil and everything is settled then. 🙂
Phail & Gil 😀
January 26, 2015 at 1:44 pm
k.allen.emt (1/25/2015)
=) sorry, thanks I will give it a shot.
Beyond new here in this, my buddy tossed me his MySQL book "The Language of SQL" and said read.
Thank you again......
January 26, 2015 at 1:43 pm
There are other ways, this is possibly the simplest. You will need to plug in missing table aliases to disambiguate columns:
SELECT --Distinct
CAST(fo.OrderDate AS DATE),
SUM(s1.PUDriverCommission) AS [Commission1],
SUM(s2.DELDriverCommission) AS [Commission2],
SUM(s3.Driver3Commission) AS...
January 26, 2015 at 1:38 pm
shasivashok (1/26/2015)
I don't get the distinct date in the below query. Anything wrong in this query. Also may i short this query? If yes, Please advise me.
SELECT Distinct (CAST(FinalizedOrders.OrderDate...
January 26, 2015 at 1:29 pm
If the user enters a date range, how many rows should the report display per patient stay - one, same as the source table, or more than one, depending on...
January 19, 2015 at 10:41 am
Count the rows added to the table. How many seed rows (rows you start with)?
January 14, 2015 at 12:40 am
Charlottecb (10/28/2014)
Yes you are correct about table b, I've adjusted that now 🙂Regards Exist, how would I use it to solve this issue?
Many thanks
Charlotte
Relational division. Joe Celko and Dwain Camps...
October 28, 2014 at 2:04 pm
How do you define a member as opposed to a player? What's familyID in both tables?
October 27, 2014 at 11:44 am
Don't do this. Use a new column for the iteration of name, it will be much easier. How many loads do you perform into the target table?
October 27, 2014 at 9:29 am
sqldriver (10/24/2014)
ChrisM@Work (10/24/2014)
-- Changes MERGE JOIN to NESTED LOOPS, loses sort required for ROW_NUMBER()
Would you mind explaining some more about this part?
Thanks
Sure. Have a good look at the actual execution...
October 24, 2014 at 1:40 pm
BOR15K (10/14/2014)
I have looked into the actual execution plan (I am not sure I can publish it here due to company's security policy).
What I have seen that with CASE...
October 14, 2014 at 1:09 pm
Example, input will start from a member table
Member , Start date, End date, Status
M1 1/1/2014 12/31/2014 ...
October 11, 2014 at 8:07 am
Have you tried posting to a DB2 forum?
September 28, 2014 at 3:22 pm
shahi.alokchandra (9/17/2014)
I want to perform following without using case please tell me how it is possible.
When value of Flag is 0...
September 17, 2014 at 2:21 am
Viewing 15 posts - 166 through 180 (of 1,228 total)