« first day (2667 days earlier)      last day (2201 days later) » 

2:15 AM
A one instruction set computer (OISC), sometimes called an ultimate reduced instruction set computer (URISC), is an abstract machine that uses only one instruction – obviating the need for a machine language opcode. With a judicious choice for the single instruction and given infinite resources, an OISC is capable of being a universal computer in the same manner as traditional computers that have multiple instructions. OISCs have been recommended as aids in teaching computer architecture and have been used as computational models in structural computing research. == Machine architecture == In a...
 
2:27 AM
Well I must say I am slightly disappointed with Microsoft OneDrive. All my Christmas letters from the previous years have gone. Vanished. Nada.
 
2:55 AM
@hot2use And people trust those very same people to develop a RDBMS???
ZINGGGG
 
 
2 hours later…
5:15 AM
morning
-1
Q: Your Highness of wakanda

user149799what are you doing? There is war going on in mars for homw

 
6:09 AM
Morning
 
6:19 AM
1
Q: MySQL 5.6 Problem with union with decimal type and null value

ngcbassmanI have this scenario, it looks like MySQL is taking the largest decimal value and tries to cast the other values to that. The problem is that this query is generated by an external library, so I don't have control over this code, at this level at least. Do you have some idea how to fix this? ...

bwahahahha
What a non-database.
 
6:54 AM
So the issue was permissions... — Sean Gallardy - Microsoft 6 hours ago
Morning
 
7:12 AM
You must be reading something else or I don't understand. The quoted paragraph refers only to the behaviour of distinct (UNION vs UNION DISTINCT vs UNION ALL) and has nothing to do with data types or casting. — ypercubeᵀᴹ 37 secs ago
 
7:28 AM
Not a bug. Documented. — Evan Carroll 49 mins ago
@EvanCarroll ^^^ Perhaps this comment no longer stands
 
The one about it being not a bug and documented? Yeah, that's wrong I yanked that comment.
I find it confusing that they're referring to types of a union as being DISTINCT and ALL but whatever.
Seems likely that it's what they're referring to
I think it's a type promotion bug at this point
looking at the code now
 
@EvanCarroll yeah, using "types" is confusing. They just say (in a very weird way) that in SELECT .. UNION ALL ... UNION ALL ...UNION (DISTINCT) SELECT ..;, all UNIONs are treated as UNION DISTINCT.
 
Even more confusing... SELECT 20 UNION SELECT null UNION SELECT 40 UNION SELECT 4.3; works fine — Evan Carroll 1 hour ago
Perhaps the number of occurrences of values of certain types is taken into account.
Somehow
 
A step in the wrong direction, I know I am on to them now.
 
It does work in MariaDB 10.2, though. Different teams, different results
 
Three rows?
No
 
No 4. But 20 comes out correct. The 40000000000 fails
 
C++ is a horrible language.
And MySQL is its shining accomplishment
 
@ypercubeᵀᴹ In an unpredictable way :)
 
MySQL: predictably unpredictable ;)
2
 
7:53 AM
It's predictable to a point. The point is not very predictable, though.
4
 
8:16 AM
@AndriyM Was that the DBCC issue?
 
> hi guys, the problem was from the active directory, the IT guy put the DBA group from one to another, thank you all.
 
Ah all that effort in vain.
 
I knew you'd show up! — sp_BlitzErik 34 mins ago
@sp_BlitzErik Of course, someone said XML on DBA :)
 
@hot2use Not all, perhaps. You suggested that they explain why theirs wasn't a permissions issue, which may have prompted them to investigate further.
 
8:36 AM
@ypercubeᵀᴹ CAST is required dbfiddle.uk/…
 
@McNets You don't even have to cast as decimal(18,10), decimal(2,0) is enough.
So far it looks like as soon as there are decimal values before the largest integer, the output is correct.
 
@AndriyM I mean, it seems that MySql is casting as float?? by default
 
This is an interesting one. DevOps vs DBAs: theregister.co.uk/2018/04/24/devops_dba_work
 
