« first day (5141 days earlier)      last day (23 days later) » 

00:01
No, not a stored procedure
That other thing is interesting though I’m not sure what to make of it wrt the parameter stuff
6 hours ago, by Erik Reasonable Rates Darling
okay, stored procedure compile time parameters aren't in the execution plan. there's no optimize for unknown hint, there are no local variables in use, and parameter sniffing is not turned off as a database scoped configuration. is there anything else that would mess that up?
I think that's why I thought it was a stored procedure
What makes them parameters then?
StatementParameterizationType = 1 but I'm missing the mechanism for that
There's also spatial stuff, openjson, and indexed views. Attempting use all known technologies at once?
Oh, and it's a SELECT INTO ofc
It’s a parameterized statement sent from EF or some such
The indexed view is to avoid a scalar udf in one of the base tables 😆
I’m aware there’s a lot going on just not sure why parameter values are missing
00:17
So, it arrives by sp_executesql?
But of course that’s why I’ve asked for clarification
@ErikReasonableRatesDarling Yep
That’s the way all the other statements arrive, so I am guessing they’re not breaking that habit here
Which can only mean they are
🤣
I don't think compilation replay should affect things, but you could always check other plans with the parameter list to see what they have
And being Azure SQL Database adds OPTIMIZED_SP_EXECUTESQL into the mix
There's certainly enough going on
I’m not sure if that’s enabled there yet
I will check all of these things
And after an exhaustive search they will tell me they’re doing something weird
00:22
Yes
Did you check the plan cache plan?
The plan cache is not terribly reliable for some reason
Also I may have lied. I think they’re on hyperscale now.
I have no idea what difference that makes
Must be fun running things in the cloud where everything interesting is hidden and you're running on an experimental code base
Yeah they’re having a great time
Let the invoices flow
Always a silver lining
00:46
Yes except I have to suffer with azure
Oh I get it
The invoices are the silver lining to that cloud
Guess that’s why they call it a way homer
 
1 hour later…
02:14
EF does run some queries without using sp_executesql, but I think it's only those that have no parameters.
When is a parameter not a parameter?
02:36
Well, a local variable is a parameter apparently
EXECUTE sys.sp_executesql
    N'
    DECLARE @var integer = 1;
    SELECT TOP (1) @var;
    ';
<ParameterList>
    <ColumnReference Column="@var" ParameterDataType="int" ParameterRuntimeValue="(1)"></ColumnReference>
</ParameterList>
03:13
Spooky
 
1 hour later…
04:14
Wordle 1,321 4/6*

⬛⬛⬛⬛⬛
🟨⬛🟨🟨⬛
⬛🟨🟨🟩⬛
🟩🟩🟩🟩🟩
 
4 hours later…
08:26
Wordle 1,322 3/6*

⬛⬛🟩🟨⬛
🟨🟨🟩⬛⬛
🟩🟩🟩🟩🟩
Duck
08:39
A chairde - Morning all!
Wordle 1,322 3/6*

🟨🟨🟩⬛⬛
🟩🟩🟩⬛🟨
🟩🟩🟩🟩🟩
I wonder how's Erik
Erik, are you okay?
So, Erik, are you okay?
Are you okay, Erik?
I couldn't prompt engineer my way around the obvious copyright, but this is not bad:
https://suno.com/song/9836194e-21b4-4272-8433-c83f412cea26
09:26
Wordle 1,322 4/6*

🟨⬛🟩⬛⬛
⬛⬛🟩🟩⬛
⬛⬛🟩🟩🟩
🟩🟩🟩🟩🟩
09:42
Wordle 1,322 3/6*

🟨⬛🟩⬛⬛
🟩⬛🟩🟩⬛
🟩🟩🟩🟩🟩
 
4 hours later…
13:41
Wordle 1,322 4/6*

⬛🟩🟩⬛⬛
⬛🟩🟩🟩🟩
⬛🟩🟩🟩🟩
🟩🟩🟩🟩🟩
@Zikato i just took my favorite blood pressure pill of the week and i'm ready for a great weekend buddy. i hope you are too.
14:23
a massive milestone achievement for darling data over here
truly taking social media by storm
going viral like cold sores on a cruise ship baby
14:38
Which channel is that?
Nice. Congrats!
15:23
awesome Erik!
thanks. i think i only need 994,000 more to not need to work anymore.
it's about to happen I'm certain
maybe you should employ fantastical title screens, like "This method will save your SQL Server life"
 
5 hours later…
20:14
For those who celebrate, the BBC now has a site in Pidgin
20:26
dis na how bropilot suppose speak
 
2 hours later…
21:56
who be dis lip hair mon
22:27
I've got a lovely Northwind database for sale if anyone wants one
Beautiful plumage
22:46
I'd take it but my hovercraft is full of eels.
Trying to get an arrow out of my knee
23:14
Ouch. Why did you put it there in the first place?
23:46
Your head smells like cheese

« first day (5141 days earlier)      last day (23 days later) »