« first day (1543 days earlier)      last day (3326 days later) » 

1:09 AM
do we want this on Database Administrators ?
0
Q: How can I as a student practice using Vertica?

YakumoYukariI want to learn how to use HP Vertica, but the community edition it offers required that I have access to a cluster. I don't own a server cluster, so is there any alternative or cheap hosting service I could use to try out Vertica? Also, if such a way to try it out exists, which files should I ...

 
 
5 hours later…
6:25 AM
@ypercube For one thing, the semantics are different w.r.t an empty input. Scalar max returns null, top returns empty set. Second, the optimizer doesn't simplify apply..top for backwards compatibility/common practice reasons.
 
 
2 hours later…
8:26 AM
thnx.
 
 
4 hours later…
JNK
12:13 PM
good morning all
 
Morning!
 
12:31 PM
Morning
 
morning urryone
 
12:54 PM
morning
 
1:06 PM
morning
 
1:39 PM
morning
 
ooh ooh, me too! morning!
(sorry, I've already had 2 cups of coffee)
 
I'm a morning person and a night owl, but midday is terrible ;P
 
@AaronBertrand No, but coffee helps :)
 
Clutching mine tightly today
 
1:48 PM
I'm not a morning person. I hate mornings. I <3 coffee.
 
I suppose I'm lucky then since I don't like coffee :P
 
Neither does @billinkc. He does tea.
 
Me too. When I get a job I'm gonna buy me one of those big coffee thermoses you have for conferences or parties, and have my brewed tea in it
When I code I keep forgetting about the tea-making process
So many reboiled kettles, so many cold cups of tea...
 
Love coffee, the blacker the better. Got hooked while in the Navy, nothing like some good old 3-hour percolated coffee when you're standing watch on a submarine
 
Today I hit a milestone in my morning life. I have mastered the creation of a healthy microwave blueberry muffin. Quick, tasty, healthy breakfast FTW.
I took this blogilates.com/blog/2011/07/11/… and added a bit of agave nectar to sweeten it up a bit.
 
1:55 PM
muffins are healthy?
 
7 wieight watchers points for one muffin, wow!
That's a good bit right there
 
Still doesn't sound healthy to me... But on the other hand, I've detoxed on sugar
 
Sorry, I don't speak weight watchers points.
Fine, healthy-ish. Healthier than a real muffin bought from the store.
 
I tried having a chocolate muffin today. I had a hard time stomaching because of all the sugar
 
@Gemtastic Dia-beetus
 
1:57 PM
@mmarie I'd say the one you linked is way more "real" than the artificial junk they make in the factories :P
@KrisGruttemeyer I should have it considering how much sugar I ate before I started detoxing
 
2:14 PM
TIL that if you search for things like NOT IN vs NOT EXISTS + Bertrand, you get a mixture of Aaron Bertrand and Bertrand Russell in the search results.
2
 
I've never had that problem </sarcasm>
:-)
Were you looking for this post? sqlperformance.com/left-anti-semi-join
 
@AaronBertrand Yes, reading that now. I was trying to remind myself of all the alternatives
 
Wooohooo! Client opened their Impala dev environment to us, and it has already been upgraded to 2.1. This means I have my window functions back. :-)
 
Close the window, it's chilly this morning
 
Kind of want
 
2:27 PM
how's your new desk @mmarie?
 
I have one of those, except it looks like
 
@bluefeet I haven't put it together yet. I was going to last night, but decided to go to sleep instead.
 
@mmarie sleep always wins for me too
 
@Gemtastic are you implying that sugar is toxic?
 
@ypercube well, yes and no. It's not toxic, but it's addictive
 
2:33 PM
@mmarie that is a neat idea. I'm a scribbler, doodler, and furious note-taker.
 
whoa, gnarly dude
0
Q: Running SSIS Package from WinForms app - Gnarly Error

MattI have a winforms application that makes use of Microsoft.SqlServer.ManagedDTS to load and execute an SSIS package. When running locally in debug and when installed the package runs fine, when installed on a dev server the package runs fine. When deployed onto a live server I get the following er...

 
3:07 PM
Twitter maps are not to be trusted
 
3:17 PM
Morning
am I late?
 
3:45 PM
@Kermit It's practically pub o'clock
 
@MarkSinkinson if you're across the pond
 
@Kermit oh... Does that mean I should not be drinking yet?
 
@Zane i never said such a thing. drinking is for all hours of the day
 
