Viewing 15 posts - 2,011 through 2,025 (of 59,082 total)
Just to prove Grant's statement a little more, here's a quick demo.
As a bit of a sidebar, what did you use as a screen recorder?
--Jeff Moden
Change is inevitable... Change for the better is not.
February 7, 2023 at 4:56 pm
No, an INSERT statement does not block SELECT statements. SELECT statements can run simultaneously with INSERT statements in most databases.
That's seriously true in Oracle (and some other databases) or...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 7, 2023 at 4:53 pm
Of much larger concern, why on this good Green Earth would you even consider writing a command, any command, that has a user name and password in clear text? You...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 7, 2023 at 4:49 pm
I think Frederico may have been correct about the nature of this thread. The second shoe dropped in the form of spam and the op has made no followup appearance.
--Jeff Moden
Change is inevitable... Change for the better is not.
February 7, 2023 at 4:45 pm
On that subject, I always leave the DROP TABLE IF EXISTS code in the proc but commented out. That way I don't have to add it back in when I...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 7, 2023 at 4:43 pm
BWAAAAA-HAAAA-HAAAA-HAAAA!!! I don't recall Itzik ever using the word TALLY in any of his code. At least I'm not the only one that it's mis-quoting.
--Jeff Moden
Change is inevitable... Change for the better is not.
February 7, 2023 at 3:32 am
You should have just asked it "How would Jeff Moden do it" - LOL
Ok... I took that challenge. It knows who I am and who I'm asking about and...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 7, 2023 at 3:27 am
It's the initials from a phrase I use a lot... "Shifting gears a bit". 😀 Hopefully, you derived what I mean when...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 7, 2023 at 3:16 am
I then asked "Do it using the same method Jeff Moden would use"
It returned this (I've screenshot it just in case you don't believe it):
BWAAA-HAAA-HAAA!!!! I just read what...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 7, 2023 at 3:09 am
I figured out how to get back in and it had saved my questions and answers.
Here was my first question and it's answer... note the lack of the MAXRECURSION option...
--Jeff Moden Change is inevitable... Change for the better is not.
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.
Helpful Links:
How to post code problems
How to Post Performance Problems
Create a Tally Function (fnTally)
February 7, 2023 at 2:59 am
I'm officially "dead" with ChatGPT. It never asked me for a password when I first setup my login. I logged out and told it I forgot my password when I...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 7, 2023 at 1:29 am
On second thought, I DO have a couple of interesting questions to ask it to see how it does... especially when it comes to answers that actually preform well. And,...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 6, 2023 at 10:38 pm
The next question should be, "How can that be optimized for performance"?
I'm actually impressed with its responses that you posted above. Impressed enough where I'm not actually going to try...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 6, 2023 at 10:34 pm
There is a certain amount of randomness built into its answers so if you ask it the same question at a later date it might give you a different...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 6, 2023 at 10:26 pm
To go along with with Grant so very correctly stated, there's the subject of this "little" thing known as a "Bad Page Split". Rows are forced to go onto the...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 6, 2023 at 10:12 pm
Viewing 15 posts - 2,011 through 2,025 (of 59,082 total)