Viewing 15 posts - 4,531 through 4,545 (of 59,098 total)
so here how can I change months data to weekly aggregate data for total counts.
Heh... maybe send me a coupon for a week's worth of of #8 Jimmy John's...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 8, 2021 at 5:45 am
I found this topic via a Google search, and it kinda-sorta relates to my issue. I need a Script Component in SSIS to serve as a data source for...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 7, 2021 at 10:03 pm
There is no space for taking log backup
Ah... got it. Hopefully someone that uses AG might know why it filled up the log file and how to take care...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 7, 2021 at 7:10 pm
If you're using this function against multiple rows in a query, there's no way that I'd leave it as a scalar function.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 7, 2021 at 3:33 pm
Also, if you're only allowing for Windows logins by users and apps (and I do recommend that), you can use sp_ValidateLogins to find any logins on SQL Server that have...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 7, 2021 at 3:29 pm
My question would be... Do you actually need AG or would a Clustered Server be adequate? I know too many people that are using AG just because "it's too cool...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 7, 2021 at 3:07 am
We have a scalar function that is used to add a specific number of business days to a date however to dev who wrote it has gone overkill on...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 7, 2021 at 3:01 am
Setup a "Login Trigger". Be REALLY careful because, if you do it wrong", even you won't be able to login.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 7, 2021 at 2:58 am
It's amazing what people will do. Yep... Jonathan's method for tracking page splits is awesome.
But what are YOU going to do with the information? Ah... use it to identify which...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 7, 2021 at 2:55 am
Grant,
Got it. Good advice about testing from all.
And it looks like I can us ALTER to create a non-clustered index after the table was created.
No. You don''t use "ALTER" ...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 6, 2021 at 3:10 am
But, in this case, having the Clustered Index on the UserID is probably perfect.
You also won't need a non-clustered index on UserID then, either.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 5, 2021 at 3:44 am
I agree there. "It Depends". Concatenation typically is quite slow but might be worth it here. I have also run into performance issues with cCA's (Cascading Cross Apply's) before but...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 4, 2021 at 9:28 pm
My recommendation is ... TRY IT! See what happens. 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
October 4, 2021 at 6:59 pm
Yep, there's not much you can do to speed it up. However, you can be sure to shrink only the specific file(s) you need to shrink, not the entire...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 4, 2021 at 6:19 pm
It's also the case when you refer to the result of a cross apply multiple times the calculations inside of the cross apply are expanded multiple times.
I agree that...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 4, 2021 at 4:26 pm
Viewing 15 posts - 4,531 through 4,545 (of 59,098 total)