Viewing 15 posts - 1,051 through 1,065 (of 59,066 total)
Thank you for the feedback, Phil. I figured I'd make it "production" worthy because this isn't the first time we've seen this request.
September 29, 2023 at 2:13 pm
Just a caution...
The WEEK (ww) datepart is ALWAYS based on Sunday for DATEDIFF. MS did that to ensure that the DATEDIFF(wk) functionality will be "Deterministic" so that it can be...
September 29, 2023 at 7:06 am
SET DATEFIRST 6 ; -- Set first Day of Week to Saturday SELECT [CreateDateTime],DATEPART(WEEK,[CreateDateTime]) - DATEPART(WEEK,CAST(CAST(YEAR([CreateDateTime]) AS VARCHAR(4))+'-' + CAST(MONTH([CreateDateTime]) AS VARCHAR(2)) + '-01' AS DATETIME))+1 AS WeekNo FROM...
September 29, 2023 at 4:41 am
Hi
We have an stored procedure which runs frequently and it contain logic in which data are first dumped in temproray table and then moved to physical table .due to...
September 28, 2023 at 6:23 pm
It's real simple... have them prove that the performance is better with repeatable, demonstrative code. One good test is worth a thousand expert opinions and until they can prove it...
September 27, 2023 at 7:19 am
If you want a load into a new table, then create the empty table AND create the Clustered Index. Then, forget SSIS... use BULK INSERT with the TABLOCK option and...
September 27, 2023 at 7:14 am
@Grant,
I love this article but I'd like to add a nuance to it, especially after what Rick and I were just "talking" about in some of the sayings we listed.
A...
September 23, 2023 at 8:50 pm
Heh... totally agreed. It matches one of the mantra's that I carry in my signature line below...
"Change is inevitable... Change for the better is not."
And I'll add a...
September 23, 2023 at 8:06 pm
Thanks for your solution! Looks awesome. The only one disadvantage is necessity to give names to columns manually. Is there any way to do it automatically? Preferably without dynamic-sql.
[quote-0...
September 23, 2023 at 7:35 pm
I don't mind changes to software etc. that actually improve the product, but so many changes these days seem to occur just to give the developers something to do. ...
September 23, 2023 at 7:23 pm
Thanks for the message,
What are the disadvantages of partitioning? does it need manual management?
Can we fix those issues which partitioning addresses using other solutions?
I've personally found that partitioned tables...
September 23, 2023 at 1:20 am
I have no real idea except to say that yours isn't the first post where On-prem performance blew the doors off of cloud performance in similar tests. You might want...
September 23, 2023 at 12:49 am
Have you looked to see if the indexes on the table are the same? Have you updated statistics lately on either?
September 23, 2023 at 12:22 am
Viewing 15 posts - 1,051 through 1,065 (of 59,066 total)