Viewing 15 posts - 1,936 through 1,950 (of 59,067 total)
Where are the files located? Sounds like a strange question but you have a file path of 'C:\SQLData\WRsales\' for both the data and format files. Understand that file path is...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 10, 2023 at 8:05 pm
When I wrote this reply https://www.sqlservercentral.com/forums/topic/sql-server-database-redunduncy#post-4148195 and pressed submit I got an error "Are you sure you want to do that?"
I could be missing the obvious but I'm not...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 10, 2023 at 7:56 pm
I could see a huge potential on the sales side, being confidently incorrect is pretty much the only real requirement for a career in marketing 😛
BWAAA-HAAA-HAAA!!!. Now there's a...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 10, 2023 at 7:50 pm
I don't know of a windows-driven "interrupt" that would do it (and, if someone does, please fire a flare 'cuz I'l love to know it!) but, if if there was...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 10, 2023 at 5:01 pm
It's difficult to produce such a list of new functionality even when restricted to just those for T-SQL.
One of my OMG! favorite improvements was when the came out with STRING_AGG()...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 10, 2023 at 4:43 pm
informaton schema was taking 0 cpu and 0 time.
Uh, huh... It did in my example, as well. You should also do more than one test to see why the...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 10, 2023 at 4:32 pm
As emphatically strong a suggestion as I can make...
If you get the opportunity to take the all-day class on SQL Server 2022 put on by Bob Ward of Microsoft,...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 10, 2023 at 4:26 pm
Can we see how "scratch.dbo.DelimitedSplit8K" does the spliting of the string?
Yes. Here's an article that explains how it works and why it's so fast. Don't use the code for...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 10, 2023 at 4:20 pm
oh god no don't use UNION ALL unless you really need to. Why not just something like this to get all the records you need from each source?
INSERT INTO...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 10, 2023 at 5:50 am
As I said second option is still used but it's slow. @pietlinden
@jeff Moden: which requires a union all? 😅 , No thx
As opposed to what??? The (in your own...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 10, 2023 at 5:43 am
Michael, have you seen the movie Idiocracy? If not, just look around. AI is just another way for it to come true.
I hear about how good that movie was...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 10, 2023 at 12:35 am
I guess you mean selecting them with union all, that's even worse performance wise.
It does.
No... and no where did I come close to even inferring that. I mean use...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 10, 2023 at 12:31 am
I don't have access to SQL 2022, but I would think that a windowed function would perform much better than the CROSS APPLY.
Really good point on using a Windowing...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 10, 2023 at 12:15 am
If all the databases are on the same instance, why do you need to use a temporary table?
Also, does your temporary table actually have the correct indexes on it?
--Jeff Moden
Change is inevitable... Change for the better is not.
February 9, 2023 at 9:02 pm
perfect, thanks
Yes, I'd defined VALUES incorrectly - typing rather than cut and paste
Just to be sure, are you all set now?
--Jeff Moden
Change is inevitable... Change for the better is not.
February 9, 2023 at 8:08 pm
Viewing 15 posts - 1,936 through 1,950 (of 59,067 total)