@McNets To me it looks like when you have a fairly large integer and a decimal following it, the resulting decimal(x,y) type is chosen in such a way that x is the length of the largest integer literal and y is the scale of the decimal literal that follows. But the type should actually be decimal(x+y,y).
 
8:52 AM
@TomV dbfiddle.uk/… vs dbfiddle.uk/… (illustrating my last point)
 
@AndriyM Ah ok I misread your point as the 2 values needing to be the "first two". An incorrect assumption
 
@TomV Yes, in your example there are decimals before the largest int. That's the scenario that I described as working correctly.
 
9:08 AM
I would like to reopen this question — Tom V 1 min ago
 
@TomV Can you say why?
 
@PaulWhite Yep, I had the same issue. It's either a server audit or an unaknowledged bug. We decided to roll back the CU as we didn't have a server audit running
When I ran into it I found this feedback item
 
@TomV I mean are you planning to answer the question.
 
Unless you want me to post that as a comment/answer
3
 
@TomV ha ;)
 
9:16 AM
Our mods are most understanding and cooperative.
2
 
9:52 AM
@Philᵀᴹ the first comment sums it up very well :)
 
@JackDouglas ...and then they come crying when performance is sub-crap.
 
I'm 98% sure he is being sarcastic
 
@JackDouglas I really do hope so.
 
 
2 hours later…
11:41 AM
I'm voting to close this question as off-topic because it should have been posted on serverfault.com: Server Fault is a question and answer site for managing information technology systems in a business environment. It's built and run by you as part of the Stack Exchange network of Q&A sites. With your help, we're working together to build a library of detailed answers to every question about server, networking, or related infrastructure administration.hot2use yesterday
The question is already reposted on ServerFault a few days later:)
0
Q: Is RAID 170 a Proprietary RAID Config or a Combination of Traditional RAID Configs?

MZDBAI acquired a Cisco c240 M4 with twenty-four (24) 800 GB SATA SSD. I requested the engineers configure the disks in two separate RAID 10 arrays (18 + 4), plus with a hot spare for each. The LSI MegaRAID Storage Manager was installed and I used it to review the settings, and came across the followi...

 
gbn
12:03 PM
I had to google raid 7
 
12:27 PM
Some questions smell "cross-posting"
I'm voting to close this question as off-topic because it has been cross-posted at DBA.SE (where it has an answer): dba.stackexchange.com/questions/204780/… Please, one question, in one site, is enough. — ypercubeᵀᴹ 5 mins ago
 
@ypercubeᵀᴹ yes. I suppose they will get merged anyway when it's transferred. — Vatev 1 min ago
(happy to help bring more work for our underworked mods ;)
I only voted to close, not migrate by the way. No idea how the votes wil go.
 
gbn
@sp_BlitzErik FFS just patched my last servers to CU8
 
@gbn aw :(
 
@gbn never fails
 
@Vatev yes maybe, but that's you being lazy creating unnecessary work for moderators. Ask your question on one site, if it doesn't get answers delete and repost elsewhere. Migrating and merging is a pain. Have you considered accounts that don't exist on both sites for example? — Tom V 15 secs ago
 
1:05 PM
@TomV it's not his question. he only answered.
 
@Taryn at least you're on 2017 eh
 
@sp_BlitzErik yeah, but now we're a few CUs behind
 
@ypercubeᵀᴹ oops :)
 
1:35 PM
@Taryn Is the SQL Hardware Configuration of StackExchange documented somewhere?
 
@hot2use The first thing that popped into my head was this GROUP BY session - groupby.org/conference-session-abstracts/…
 
@Taryn Cheers
 
1:58 PM
Thanks for the edit @AndriyM!
 
My pleasure, Joe!
 
@hot2use if that's not helpful, let me know I'll see if we've got other stuff documented
 
@jadarnel27 - regarding this - just to confirm, you added the SQL Server Agent service account as a member of those groups?
 
2:14 PM
@Taryn , thank you. I appreciate your offer.
 
 
1 hour later…
3:30 PM
AWWW LINUX IS AMAZINGGGGG
 
