tl;dr; Planned service interruption that will impact all Stack Overflow/Stack Exchange sites. All sites will be read-only for up to an hour on March 17, 2018.
Short Version:
There will be a service degradation for up to an hour at 13:00 UTC (9AM US/Eastern) on March 17th, 2018. During that que...
Are you sure pushing data into JSONB is a good idea? While the type has nice support from operators and functions, it sounds in reality you want at least a few fields normalized to their own columns. In the end, PostgreSQL is a relational DBMS. — dezso8 secs ago
Stack Overflow was an early and strong supporter of OpenID. We built our sign up/log in flow around it. We were idealistic and had high hopes, but these hopes weren't realized. Over the years people have wondered if OpenID is dead. We've had to remove support as OpenID providers pulled support or...
Your first query is only fast because you select only twelve rows. Remove the limit 12 from both, and see which one returns first. Functions in a where clause can kill any server. — Gerard H. Pille11 mins ago
Yes. In the 1st query, they are just lucky that it uses an index - and get lucky to find 12 rows that match the conditions (which need 3 functions per row)
No, I understand that the CROSS APPLY method works reliably, my question is only why the UPDATE @var=... method works differently in those two rextester fiddles.
@TomV To amuse myself and annoy the business, it's tempting. This is in a test system for now. I set maxdop to limit it in case anyone thought I'd started mining bitcoin
Waiting for the vendor
@AndriyM It relies on implicit ordering.
original, uses implied order: http://rextester.com/XWEG25562 with descending index, breaks it because implied order is "wrong": http://rextester.com/ENMZ33069 With ORDER BY to force order: http://rextester.com/VMYLU29172
I remember reading a blog post of Paul White's where I think he's talking about statistics of a dropped temporary table being preserved, even after the table is recreated (and possibly even after it's populated with new data).
I was recently reading a question that was put on hold due to ..... and realised that authors may not be aware that their question is actually in a non-open state.
The information box is displayed in a light off-yellow-orange colour as can be seen below:
Wouldn't it be better to have this inf...
I didn't want overwrite your answer because you put some time and thought into it... but the definite answer is support was removed in 2000. Yes, at one point it existed but it no longer exists and even support when it existed was dubious at best.
All extended stored procedures and associated DLLs were removed
Didn't want to make that a comment or @PaulWhite might haunt me