Viewing 15 posts - 4,531 through 4,545 (of 59,101 total)
As a bit of a sidebar and, like I said, only a quick look at the code you've attached, what is your complaint with the code?
--Jeff Moden
Change is inevitable... Change for the better is not.
October 8, 2021 at 1:53 pm
Without spending much time looking at the code, my humble opinion is that it's usually easier and faster to truncate and reload if the full reload is available in a...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 8, 2021 at 1:38 pm
Just in case any of you use Twitch... it's been hacked.
https://www.theverge.com/2021/10/6/22712250/twitch-hack-leak-data-streamer-revenue-steam-competitor
--Jeff Moden
Change is inevitable... Change for the better is not.
October 8, 2021 at 1:21 pm
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
Viewing 15 posts - 4,531 through 4,545 (of 59,101 total)