Viewing 15 posts - 1 through 15 (of 68 total)
Thanks. Understand the concept now when to use Left Join and Not Exist.
July 23, 2021 at 1:06 am
Hi, thanks Brian. Edit 1 is the one im looking for to sum by quarter. But the ordering are not in order. How can I order it without applying Order...
July 12, 2020 at 3:07 pm
Hi, i am using this method. but it takes longer time. i believe the columns are not index.
More than 20 columns and more than 50k rows. It takes me more...
May 26, 2019 at 6:32 am
it has multiple line, i am just creating it myself before applying to real data. there's logic to update certain scenarios, that is why I apply max in it. Just...
May 10, 2019 at 8:11 am
Currently this is my code as below. As i would to create as a view, not sure on how to apply together with the update and temp table replacement.
May 10, 2019 at 6:57 am
How can I select all columns after updating the case condition?
WITH y AS (
SELECT
testing1
, testing2
, testing3
, amount
FROM (VALUES(
'testing1'
, 'testing2'
, 'testing3'
, 700)
) z(testing1,testing2,testing3,amount)
)
select testing1,testing2
,MAX(NULLIF(updatecolumn, null)) OVER(PARTITION BY testing1) updatecolumn_New
from(
SELECT *
--CASE CONDITION...
May 9, 2019 at 8:54 am
February 25, 2019 at 6:44 pm
February 24, 2019 at 8:14 pm
February 18, 2019 at 6:14 pm
January 31, 2019 at 9:15 pm
January 31, 2019 at 9:09 pm
January 31, 2019 at 8:37 pm
January 31, 2019 at 7:53 pm
pietlinden - Thursday, January 10, 2019 7:05 PMDid you run the code to create the function? Sounds like you didn't.
Any sample that...
January 10, 2019 at 7:14 pm
Viewing 15 posts - 1 through 15 (of 68 total)