Oh good I was worried.
 
4:08 PM
Anyone have SQL Server 2008 (not r2) installed? If so, from a command line, dtexec /help. What is the version string on the second line?
 
Sorry, I don't have a machine with only 2008 installed.
 
@billinkc nope
 
Is there any greater indicator that a question will be useless than reading this? "I will preface this by saying I am nowhere near being an expert in SQL."
 
4:30 PM
Tried to explain a bunch of things that were wrong with this dumb query.
0
A: Getting invalid column name in SQL/Excel

ZaneAlright so first off you need to stop using the old style joins for all of the reasons listed here. You are also going to run into an issue that you aren't joining on anything other than one of your tables. I'm pretty sure this will not give you the results that you are looking for. Then final...

 
@Zane yes. a mysql tag ;)
3
 
Anyone want to pile on.
Bwahahaha.
 
@Zane 4 tables, one condition. nice
 
yeah he's boned there.
I couldn't even bring myself to use his query as an example for a subquery.
 
I cry every time I see case statement :-)
Not as weepy as record / field, but close
But more than when I see "I'm using MSSQL"
 
4:34 PM
@AaronBertrand oh that's right. I've offended you. That one is stuck in my head still. Feel free to edit the change if it would make you happy :)
 
You have not offended me in the slightest. I just think it's an important semantic difference.
 
Changed.
 
I'd up-vote again if I could
 
Lol
 
This is a very thorough review of a few of the more popular standing desks
 
4:37 PM
I have no clue what this guy is trying to accomplish with his joins.
 
I'm still really intrigued by that thing @mmarie posted earlier... is that called the dual toilet paper roll desk?
(I am serious though, I think that's a fantastic idea, except I'd have to move a ton of crap off the desk every time I needed to advance the roll.)
@Zane what about this one:
0
Q: Viewing execution plans for queries with parameters

Łukasz KastelikI have a sample query generated by an application (Microsoft Dynamics AX 2012 in this case) which is ineffective performance-wise (cross joins, order by etc.) I would like to display its execution plan and attempt to tune it by indexing or rewriting some parts of it. I cannot just copy/paste it i...

 
@billinkc Your desk is a OneNote icon?
 
@Zane I edited. removed 2 parentheses in the end, check please
 
@mmarie nice, thanks
 
4:41 PM
@ypercube Oh yeah good call.
@AaronBertrand I must have missed that.
@mmarie oh weird.
I would wreck that constantly. I'm a desk puncher.
@AaronBertrand great scott!
 
Obviously generated by some visual query designer. Which should be shot, pissed on, and buried.
 
Global temp table too. Nice.
 
My eyes bleed. Allergic reaction to the redundant parentheses. — ypercube 41 secs ago
 
Quick, informal poll: Favorite trace flag? Most feared trace flag?
 
3226 shrugs
 
4:58 PM
That's a lot of shrugging - hey get your exercise however you can
 
I aspire to fight Grant and win
Oh look, doughnuts
 
5:18 PM
Our Sharepoint went down for about 3 minutes. Something with our web servers. Is it wrong that I secretly hoped it would just stay down?
 
A non-ugly solution would come from Microsoft in the form of another option. I'm not sure there is a non-ugly work around. — Thursty 4 mins ago
 
damn it, he wasted the chance of saying something like: "A non-ugly solution would come from another user"
 
JNK
@Lamak A non-ugly solution would come from someone besides your mom!
 
bazinga
 
@JNK that's overkill
 
