Viewing 15 posts - 991 through 1,005 (of 59,072 total)
Have you considered just making a large test table and testing it?
--Jeff Moden
Change is inevitable... Change for the better is not.
October 26, 2023 at 5:48 pm
As a bit of a sidebar, I've not found any performance improvement that I can relate to the "new" CE but have a whole bunch of slowdowns that I can...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 26, 2023 at 5:45 pm
You can also add a computed column to the table - but I really don't see the need or requirement to create a column with multiple names. It is...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 26, 2023 at 12:38 am
Your singular table name indicate you have only one Rate.
Not if you understand that each row is unique and can have only one rate. Either convention is just...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 25, 2023 at 9:25 pm
Hi
I have dataset like this
drop table if exists #dataset create table #dataset(CIF VARCHAR(255), PARENT_CIF VARCHAR(255), UP_CIF VARCHAR(255))
INSERT INTO #dataset SELECT 45218547, 54044082, 54044082 union all SELECT 54044082, 64349595, 64349595...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 25, 2023 at 9:18 pm
I thought Elvis was dead.
😀
--Jeff Moden
Change is inevitable... Change for the better is not.
October 24, 2023 at 11:03 pm
It would appear that the author of the article has left the building. 🙁
--Jeff Moden
Change is inevitable... Change for the better is not.
October 24, 2023 at 6:25 pm
This isn't quite correct - neither CTEs or Views are executed (materialized). Both will be incorporated into the outer query - and then the execution plan is generated.
Now, if...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 24, 2023 at 6:22 pm
Glad to see Jeff is here, I know he'll have some interesting insight onnthis question. CTE or View, which to use and when as well as why?
Thank you for...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 24, 2023 at 1:07 am
p.s. CTEs are inherently NOT reusable anywhere except the query that they live in. They can be referenced as many times as you need to with the understanding that they...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 24, 2023 at 1:04 am
Back to this older thread of "Can data save the world" and seeing what has been going on with the "climate change discussions" (and I hate to call it that)...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 23, 2023 at 8:42 pm
If you know the SPID for the query, you could also query the following DMV. Look for the word "memory" in the documentation.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 23, 2023 at 8:31 pm
So - going back to the OP's original post we see that a string that is greater than 8000 characters gets inserted with truncation and is successful for columns...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 23, 2023 at 8:29 pm
You CAN, however, create a simple "Pass through view" that will do the trick.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 23, 2023 at 1:54 pm
Are the rows all at the "end" of the Clustered Index or are they scattered throughout?
--Jeff Moden
Change is inevitable... Change for the better is not.
October 23, 2023 at 1:51 pm
Viewing 15 posts - 991 through 1,005 (of 59,072 total)