« first day (2781 days earlier)      last day (2078 days later) » 

12:09 AM
@AndriyM My goodness!
Paul has a link only answer and a comment answer in the same day.
 
 
7 hours later…
6:51 AM
Morning
 
7:12 AM
Morning
 
morning
 
7:25 AM
Morning
 
Morning
If I got something like SELECT i1.Name FROM item it
INNER JOIN ingredient i1 ON i1.Id = it.idTest WHERE it.orderId IN (SELECT orderId FROM item) that returns all unique orderId , how can I make it to return i1.Name as an array since orderId is not unique ?
 
Which DBMS?
 
MariaDB
 
7:41 AM
Good morning darlings
 
Morning and evening
 
The Intel L1TF security issue is terribad
Good job The Cloud will never catch on, eh?
 
 
2 hours later…
gbn
9:34 AM
@Philᵀᴹ Not in Swiss banking for the foreseeable
Speaking of which, I found out yesterday that a former quite bad CTO of mine is now SVP in Oracle Data Cloud
So, you've been warned. Stick with AWS or Azure...
 
10:18 AM
Pretty sure the Swiss would use The Underground Vault, rather than The Cloud
I need to stop answering JSON-related questions. People might start thinking that I think it's in any way acceptable to use it
3
 
Could be worse; could be xml
 
I found my replacement
 
 
1 hour later…
11:35 AM
Is there a way to convert the result of some_xml.nodes(...) to xml?
Meaning, each row into a separate xml
Where's Mikael when you need him...
 
@AndriyM You could ping him, @MikaelEriksson, or post a question with the tag ;)
 
Not that it didn't cross my mind... :) But yes, that would probably be more reliable
 
I'm within pinging distance
 
Hi Mikael :)
 
nodes('') as T.X and then use T.X.query('.')
in the column list
 
11:41 AM
Oh, that easy... Thanks!
 
Do you think it would be worth posting as a question?
 
No not really.
you could also do query('*') and get a slightly different result.
 
I'll play around with that, thanks again
 
No worries.
 
12:35 PM
2
Q: Why does changing the declared join column order introduce a sort?

Daniel HutmacherI have two tables with identically named, typed, and indexed key columns. One of the them has a unique clustered index, the other one has a non-unique. The test setup Setup script, including some realistic statistics: DROP TABLE IF EXISTS #left; DROP TABLE IF EXISTS #right; CREATE TABLE #left...

 
12:52 PM
Good question.
 
1:17 PM
The SQL Complete spam team resurfaced :)
3
 
A_V
What's the best postgresql GUI tool ?
ssms style
I've got datagrip already, guess I'll use that.
 
1:41 PM
Haha, a security auditor suggested our customer disables remote access on his SQL Servers
Just turn it off then for added security
 
A_V
did the security auditor login remotely to gather this information ?
 
@A_V Apparently yes as they use a centralized tool to scan the network
 
A_V
Suggest him to turn off his security tool for added security
 
They even checked it for every database on the server, including master, model, tempdb etc, just to be sure it's really turned off
and for some reason they only found cross database ownership chaining enabled for some databases and not for others
 
A_V
read something about people offering a hackerone pentesting opportunity
dozens of people sent him reports using the exact same tool, with no extra data whatsoever. Here's a bunch of files my tool generated. Pay me now.
 
1:55 PM
These guys produced a 400+ page document with this nonsense
 
A_V
if there's 400 pages of data, there must be security issues in my network. Better hire this consultant.
Before you know his program just generates random files with gibberish in them
 
2:15 PM
I'm glad Lucy got it sorted out: 🤦
0
A: Active Directory not working through SQL server Management studio

LucyAfter asking and Trying out different options , the issue was really simple ,I just had to reboot the server ,when the server was back up I tried to login with the account that is in the AD group ,it logged in successfully .(I feel a bit embarrassed)

As we say in Switzerland (and possibly Germany): "Ein Boot, tut immer gut"
 
We call it the Microsoft solution.
 
I saw a pen test report that someone paid £1k for. Looked like the output of nmap -Pn --script vuln to me... Easy money
 
@Philᵀᴹ Sounds like easy money.
 
 
2 hours later…
4:23 PM
0
Q: Postgresql and GDPR compliance

NosajimikiI recently read this article https://eng.uber.com/mysql-migration/ which explained that Postgresql does not actually delete tuples (rows) when a change is made, but simply keeps it and adds canonical data to make sure it always pulls the newest version of the data. GDPR requires that users can d...

 
4:58 PM
Lol, are hard drives GDPR compliant...
 
 
1 hour later…
6:09 PM
9
A: Why does changing the declared join column order introduce a sort?

jadarnel27 Can I eliminate the sort without changing the query (which is vendor code, so I'd really rather not...). I can change the table and indexes. If you can change the indexes, then changing the order of the index on #right to match the order of the filters in the join removes the sort (for me): ...

Nice find on the search space @jadarnel27
Down voted for lack of effort :p
 
@TomV my feelings!
=)
 
 
2 hours later…
8:44 PM
New stupid word of the day, clob.
Things you don't read unless you check out blogs written by non-pg users
0
Q: What is a "clob" or Character Large Object?

Evan CarrollI see in this post on listagg — Rows to Delimited Strings talking about SQL's LISTAGG() clause ON OVERFLOW The return type of listagg is either varchar or clob with an implementation defined length limit. I've never previously seen the term clob before. Looking it up, it's apparently a term...

everything about the spec's fixed-width and variable-width shit needs to burned in a fire.
 

« first day (2781 days earlier)      last day (2078 days later) »