Viewing 15 posts - 2,671 through 2,685 (of 59,098 total)
I'm very new to the sql and am wondering what is the easiest way to run the same query multiple times with different dates (ideally is the last day...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 5, 2022 at 5:41 pm
I've found that the "sweet spot" for the 32 core machine at one of the companies I do work for is a MAXDOP of 4. Their biggest problem is the...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 5, 2022 at 5:29 pm
Awesome link and explanation, Grant. Thank you.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 5, 2022 at 5:07 pm
Let's ask the question... how often do the "temp tables" appear? Let's also ask, why do you have "temp tables" of such a size to begin with?
The reason I'm...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 5, 2022 at 4:50 pm
Any help on this request... I tried to goggle but didn't see examples...
Thanks.
I think the problem is that people doubt your claim. Case in point...
https://www.google.com/search?q=Get+backup+status+for+multiple+sql+servers+using+powershell
--Jeff Moden
Change is inevitable... Change for the better is not.
October 4, 2022 at 8:22 pm
Let's ask the question... how often do the "temp tables" appear? Let's also ask, why do you have "temp tables" of such a size to begin with?
--Jeff Moden
Change is inevitable... Change for the better is not.
October 4, 2022 at 8:11 pm
Oh lordy... I should have known. Good luck there, Don. And thanks for posting the original problem... this has been and continues to be a really interesting problem and, once...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 4, 2022 at 5:19 pm
OK, I will try to make this clear. The dates in my tables have timestamps including milliseconds which makes it almost impossible that one date in Table A would...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 4, 2022 at 3:26 pm
like [ \t] is used for spaces and tabs, is there anything for finding carriage return in TSQL
ex
where Result =
'Uwon'
For T-SQL, Yes... search for CHAR(10) for the newline character...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 4, 2022 at 3:12 pm
Amazing. I wonder if this is a "feature gone awry".
The biggest difference in the execution plans is that the one with the comments contains "ContainsInterleavedExecutionCandidates = True" and the on...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 3, 2022 at 10:03 pm
I'm still interested in the question the Kaj asked above. Basically, what do you want to do if the there's a tie of dates at one end or the other...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 3, 2022 at 9:25 pm
This was called a singleton SELECT in Standard SQL and it loaded one row into local storage. Microsoft generalized it.
You need to be a bit specific about what you're...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 3, 2022 at 3:28 pm
Hello Zeff Afternoon,
BWAAA-HAAA-HAAA!!! Four letters in my name and you won't even take the time to get that right. 🙁 Sorry... moving on.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 2, 2022 at 8:23 pm
I bought a Corsair mechanical keyboard for the same reasons. Never again. The keyboard is fine, the software is nigh unusable. This is not hyperbole. It is, hands down,...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 2, 2022 at 8:21 pm
Actually, SELECT INTO is very explicitly documented and incredibly useful (especially for building Temp Tables without having to use CREATE TABLE). See the following link...
https://learn.microsoft.com/en-us/sql/t-sql/queries/select-into-clause-transact-sql
To quote from the FROM...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 2, 2022 at 8:08 pm
Viewing 15 posts - 2,671 through 2,685 (of 59,098 total)