Viewing 15 posts - 6,061 through 6,075 (of 59,070 total)
Hi
I have a table as below, with example data in it
ID Name 2346 M Smith 2346 M Smith 2346 ...
November 16, 2020 at 6:30 pm
Network? Busy-ness of the machine it's on?
November 16, 2020 at 5:57 pm
I'm not good with time management. No matter what I am doing I feel I should be doing something else. This means that I am easily distracted. The...
November 16, 2020 at 5:02 pm
I really hope this isn't a dumb question. Is there a reason other then style or preference as to why you'd do this:
IF @Var1 = @VarA...
November 16, 2020 at 4:46 pm
My goal was to demonstrate you don't need two cross apply.
SELECT SUBSTRING(CONVERT(CHAR(9), DATEADD(MONTH, DATEDIFF(MONTH, 0, t.thedate), 0),...
November 16, 2020 at 4:30 pm
I'm not good with time management. No matter what I am doing I feel I should be doing something else.
This will sound strange but I'm actually really happy to...
November 16, 2020 at 1:36 pm
I'm actually quite a bit surprised at you using an incremental recursive CTE for this, Peter. Your code runs in < 1ms like the other two do but your code...
November 16, 2020 at 1:18 pm
Using Steve's good test data, here's a slightly different method, which also provides the MMM DD format requested in the original post. It's also the very first time that I...
November 16, 2020 at 7:50 am
Just my 2 cents...
SELECT parent.*
,NewCol = CASE WHEN oa.Cnt > 0 THEN 'Mixed' ELSE 'Real' END
...
November 16, 2020 at 6:22 am
Ah, but it appears that may be operating under a really bad premise. Changing a VARCHAR(200) to a VARCHAR(100) will, by itself, DO NOTHING to save on space. ...
November 14, 2020 at 2:25 am
Ah, but it appears that may be operating under a really bad premise. Changing a VARCHAR(200) to a VARCHAR(100) will, by itself, DO NOTHING to save on space. The only...
November 13, 2020 at 10:33 pm
You, sir, are preaching to the choir. I wish your DBA understood the actual value of those system generated column stats.
November 13, 2020 at 9:37 pm
I want if we can know how many pieces of data can be saved for each data page. thanks!
Thank you but the question above is basically...
November 13, 2020 at 1:06 am
I hate blanket statements like what you say your DBA said. If he said that, he's wrong. Building enough indexes to negate the need for ANY such column statistics would...
November 12, 2020 at 6:48 pm
Please see the following link...
https://docs.microsoft.com/en-us/sql/t-sql/statements/alter-table-transact-sql?view=sql-server-ver15
... and then search on that page for the words "doesn't reclaim" to answer your questions on why some of your actions made no difference.
November 12, 2020 at 2:57 am
Viewing 15 posts - 6,061 through 6,075 (of 59,070 total)