@hot2use Nick Craver posted some pretty detailed stuff on his blog in early 2016: one, two (lots of pretty pictures in this one)
 
So, got a computer with bad ram -- it's failing and I haven't ordered a new stick yet and I'm not at the house.
 
@MaxVernon Thanks for following up! Yeah, I did add the Windows account that runs the agent service to those groups.
 
If you boot the Linux Kernel with the memtest option, it tests the ram and marks the bad sectors as inactive and won't issue requests to it
That's AWESOMEEEE
 
@jadarnel27 sorry if that was a dumb question, I just wanted to ensure we're on the same page
 
3:32 PM
No more general protection faults.
 
@MaxVernon Not a dumb question at all. Thanks for the edit on the logs, I didn't know those existed. I'll see if they have anything in them later today =)
 
@jadarnel27 the details point to SQL Server 2008 however I cannot find the same documentation for 2016 - that may or may not work/help.
I just thought it might help.
here's hoping!
 
Indeed!
 
3:59 PM
Gawd SQL is awesomely crap
everytime I think PostgreSQL has a bug, noapp it's the spec.
x'cc'::bit(8)::bit(32) extends the byte on which side?
If you answered the right side, you're right!
 
4:11 PM
I don't get what this user wants
I don't think "you know that", and I mean it respectfully. "It" isn't prioritizing anything, it isn't choosing that "Email" is a better match than "Address"....you asked for a string that contains the string "Address" anywhere", and that's exactly what you got, nothing to do with the string "Email" — Lamak 45 secs ago
 
@MaxVernon If you want to exclude 'grape', you need to do AND fruit <> 'grape', not AND fruit <> 'apple', d'oh!
 
@AndriyM d'oh!
fixed. thanks!
 
@MaxVernon I still don't understand what op wants....or what's confusing her/him
 
@Lamak its a dumb question, in my opinion. They don't understand how LIKE works at all.
 
I don't think it's a dumb question.
It's a great question from a dumb user.
 
4:24 PM
they think SQL Server should be able to read their minds.
 
but they're clearly able to articulate what they want, which is the only factor in judging the question.
 
@EvanCarroll the word "prioritize" has absolutely nothing to do with the question, in my opinion.,
 
@EvanCarroll but what is it asking?
@EvanCarroll I don't think the user is clearly able to articulate what they want
 
It's asking what is the implicit ordering of a LIKE condition
 
i can't believe how many of you jumped to answer that turd pile of a question
2
 
4:25 PM
The answer: it's unordered, that doesn't have to be that way though. It's just the design of SQL.
 
shameful
slow day i guess
 
@EvanCarroll no no. It's asking why LIKE matches email address and address when using LIKE %address%. ORDER BY doesn't enter into it.
 
@sp_BlitzErik hey, I only posted comments
 
way to make paul work
 
@EvanCarroll I mean, just look at this comment:
> I was looking for %Address% but it brought back Email_Address ,that means it thought that I was looking for %Email% not %Address% , why did it make that decision ?
 
4:26 PM
@sp_BlitzErik I initially looked at it and thought "no way". Then I figured perhaps "Lucy" just really didn't know what like does.
I should have not answered it.
 
@sp_BlitzErik we don't want a Paul with free time
 
4 chained CTEs couldn't ever cause performance problems, right?
 
@Taryn depends on what they're chained to
 
@EvanCarroll - don't edit like that. That is way too much.
 
@sp_BlitzErik haha
 
4:28 PM
i find if you chain them to radiators or boilers they rarely cause trouble
2
but stuff like beds or chairs... too easy to escape
 
@MaxVernon why would you roll back a question you think is shitty tat you don't understand?
 
@EvanCarroll I understand it fully and completely.
 
@EvanCarroll you are just deciding that your interpretation is right
 
My interpretation is right, ask him/her.
 
and the comments posted by op don't point to you being right with what was asked
@EvanCarroll I tried
 
4:29 PM
@Lamak agreed
 
