Viewing 15 posts - 2,956 through 2,970 (of 59,086 total)
Personally and generally, I think Date Dimension tables are usually overrated for such things. Using things like GROUP BY with ROLLUP, CUBE, or GROUPING SETs is much more effective. You...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 18, 2022 at 6:08 pm
You also say you always want to show the largest positive number first. To be honest, that doesn't make any sense because it seems to provide no value in what...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 18, 2022 at 1:57 pm
Consider people that have no idea about your data. We don't know things like how a "unique trip" is identified, what defines a "corresponding couple" of stations, etc. You'll also...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 17, 2022 at 8:34 pm
Here is an example where it goes from a NULL value to a Positive number then a Negative number in a three hour period.
WD 1116.0 (HILINE)1413HI...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 17, 2022 at 8:26 pm
Hi Jeff,
First thank you for responding,
The first column is the name of the locations. some are represented as a decimal representing the mile post of a location, however it...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 17, 2022 at 8:22 pm
Heh... when I read through this, my thought was "This is one of the primary reasons I don't use SSIS". 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
August 17, 2022 at 5:39 pm
The next step of Piet's recommendation can be found in the documentation for SQL Server. Look for "Partitioned VIEWS".
--Jeff Moden
Change is inevitable... Change for the better is not.
August 17, 2022 at 5:34 pm
Your test data appears to contain two different line types, the rows for "E Hazen" being different than the rest. Save us some time and tell us which set of...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 17, 2022 at 1:45 pm
You're welcome and thank you for the feedback.
The articles are based on "pivoting" numeric values but you can do like Kaj suggested and use Min or Max to pivot text. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 17, 2022 at 1:48 am
You added "columns" to the CROSS APPLY and changed the width of some but you didn't change the substring values that look like this...
,11,10)
,21,10)
,11,10)
,21,10)
--Jeff Moden
Change is inevitable... Change for the better is not.
August 17, 2022 at 12:26 am
The difference between a datetime vs a datetime2 for this seems not very relevant for just capturing entry date the precision difference between the two is within the margin...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 16, 2022 at 10:56 pm
Thanks Jeff this looks fantastic! I truly appreciate the time you took to put this together.
I updated the CTEs to the best of my understanding but I can not...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 16, 2022 at 9:23 pm
Huh? why would that be?
I have no clue about why that would be. It was an observation especially but not limited to what should have been VARCHAR data...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 16, 2022 at 5:12 pm
What sort of overhead does it have on the server when running, and any idea of duration on a 2.1 billion ow table?
There have been a lot of ideas...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 16, 2022 at 5:08 pm
First, thanks Jeffrey and Steve for the feedback.
Also, I'll state that I never make final performance decisions based on what's in an execution plan and so I'm going to have...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 16, 2022 at 4:47 pm
Viewing 15 posts - 2,956 through 2,970 (of 59,086 total)