Viewing 15 posts - 10,321 through 10,335 (of 59,065 total)
BTW... the way to get the code to display without all the extra blank lines in it is to copy'n'paste the code into NOTEPAD first. Then, copy'n'paste from NOTEPAD to...
December 16, 2018 at 5:27 pm
Heh.... lordy. I just reread BOL for PERCENTILE_DISC ("disc" means "discrete").. It INTENTIONALLY works the way your tests came out. Here's the description found at the official MS documentation at...
December 16, 2018 at 4:47 pm
valeryk2000 - Sunday, December 16, 2018 2:57 PMSame result:
2.00000
Yowch. That's just not right. Thank you very much for testing. I should be able to...
December 16, 2018 at 3:59 pm
December 16, 2018 at 3:53 pm
Ah... I think I found it. From BOL...
December 16, 2018 at 1:35 pm
December 16, 2018 at 1:28 pm
To be honest, I actually prefer Paritioned Views over Partitioned Tables. Try restoring just 3 months of a Partitioned Table to another server sometime and you'll
see what I...
December 16, 2018 at 1:15 pm
December 16, 2018 at 12:48 pm
December 16, 2018 at 12:46 pm
So, in reference to your original question of...
Question: is PERCENTILE_DISC for median calculation works for both odd and even number of records?
...what is your conclusion?
December 16, 2018 at 11:57 am
For more info on DATEPART, please see the article at the following link.
https://docs.microsoft.com/en-us/sql/t-sql/functions/datepart-transact-sql?view=sql-server-2017
There's also a wealth of knowledge just a click away in the menu...
December 16, 2018 at 11:48 am
I need query (in my case an INSERT) to run only if today's date is...
December 16, 2018 at 11:26 am
Why wouldn't you use an INSERT/SELECT into a table and create the email from those results?
December 16, 2018 at 10:39 am
I'm not an Azure user by any means so be gentle, please... Azure doesn't have a BULK INSERT command or OPENROWSET? :blink:
December 16, 2018 at 10:36 am
December 16, 2018 at 10:29 am
Viewing 15 posts - 10,321 through 10,335 (of 59,065 total)