5:26 PM
Err, my suggestion, just stop using Access
I just meant that I need something in Access to link to right? So I need to have a table back in Access that links to all the "actual" tables in SQL Server (if I'm understanding this correctly). If that is the case, it seems odd to leave 1 table behind in Access as a "link" while all the rest are put in SQL Server — TBrown33 8 mins ago
My turn for 3226 shrugs
 
In case it's helpful to anyone else, MS has a helpful set of icons to use in diagrams microsoft.com/en-gb/download/details.aspx?id=41937
(updated this week)
 
thanks
 
@mmarie Very nice! I'll tuck those away for later.
 
No matter how I try, I'll never be able to give you something. Something that I just haven't got. — billinkc 50 secs ago
"Two Out of Three Ain't Bad" is a love song performed by the American musician Meat Loaf in his solo career, preceded by "You Took the Words Right Out of My Mouth" and followed by "Paradise by the Dashboard Light". It is a track off his 1977 album Bat Out of Hell, written by Jim Steinman. It reached #11 on the Billboard Hot 100 and earned a million-selling Gold single from the RIAA. It stands as one of his career signature tunes, still enjoying recurrent airplay. It was the final song written for the album. In a 2003 interview for the VH1 Ultimate Albums series, Steinman recalls: "I remember Mimi...
And I'm done
 
@billinkc how deep
 
5:36 PM
also, how derp
Much slashdot once advocated: if you can't be insightful, at least be funny
I fail at both but I'll keep tilting at the second windmill
 
5:59 PM
Nothing to see here, move along... 19M rows to 22k (two times) it's fine. Really
 
Was this the UNION query that you were talking about yesterday?
 
Yup. Remote call is better than I thought (they cleaned up data there) Local is worse
 
It's still a giant bag of 'ewwww'
 
6:14 PM
SSIS + Sharepoint Source adapter = fail
When SSIS fails, it's error output is as ambiguous as telling me 'it's in that place where I put that thing that time'
 
@billinkc didn't you have good luck with the SharePoint adapter at [client we both worked on that shall not be named]?
 
Francois is the one who ultimately did the SP integration. And last I recall, it never passed validation once deployed
 
oh
ha
 
Well now, haha
 
My memory of them is hazy, and I'm not that upset about it. :-P
 
6:19 PM
It's not like they ever updated that SP list as it was. Well, except to completely change the layout and make it go from "unlikely to work" to "never going to work"
 
Hey, I fixed it at least twice, so they must have updated it at least twice :-)
 
Or broke it at least twice. :)
 
Rebuild vs reorg. It's EE so I can and must use an online operation for the above fragmented CI. Rebuild is what I want, yes?
 
With that level of fragmentation, I would think so, yes.
I don't always rebuild indexes, but when I do (and I paid $$$ for EE), I do them online
 
ALTER INDEX CI ON dbo.foo
REBUILD WITH
(
    PAD_INDEX = OFF
,   STATISTICS_NORECOMPUTE = OFF
,   SORT_IN_TEMPDB = ON
,   ONLINE = ON
,   ALLOW_ROW_LOCKS = ON
,   ALLOW_PAGE_LOCKS = ON
,   FILLFACTOR = 95
);
That look approximately correct?
Took the existing index definition and slapped those things in there.
 
6:24 PM
Looks good to me, F5 that beast
 
That only took 6 minutes. I am disappoint
 
This is the most helpful Hue/Impala error message I've gotten all day:
Bad status for request 138: TGetOperationStatusResp(status=TStatus(errorCode=None,
errorMessage=None, sqlState=None, infoMessages=None, statusCode=0),
operationState=5, errorMessage=None, sqlState=None, errorCode=None)
That is to say, none of the error messages are helpful. This project does not make me want to get into hadoop.
 
6:40 PM
@billinkc you are so useful
I totally understood the problem and I also created a chart that shows the organization chart but I can't post pictures since I am new to stackoverflow and I don't have reputations. Thank you for editing the list billinkc. — ddag 1 min ago
 
@mmarie That's very informational and verbose
 
@billinkc I lol'ed at "spinning cursor"
 
aaaaand I'm back.
 
@KrisGruttemeyer Yep. And operationState = 5 just means ERROR_STATE
 
6:47 PM
@Zane welcome back
 
why is this guy choosing to use the name instead of the id of the supervisor?
also, @billinkc, please go and edit the question again
-1
Q: Develop hierarchy query

ddagI created the scenario shown on the List below so that you can understand my question more clearly. I want to develop a spinning cursor that will enable me to find the top leader of any agent in the bottom of the pyramid in the organization. Consider as if the only information you have is ea...

 
I've had this argument at every company I've worked for.
"But I just want to use John as my handle / e-mail alias / URL."
Which works great until you have two Johns.
Even first name / last name is dangerous - imagine if we hired Dell's Jason Hall, or if ours went to work for Dell?
(I know that's not directly relevant to the supervisor query, but it's kind of related.)
 
Technically I'm only back for 30 Minutes. I'm leaving in 30 minutes.
 
@AaronBertrand yeah, then start the variations for the new ones adding the first letter of the second name, etc
 
7:01 PM
@Lamak Microsoft had a real problem with that when they had their hiring explosion - lots of funky aliases because the e-mail system still had rules about 8 character user names.
 
yeah, I also remember the nightmare of some table names when they couldn't had those restrictions
 
