« first day (2504 days earlier)      last day (1814 days later) » 

7:56 AM
morning
 
8:54 AM
morn of the ing @ARr0w
 
9:11 AM
\o/
 
9:24 AM
ey guys
 
'ello all
 
I made a react room
if anyone learning / like react, you are more then welcome
 
I'll head in there eventually mate
 
9:42 AM
groovy
but guys, any of you ever used DB2?
 
Blissfully ignorant mate
 
You man re-tweet a lot :D
@Shaneis Very active this days huh
 
Me? constantly on and off in meetings - everytime I get back to my desk I look in
Kinda wish I had less meetings though :( I swear some people just want to hear themselves speak cause a lot of them could be replaced by emails...
 
Hmm.. you just retweet BonzaOwl@BonzaOwl 22 minutes ago
 
Yeah, he/she's using dbatools a lot. I helped code some of it so I'm going to try and improve it's exposure
 
9:58 AM
I'll tell your boss :D
 
that's funny Shaneis ... this cool manager of mine, like 3 months ago ... all pissed after meeting, looked at me and told me: "I so fucking envy you, you literally don't give a single shit, no wife, no kids, no fucking boring meetings, all you do is going around and do development ..." :D kinda reminds me of you
 
lol
 
@Sami ha! I'm lucky I've had to fix issues created by him so he cuts me a lot of slack ;)
 
;)
 
@Veljko89 your manager is wise...unlucky but wise
:D
 
10:03 AM
@Veljko89 Do you have a twitter account too?
 
brb... meetings :(
 
@Veljko89 link mate
 
chat.stackoverflow.com/rooms/190708/react-js -- react ... but i dont use twitter
got off from FB also ... kinda tired of looking at posts from crazy people, motivational messages, how life is hard and people stand up and shit like that :D
 
10:25 AM
@Veljko89 i use facebook for meme groups
 
lets make something new and cool
use react, .net core and sql server
will setup svn or git
and lets work on cool stuff
like make a public project ... where everyone can come on and contribute and work on it as he likes ... and project will be ...
uhm .... "Make your own page"
damn that can be good, give open sql server "express" at begining ... free code, would be awesome and great for new people
literally to be a testing site
 
11:14 AM
Morning guys
 
o/ @AndyK
 
@Shaneis sup man?
 
Auditors in today so multiple meetings scheduled. I'll be in and out all day :(
 
@Shaneis g' luck
 
cheers
 
11:15 AM
going to meet a bunch of guys who are doing IA
not sure what it will bring in the long run but let's see
catch u
 
morning :-)
 
hello heavybike
 
11:34 AM
hey cool, I just got a thank you Slack 😊
 
@ARr0w it is indeed a heavy bike, with any luck it never lands on me
 
 
1 hour later…
12:44 PM
hi
I have a question
I want to check if there is a x-1 connection between a tables columnA and columnB where x can be (0, 1, n), so for a given columnA value there is exactly one columnB value.
is it ok to check it with:
-- should see no rows if true
select count(*)
from table
group by columnA, columnB
having count(*) > 1;
 
1:12 PM
i dont see how that would give the result you explained
 
grouping by columnA is like distincting on columnA, just with possible aggregate functions. So I push all columnA values together into sets, and checking in those sets there are any, which distinct removes an element
-- same as checking that>?
select t1.columnA, t2.columnB
from table t1, table t2
where t1.id <> t2.id and
t1.columnA = t2.columnA and t1.columnB <> t2.columnB
 
yes, but if columnA is 15 and columnB is null, it still shows in your group by
 
1:59 PM
I checked it on SQL fiddle, and group by version is not correct. But the reason is not null, it's checking for 1-1 instead of x-1
I think
select t1.columnA, t2.columnB
from (select 1 id, 1 as columnA, 1 as columnB
from dual
union
select 2 id, 1 as columnA, null as columnB
from dual
union
select 3 id, 1 as columnA, 14 as columnB
from dual) t1,
(select 1 id, 1 as columnA, 1 as columnB
from dual
union
select 2 id, 1 as columnA, null as columnB
from dual
union
select 3 id, 1 as columnA, 5 as columnB
from dual) t2
where t1.id <> t2.id and
t1.columnA = t2.columnA and t1.columnB <> t2.columnB ;
shows that 1->5 and 1->14
 

« first day (2504 days earlier)      last day (1814 days later) »