« first day (4515 days earlier)      last day (649 days later) » 

02:17
good for you, two squares Hades
ah, ChatGPT to the rescue
> 冥王 (Méiwáng) is a Chinese term that translates to "Hades" or "King of the Underworld" in English
what brings you here, the king of the king of the underworld?
or is it the king of the underworld of the kings of the underworlds...
Can you be kind and welcoming, as the TeRmS oF sErViCe demand?
 
4 hours later…
06:23
Morning

Wordle 696 2/6*

⬛🟨🟨🟩🟩
🟩🟩🟩🟩🟩
06:45
Wordle 696 3/6*

⬛⬛🟨⬛🟨
🟩🟩🟩🟨⬛
🟩🟩🟩🟩🟩
Wordle 696 4/6*

⬛⬛🟨🟨⬛
🟩🟨🟨⬛🟨
🟩🟩🟩⬛🟩
🟩🟩🟩🟩🟩
 
2 hours later…
09:10
Seen on the interwebs today . . .
 
1 hour later…
10:35
53
Q: We're regenerating all identicons

Cesar MWe've recently discovered a vulnerability in our identicon generation process. To remedy it, we have changed how we approach generating them and regenerated all identicons. We do not have any indication that any personally identifiable information (PII) was leaked as part of this vulnerability. S...

FYI
11:27
Wordle 696 6/6*

⬛🟨🟨⬛🟨
🟨🟩🟩⬛⬛
⬛🟩🟩⬛🟩
⬛🟩🟩🟩🟩
⬛🟩🟩🟩🟩
🟩🟩🟩🟩🟩
You've really mastered the phew element
12:06
@PaulWhite you look the same
12:34
@PaulWhite yes, I have.
Seems I prefer uncommon words
12:51
@ErikDarling so do u
@HannahVernon and wrong ones too, it seems
whew we survived
Is it ok to ask for some SQL help in here?
you would probably be better off asking an actual question on main
hmm its not really worthy of a Q tbh, I dont need a full blown answer just pointer as to what approach or function to use. cheers
well okay, you can always ask, but don't be disappointed if we deem it worthy of an actual question
13:06
I have a table with column "surname" (string not unique) and column "credits" (tinyint for bool).
I want to select ALL rows which have duplicate surnames but only if at least one of them has "credits=1". If there are dupe surnames but all credits=0 return nothing
I've tried all sorts of sub queries and EXISTS. I can get the logic working but due to the clause "if credits=1" I can only get the rows where credits=1
yeah, that's an actual question. you should follow the directions here: Help me write this query in SQL
@PaulWhite very droll
what an unusual word
thanks. I shall leave this place of general chat void of help :)
@James No column that uniquely identifies a row? Just surname and credits?
@James For SQL Server: dbfiddle.uk/FmJ-c1ff pretty generic tho
General idea being to group by surname and check there is more than one in each group (so, a dupe) with at least one of them having credit = 1 using MAX
@James Translated for MySQL: dbfiddle.uk/EBnbdCDR
13:44
Wordle 696 3/6

⬜🟨🟨⬜🟩
🟩🟩🟩⬜🟩
🟩🟩🟩🟩🟩
@PaulWhite Thank you very much. That is working for me adapted to my code. And waay beyond my level of SQL. Dammit Jim I'm a dev not a DBA
14:09
yw
 
2 hours later…
15:51
0
Q: Long script never compiles unless number of characters reduced

SE1986I have a script which appears to never compile. The script is quite long and I have found that reducing the number of lines (or maybe characters?) allows the script to work I have created a repro below (the real script is more useful obviously but even on the fairly simple script below I can repl...

@_@
 
1 hour later…
16:51
@ErikDarling What's Swart's 10% rule on script length? ;)
17:17
I can't repeat that problem.
17:29
Sounds a bit localized to me. Especially the bit about the sysadmin logins. Seems more likely dependent on whatever else is going on with their server at the time and how it's configured perhaps.
17:52
That's an...interesting solution to the "in list" problem with EF generated queries.
-- Current state
SELECT [b].[Id], [b].[Name]
FROM [Blogs] AS [b]
WHERE [b].[Name] IN (N'Blog1', N'Blog2')
-- new stuff
SELECT [b].[Id], [b].[Name]
FROM [Blogs] AS [b]
WHERE EXISTS (
    SELECT 1
    FROM OpenJson(@__names_0) AS [n]
    WHERE [n].[value] = [b].[Name])
They are trying to solve the plan cache pollution problem. I wonder how that ends up performance / query plan wise.
I haven't looked (yet, growth mindset).
18:22
@JoshDarnell terrible i'm sure
@J.D. remove 10% of the characters
OH MY GOD
SELECT [b].[Id], [b].[Name], [b].[Tags]
FROM [Blogs] AS [b]
WHERE EXISTS (
    SELECT 1
    FROM (VALUES (CAST(N'a%' AS nvarchar(max))), (N'b%')) AS [v]([Value]) -- inline collection
    WHERE EXISTS (
        SELECT 1
        FROM OpenJson([b].[Tags]) AS [t] -- column collection
        WHERE [t].[value] LIKE [v].[Value]))
i absolutely can't with these people
pooch, screwed
i used to think that shay rojansky was just dumb, now i think he's malicious
18:45
Time to make more friends? 🤣
yes i believe it is
19:03
Love it.
@ErikDarling Disagree.
take it up with the chalkboard
 
2 hours later…
21:56
The E in EF stands for Entirely
Entirely Functional?
😜
22:18
Finally, a comment I want preserved
I'm embarassed. Perhaps I should delete the question. — grahamj42 2 hours ago
23:25
@ErikDarling 1000 row table for testing
wow
Quite meaningful
EFfortless

« first day (4515 days earlier)      last day (649 days later) »