@EvanCarroll got this as a result of asking:
,I was looking for %Address% but it brought back Email_Address ,that means it thought that I was looking for %Email% not %Address% , why did it make that decision ?What was the mechanism behind it ?I want to know so next time I can search for Address and not get back Email_address ,because an address and an Email_address are different things — Lucy 26 mins ago
 
i bet that's evan's sock puppet account
dude doesn't know how like works
smh
 
Lulz. I'm out. I don't much care about this anyway. Glad they're using SQL Server. ;)
 
@sp_BlitzErik unfortunately it's chained to a server
 
"You should just upgrade to PostgreSQL. It'll do everything you want 100% of the time, and if it doesn't the community is a ton nicer!"
 
4:30 PM
vm or real server?
 
@EvanCarroll apparently not if it's hyperhtreaded
 
@sp_BlitzErik real server and the first cte in the chain is repeatedly called
 
@Taryn popcorn.gif
if you put the plan in paste the plan i'll look at it
 
@Lamak I deleted my answer.
 
4:38 PM
@MaxVernon how many mortarboards away from legendary are you?
 
@sp_BlitzErik a lot. It's really up in the air because I had an "un-up-vote" on one mortarboard day.
so it could be 125 or 124.
 
oh wow
i'm only 18 of 150
 
d'oh, I had my target total wrong. Thought it was 200 days required.
I have 25 or 26 200+ days so far.
 
oh yeah that's bad
 
4:42 PM
yeah I know
 
@Taryn hrm the cartoon guys run a pastebin. fascinating
 
@Taryn who wrote that?!
 
@sp_BlitzErik :shrug:
I was asked to see about fixing it
 
@MaxVernon Just considering it since somebody gave the idea ,I still want to stick with like and your answer which was deleted earlier on where you had something like this select * from INFORMATION_SCHEMA.COLUMNS IC where ic.COLUMN_NAME like '%Address%' AND NOT (ic.COLUMN_NAME LIKE 'Email%')Lucy 8 mins ago
 
@Taryn temp tables. temp tables everywhere.
 
4:47 PM
@sp_BlitzErik aye
there are lots of issues with that query
 
Explain them to me like I'm a 5 year old.
 
we didn't draw any of those. sillygoose.
 
@sp_BlitzErik are you going to fix it for me? lol
 
@Taryn i don't think i have those tables in the data dump :P
 
5:02 PM
@sp_BlitzErik heh
 
you'd probably do fine if you just change the query for EligibleOpportunities to dump into a #temp table and then query that
this is a mess
FROM AggregatedMonths am
    INNER JOIN AggregatedMonths pam
            ON am.OwnerId = pam.OwnerId AND am.CalendarMonth > pam.CalendarMonth
calendar month is an expression
 
@sp_BlitzErik yeah there are several things I'm thinking about
 
this as well
INNER JOIN RollingOpportunityAmount roa
        ON hrm.OwnerId = roa.OwnerId AND hrm.CalendarMonth = roa.CalendarMonth
        WHERE roa.RollingAmount > hrm.LastHighestRevenue
persisting that will make it easier to do the join. also -- you probably know about joining a cte back to itself re-executing the base syntax.
 
Yeah, I'm trying to get some more details on the query before I suggest some changes. But that first CTE has to go
 
5:32 PM
@Taryn sounds like the responsible thing to do. i don't like it.
 
o_O
 
6:17 PM
I hope they don't introduce 30k privileges
 
1 message moved to Trash
 
Holy shit... Congrats @Aaron Bertrand. That's quite a feat.
especially here.
 
7:31 PM
well it's harder when you answer questions about an unpopular, niche database
i mean a self-tuning, high performance database that no one ever has issues with
 
7:47 PM
lulz.
 
 
1 hour later…
8:51 PM
0
Q: Do we only allow questions written in English?

Anthony GenoveseBased off of como evitar que pgadmin III se desconecte de postgresql cada 15 minutos aproximadamente? Would you vote to close? Ask to be translated? Let it stay?

 
 
2 hours later…
10:42 PM
@Lamak you monster
 

« first day (2667 days earlier)      last day (2201 days later) »