@AaronBertrand - Yes sorry missed you at SQL Bits. You don't happen to be going to SQL Saturday portugal?
 
well, that's good
That sounds better. I will also add that field. Thanks. — ddag 2 mins ago
 
@MartinSmith No, won't be there. That event kind of rubs me the wrong way - Niko puts very serious demands on speakers, like only submitting sessions you've never presented elsewhere (which seems counter-intuitive to me, he should want proven quality sessions, not exclusive sessions of questionable quality).
Plus we've been cutting back on trying to go to every SQL Saturday, especially when being there is expensive.
Today @jlupoltsql made me snort coffee out of my nose with something he said yesterday: "How can I make my stinky database more perfumant?"
8
^ speak of the devil
 
Hah
@AaronBertrand I'm surprised to hear that. I thought some of the sessions like Chris Adkin's had also been presented elsewhere.
 
7:13 PM
@JamesLupolt well I don't know how good Niko is at enforcement but he certainly made that requirement very clear on twitter about 400 times.
 
@AaronBertrand That's totally understandable. I didn't realise that the sessions there had that requirement.
 
@AaronBertrand I think I'm wrong anyhow. It looks like the session he's going to present at SQLSaturday Portugal is on the SQLbits site, but with a note that appears to say it was rejected from SQLbits: sqlbits.com/Sessions/Event14/…
 
@JamesLupolt Looks like an interesting session actually.
 
@MartinSmith Yes, I thought so too. I actually don't know anything about the batch mode stuff.
Other than that it exists in 2012+ and Conor C has talked about it.
 
@JamesLupolt There's some good white papers written by Rusanu and others that discuss some elements of this.
 
7:18 PM
@MartinSmith yeah, I mean some of us have stuff to do besides trying to impress Niko. :-)
 
@AaronBertrand Yes I imagine preparing a new session must be pretty time consuming getting all the content and visuals together.
@JamesLupolt This is the paper I was thinking of specifically but looking at it again it doesn't go into that much detail research.microsoft.com/pubs/193599/…
 
Sometimes I want to punch punch punch
Aaron - as mentioned its a wiki type system add where you see fit or add your own answer...its a simple thing. — JonH 41 secs ago
So is updating your own answer that recommends deprecated garbage.
 
Sweet jesus, I liked the 'look at my comment activity'. It's like he's just arguing for the sake of arguing
Again, the butt-hurtness is strong these days
 
7:34 PM
@AaronBertrand DevConnections had this requirement, but it's not very strict.
 
It's not like my initial comment was offensive or overly critical, or like I would remember that I've commented to him specifically before about deprecated objects. If I had more time today I'd run a query against data explorer to see just how many comments I've posted that contain deprecated...
 
asshole:
Aaron - see edit, I hope you sleep better today :-). — JonH 1 min ago
 
21.4k rep, you'd think he'd shut up and go play in traffic by now
 
He's making me want to go play in traffic.
 
7:53 PM
He can be difficult
 
that's an understatement
 
I mean, it's simple. What he posted involved something that's deprecated. It works in 2005+ so why even mention the one that isn't going to be around?
 
Right, that's all I was trying to point out. Guy can't take any comment at face value.
 
"I changed the Fill Factor option from 1 to 75." Really? You had instance-wide fill factor set to 1?
 
I lulled at that too
 
8:02 PM
0
Q: Sql Server Fill Factor - Restart sql server services

user3325655I changed the Fill Factor option from 1 to 75. When I run a query that displays the fill Factor I am seeing 75 But I read online that I have to stop and start the sql Server services inorder for this change to be effective. Is that True? http://sqlmag.com/database-administration/fill-factor-tr...

My mind was completely expecting 0 or 100. It didn't process the '1'.
 
Fill factor 1? Ewwww
 
Well, I've had it. Have a great weekend folks.
 
same to you
 
8:19 PM
You too sir
 
9:12 PM
Speaking of butt hurt
I don't know why people like billinkc are so quick to judge. Is this site only for people who has a big mind like you? smh — ddag 33 mins ago
 
@billinkc removed
 
9:55 PM
i'm doing an unfiltered query against 12 tables, 7 of which are outer joins and the base fact table is 16bn rows. why is it slow????
 
Because the DBAs aren't doing their job
You probably just need to run the Index Tuning Wizard or something
: )
 
10:13 PM
DTAFTMFW
 
10:30 PM
?
 

« first day (1543 days earlier)      last day (3326 days later) »