Viewing 15 posts - 2,671 through 2,685 (of 59,067 total)
My "general" recommendation for backups is...
Of course, that's subject...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 28, 2022 at 12:38 am
My "general" recommendation for backups is...
Of course, that's subject to change...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 27, 2022 at 7:34 pm
I use a combo of CTE and XML to split the strings makes it super fast and easy.
DECLARE @DELIMITER VARCHAR(50)='|||'
;WITH CTE AS
(SELECT
S.NAME
,SOUCE=S.RAW_DATA
,XML=CAST('<M>' + REPLACE(S.RAW_DATA, @DELIMITER, '</M><M>')...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 27, 2022 at 7:29 pm
I can't wait for the 2022 Developer's Edition to come out so I can test. I normally don't bother with public test versions and won't with 2022 either. That and...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 27, 2022 at 1:01 am
in case anyone hits this issue down the road, I found this article very useful.
https://ruslanmv.com/blog/How-to-connect-MySQL-Server-with-AWS-Glue
Nice link. Thanks for posting it.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 27, 2022 at 12:40 am
and using a sql agent proxy (can be per defined 1 per job) is in a way better than using the xp_cmdshell proxy (system wide).
on a multi-tenant server using...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 27, 2022 at 12:33 am
Heh... I don't "node" for sure but I'm sure that it'll be an "edge" case. 😀 Get the "net" out... we'll all go "wandering" when it happens. 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
September 26, 2022 at 8:18 pm
That's some pretty awesome feedback, Steve. Glad all of it worked out and thanks for posting what you did. Glad the splitter and the modifications you made worked as well...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 26, 2022 at 8:12 pm
Not that it matters now but the parsing error is due to a parentheses after P.TranDate in the WHERE of the outer query. The two WHERE clauses are ok because...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 25, 2022 at 5:02 pm
Nothing wrong with using xp_cmdshell - except security. And no, I don't mean running xp_cmdshell safely - I mean the context of the user running it. Since this is...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 25, 2022 at 4:25 pm
I Googled the title of your post... you should try it. 😉
We don't use AG at work and so I've not actually used it. If I were put on the...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 25, 2022 at 2:04 am
As I stated on the other forum - why not use the appropriate subsystem in SQL Server Agent to run the commands directly? Why is it necessary to use...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 24, 2022 at 6:56 pm
Since this article has recently been posted again, let's review the title...
Are You a Traffic Cop?
No. I'm a "Beneficial Dictator". 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
September 24, 2022 at 12:16 am
i have the following t-sql to move files from 1 directory to another.
I tried both versions. job step succeeded with no errors, but files do not move.
any thoughts/suggestions?
--Jeff Moden
RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
First step towards the paradigm shift of writing Set Based code:
________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.Change is inevitable... Change for the better is not.
Helpful Links:
How to post code problems
How to Post Performance Problems
Create a Tally Function (fnTally)
September 24, 2022 at 12:00 am
Thanks. I agree with you. But this is read only copy used for reporting. We are looking for other ways to improve performance by adding more memory but also...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 23, 2022 at 8:53 pm
Viewing 15 posts - 2,671 through 2,685 (of 59,067 total)