Viewing 15 posts - 6,031 through 6,045 (of 59,089 total)
I provide the table structure, that's it. They are in SSMS session, so they can use whatever SSMS tools there are to view that structure.
Ah... therein lies...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 29, 2020 at 10:10 pm
Crazy increases in size are normally due to a query that has one or more "accidental Cross Joins" in the form of "Many-to-Many" results. They typically contain a DISTINCT or...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 29, 2020 at 9:45 pm
I provide the table structure, that's it. They are in SSMS session, so they can use whatever SSMS tools there are to view that structure.
Ah... therein lies the key. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 29, 2020 at 9:22 pm
I have a major problem with ego-maniacs that like to hijack meetings. Which is what we had here. I asked for a few practice tests so I can prepare...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 29, 2020 at 9:18 pm
Jeff - I am going to create another thread on this issue. Could you please do me a favor and NOT participate? I would really appreciate it.
Your original reply...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 29, 2020 at 5:34 pm
@Lord Slaagh ,
You asked "Jeff - Do you have any challenge queries that you can provide for practice?"
Yes I do. Anywhere from "pretty simple" to "OMG! How can this possibly...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 29, 2020 at 3:57 am
But, by definition, an identifier is on a nominal scale and nominal scales are never numeric.
That's really a mistake on your part to think so in the world...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 28, 2020 at 11:20 pm
Scott - I agree with Jeff in the sense that this test is somewhat unrealistic because you have CTE's and sub queries at your disposal. However, if this is...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 28, 2020 at 7:41 pm
This is the main test q I use to test query-writing skill. It's not as trivial / obvious as it sounds at first.
A table contains 1, 2 or 3...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 28, 2020 at 4:12 pm
Acceptable data?
I would have to say "No"... not acceptable. The table that you've defined is different than the table that Scott very explicitly described not once but twice in...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 28, 2020 at 4:09 pm
I guess my question would be is... where would a 14 year old hear of such things in such a repeatable fashion that he'd be able to repeat them as...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 28, 2020 at 3:49 pm
--DECLARE @CurrentDate as date='2020-11-25'
DECLARE @CurrentDate as date='2020-12-10'
;WITH Data (Id, WeekName, WeekDate) AS (
SELECT 5, 'Gameweek 1', CONVERT(date,'2020-12-01')
UNION
...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 26, 2020 at 2:57 am
Regarding the accidental DBA, has no one seriously running into the anti-virus scanning issue? The more he posts, the more I'm convinced one of his servers is scanning the...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 26, 2020 at 2:32 am
Thank you for pointing this out to anyone! Optimizing queries and keep your statistics up to date is far more efficient for the performance. The impact of fragmentation is...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 26, 2020 at 2:16 am
Earlier in the thread he stated the database was taking 2 hours.
Database was 500Gb, 200 GB worth data deleted and then shrink files to reclaim space, backup was...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 26, 2020 at 1:55 am
Viewing 15 posts - 6,031 through 6,045 (of 59,089 total)