« first day (1326 days earlier)      last day (3535 days later) » 
00:00 - 18:0018:00 - 00:00

12:31 AM
that's nice :)
 
1:01 AM
I know a lot of people hate EAV, but...
0
Q: How to handle many columns / variable schema?

HeidernI apologize in advance in case this question has been asked already. I'm working on revamping a reporting application used within my company. The requirements are: Support addition of new fields (done through web app) and allow users to select those fields when building reports. Currently ther...

 
1:58 AM
Holy snap is data tools different and amazing.
How am I suppose to make a presentation with a tool that I desperately need to learn everything about.
 
 
1 hour later…
3:03 AM
 
@AaronBertrand just watch steve jones respond to your/grant's ice bucket challenge
 
3:51 AM
@AaronBertrand I'm not a fan of EAV, but my primary objection to it is people using it as their default data model. I don't have a problem with using it when it's legitimately the best model, but that's very rare
 
@swasheck cool, how'd he do?
@Simon I have plenty of other objections to your arguments. I may just need to write another blog post, but things like this are simply not true:
> You can't use data types.
I don't understand that at all. Maybe you saw some Mickey Mouse MySQL person using just one column but I've never seen EAV designed like that.
On another note, for all the fanny packs
Yo dawg, I heard you like fanny packs, so I got this fanny pack to defend fanny packs
 
4:24 AM
@AaronBertrand That's pretty much it - every time I've seen EAV used it's been as a "one EAV table to rule them all" solution and that's what I'm not keen on. I've never seen it used properly, so maybe that's why I'm so anti it.
 
@AaronBertrand yelped like a wildman
 
5:25 AM
@AaronBertrand The RSS-feed works just fine now. Seven new articles showed up.
 
 
5 hours later…
10:48 AM
So apparently the Oracle equivalent of parameter sniffing is called 'bind variable peeking'
 
 
2 hours later…
gbn
12:31 PM
@James I bet it costs more too.
 
12:46 PM
@gbn How's it hanging?
 
@SimonRigharts this is like not liking BMWs because you saw someone driving one like a jerk. Just because some people don't use it properly doesn't make it bad. Heck, if you were anti-"everything someone uses poorly" you'd be against all technology.
 
JNK
EAV makes sense for some things like low-transaction volume reference tables
 
@AaronBertrand Mind you, BMW drivers have such a bad rep here that you'll get treated like shit by other drivers if you go out in one.
 
@ConcernedOfTunbridgeWells but again, that doesn't make the car bad. Just demonstrates that people associate the stereotype of the car with the type of person driving. I can assure you BMW drivers are not the only bad drivers on the road. And they're still driving nice cars. :-)
 
@AaronBertrand No, there's Audi, Mercedes and Porsche drivers too ;-}
 
12:57 PM
@ConcernedOfTunbridgeWells well there's driving like a jerk (aggressive, I deserve to be first) and driving stupid (too slow in the fast lane, no signal, texting etc). Over here the former is highly weighted toward nice cars, the latter not so much - they're all driving a Toyota Camry or a Hyundai...
 
@AaronBertrand The archetypal car for that here is the Nissan Micra.
 
@AaronBertrand Right, but there are some things that are abused considerably more often than they're used correctly, which means they're naturally going to get a bad rap
 
@SimonRigharts That's not strictly true - I've seen a few products that use EAV well. However, bespoke systems built by architecture astronauts are going to outnumber successful products by at least one or two orders of magnitude.
 
@SimonRigharts This is why we should teach them to use it right, rather than just scare them away from it, IMHO. If they (or their pointy-haired boss) have already decided that EAV is what they're going to do, they're going to do it, and I'd rather give them guidance than just tell themit's a stupid decision.
@SimonRigharts Cursors are horribly overused and abused, but there are still cases where I will recommend them (e.g. running totals pre-2012).
@SimonRigharts Dynamic SQL is fraught with peril, but it's still my go-to method for a lot of problems.
There are only a few things in SQL Server that are "never do that" - auto-shrink and auto-close, for example.
 
Some people on my team seem to have this idea that joining our large tables is bad. So they take one table and load it into a #table applying a predicate, then take another table and do the same. Then join the tables together. It's driving me crazy.
Join Predicates can cut down the rowset too. You don't need to load 40 million rows into a #table just to get back the 3 million you need!
 
gbn
1:05 PM
@ConcernedOfTunbridgeWells Good thanks, and you?
 
Urg!
 
@gbn Pretty good. The liquid lunch is alive and well in London.
 
@Zane I worked with someone like that. He created "temp table waterfalls." What you should do is take one of those examples, have a lunch & learn with them, and show them that the indexes on the table support that join efficiently without all that extra busy work. (Of course create the indexes that support those operations if they in fact don't already exist.) :-)
I did get this guy out of that awful habit, but it took several classroom-style session and my own re-writes to demonstrate to him that the way he thinks about elimination is not the way we want SQL Server to actually do it.
 
I have been and they didn't(have the proper indexes) lol
 
Ha, well, you need to fix that before you get in their face about working around it
 
1:13 PM
what a fool
Okay, in your question you passed an actual date, not a GETDATE() function. — Kermit 10 secs ago
 
@AaronBertrand The query still performed 20 times faster by changing to my method. It had to range scan more than it does after the proper Index is in place but this was a 3 hour query. Now it's down to a few minutes.
 
-1
A: What's new in SQL Server 2014 T-SQL since SQL Server 2008 R2?

Thomas KejserRTFM or Google does the trick: http://msdn.microsoft.com/en-gb/library/bb500435.aspx

Oh Kejser
 
gbn
@ConcernedOfTunbridgeWells Too hot here right now.
And too cold in Stockholm where I'm just back from
 
@AaronBertrand If you're going to be a dick then do it in the comments.
 
@Zane already converted.
It's a terrible question but I agree - I reserve most of my snarkiness for comments.
If it was just snarkiness or just a link-only answer...
 
1:17 PM
See I even like it as a comment.
 
I removed the RTFM bit, sorry
 
Well. Mod and all.
 
Are there more bad questions lately than, say, a year ago?
 
@James Probably tenfold
 
Quite a a bit.
 
1:22 PM
I've been cleaning up a lot of bad answers, too
Mostly spam but a lot of people just not understanding that this isn't a forum.
 
I used to look at the questions and think "I'm not going ot answer that because I know someone else will give a better answer, or I just don't know the answer myself."
Now I look and just don't want to engage
 
I think the rep requirement for comments is stupid - all it does is cause people to leave the same useless noise as an answer instead of a comment.
2
 
@AaronBertrand Agree'd
 
I've said it before : as the popularity of this site rises, that will ensure it goes down the exact same slope that SO has gone. Maybe not at the same rate, but same trajectory.
Because more people = more idiots. Sadly.
 
I understand why the do it but I've had at least a hundred interactions on SO where I flag something in the review queue as being a comment only to hear, "He doesn't have enough rep so lay off".
That's still doesn't make it a F'ing answer now does it.
 
1:24 PM
@AaronBertrand I suspect that the alternative is worse - comment spam from bot generated users. At least someone using the account has to get some peer-reviewed answers upvoted without triggering the circlejerk detection mechanism.
 
these questions are starting to suck
-1 What does 'in sql' mean? What platform? What is the actual output you're looking for? — Kermit 3 mins ago
 
@Zane weird, when I see a flag on an answer that is clearly a comment, I either convert it to a comment or delete it.
 
@AaronBertrand I can only flag.
 
@ConcernedOfTunbridgeWells but is that something that actually happened? Or is it just an assumption that it will happen?
@Zane I know, I'm just saying, I don't know who would reject your flag that way.
 
I would say the Mod's keep DBA pretty clean though. It still has a few of the best articles I've ever read and is an invaluable resource in my arsenal.
 
1:26 PM
Not who, rather, why
 
@AaronBertrand I think it's just something the original team did to head it off at the pass. Still, there are plenty of sites with a perennial comment spam problem.
 
@AaronBertrand Newbie sympathisers. How many times have you seen a shit question get defended and there some knob who's like come on guys he's just new.
 
I don't know that spam answers are better than spam comments.
 
@AaronBertrand I think the reasoning is that they are easier to police.
 
Spam gets dealt with by everyone in the entire community pretty quickly. Spam comments get dealt with effectively because anyone can flag them, and I think there is some threshold where a mod doesn't even have to get involved for it to be deleted. Spam answers on the other hand...
@ConcernedOfTunbridgeWells They actually require more effort than spam comments (see above).
On top of that, people don't down-vote spam answers because it isn't worth 1 rep for them to do so.
 
1:29 PM
@AaronBertrand I suspect that SE has a sufficiently active mod community now that it would happen and the rep threshold for comments might not be necessary.
I suppose you could suggest it on Meta and make a case for it. I think it's quite likely that you are right and the mod community would do the job on their own.
 
I think flagging an answer as spam should also give an automatic down-vote on the question, at no rep cost to the flagger. Like certain vote to close actions do to a question.
@ConcernedOfTunbridgeWells I've died on my last hill on meta. Not worth it. No matter what my idea is, change is always the devil.
 
@AaronBertrand That's always going to be the case in any community.
At least any larger than a few people.
 
Well I'm just wishing out loud. It's not like the current situation makes it impossible to do all of my mod duties, it's just kind of boring seeing the same type of "answers" from 1-rep people who can't comment. Seems backwards.
 
The initial reasoning was based on the volume of crap and spam comments on the expert gender change site (and its ilk) so I don't think it was wholly unreasonable at the time. Now, with an active mod community it's pretty likely to be a non-issue.
 
2:10 PM
morning
 
Indeed. A Friday morning, to boot
 
2:25 PM
you're welcome
 
@swasheck I don't even have to watch that and I know that I hate you :P
4
 
i'm rubber ... you're glue ... whatever you say bounces off of me and sticks to you
soooo ... dogpile on kejser?
is that what i missed
@MikeFal a glorious seattle friday morning, to boot
 
@bluefeet I don't know what that is.
@swasheck nah just a link only answer that @AaronBertrand cleaned up.
 
Hatred? Clearly you haven't worked in IT long enough. Soon, you will be bitter and crusty and then you are ready for the world
 
2:44 PM
Remember the grand unified theory of contracting:
If you're going to work with idiots you might as well get paid for it.
3
 
@billinkc I meant that video.
I have no idea what that is.
 
@Zane But it's funnier if I pretend you don't know what hate was
 
I think you've heard enough of my rantings to know that's not true.
 
People are interested in your SSIS talk by the way. of the 14 people who have used the scheduler builder, you were selected as a primary by 3 and alternate by 2 (that's good)
 
@billinkc boss.
 
2:50 PM
straight ballin'
 
I'm giving the 2008 BIDS version to my co-workers today.
 
I bid you the best of luck
 
@billinkc Waka Waka
 
Lowest form of humour
 
@billinkc i thought that was poop jokes
 
2:51 PM
I was going to make the SSDT version last night but got lost in the bells and whistles of it all.
 
@billinkc your 10am slot is stacked
geez. 1245 is good too
 
That's how we roll
I was surprised that there's been so much interest in the securing SQL Server session
 
this one? SQL Security Best Practices & Shrinking Your Attack Surface
 
If it's by Matthew Brimmer, then yes
 
ja
 
3:03 PM
@swasheck That poor girl is going to haunted by that for the rest of her life. Hopefully she doesn't have any children because they'll be haunted too. "Its Friday, Friday, Friday!"
 
@billinkc You and @mmarie aren't 2 of those 3 are you?
 
Hadn't even registered until yesterday
The reason I first put together the KC SQL Saturday is that I wanted some training and couldn't get anyone to pay for me to do it. The dread secret I learned that year was that I never get to attend any of the sessions except my own
 
Too busy organizing?
 
Pretty much
 
It's gotten better over the years but no, I mostly pop in and out of the sessions to see how speakers work with their audience, snap a photo or two, count heads and pop out
Yeah, year one was just unsane with all the little fires we had to attend to
Now that we don't do anywhere near as much printing and crap, the amount of work required is greatly lessened. It's mostly make sure everyone is signed in and has their raffle tickets. Make sure food is there, keep the carnivores away from the vegetarians food and deal with people who "couldn't use paypal"
After lunch, it's just a matter of not crashing before the raffle
 
3:09 PM
@MikeFal speaking of whihc ... are you going to DU with Todd today?
 
Yup
 
can you let me know what kind of A/V connections they have in the rooms? i've been burned twice now (in different ways).
 
k
 
and i want to be prepared with what they actually have and not with guessing at possibilities
@MikeFal thanks.
 
I've never been anywhere that didn't have at least a VGA connector
 
3:13 PM
Yep I'm seeing more and more HDMI but there's always still VGA
 
@billinkc yeah. but i didnt have that.
 
I travel with both when I remember but I always have a backup VGA connector
VGA is LCD (no pun intended). You should always have VGA at a bare minimum.
 
@AaronBertrand i guess i should just get one of those because that's what i dont have.
and the one that i used didnt work so well with my laptop. it was a mess so not only do i need one, i need to vet it with my hardware
 
@swasheck usually "didn't work" is an issue with the projector, not your hardware.
 
(rookie "speecher")
 
3:16 PM
I mean, it'd be nice to push higher resolution out for presentations but until manufacturers standardize on something better than VGA, it's .. HA, just realized that "VGA is LCD" is lowest common denominator and not liquid crystal display
 
@AaronBertrand it was strange, for sure, but 15 minutes of troubleshooting didnt do much.
 
That's a generalization, btw. There are some pretty fantastic stories folks with Thinkpads have about incompatibility with just about every projector on earth - but still it's not something you can know until you show up and plug it in.
 
Yeah, as soon as I can get into a room, I connect to the projector and pray for the few moments as it syncs
 
@AaronBertrand so do you remember that i roll with a stinkpad or is that the canonical POS hardware
 
@swasheck yeah I've been there. At SQL Sat Boston the speaker before me couldn't use presenter view and had tech support in the room 3 or 4 times before he even got a picture on the wall. Mine plugged in and worked immediately, but the projector literally exploded about half way through my talk.
 
3:17 PM
@billinkc thanks for pointing that out because i hadnt yet gotten it
 
@swasheck one or two model years are just notoriously bad
 
The laptop our company issues has a dual graphics card - one for performance one for battery life. It's notorious for cocking up with projectors
 
@AaronBertrand nice. so anyway, i'm just doing what i can to get a leg up on the situation so that i dont wast folks' time
 
@billinkc Me too. I hate projectors with a passion. Time before last I plugged the VGA cable in and was rewarded with a BSOD.
 
I try to think about how I'd give my talks if I couldn't actually display the laptop. I think some of my talks would be manageable but some of the code heavy ones... not so much
 
3:20 PM
@swasheck all you can really do is (a) have a VGA adapter, always and (b) test your slides and demos in the lowest resolution possible, because some projectors won't work until you go 1024x768 or something similarly horrible
 
@billinkc our company issues an X1 Cabron ... replete with security crippleware so who knows what gets in the way
 
@PaulWhite I don't even want to think about what international issues surely go along with all of that (got my 220 to 110 step down with a swiss army knife of connectors, check)
 
Anything else is on the event, not you.
 
@AaronBertrand thanks for the tips. those are more helpful than you know.
 
@swasheck Before I moused over the link, I was like "really, someone created a laptop with that name?"
 
3:22 PM
Carbon, but we call them Cabron's, given our security team's ability to render them (un?|in?|non?)usable
 
My HS friends were from mmarie's current neighborhood although at that time it was mostly mexicans and italians so I'm somewhat versed in the vulgarities of their languages
I need to get a handle on swearing in Hindi for my next linguistic feat
 
i'd recon you'd be quite fluent regardless of historical context
 
lakh-a lakh-a lakh-a
 
@billinkc Voltage isn't a problem. The only power incident I have had occurred at my first PASS Summit - I forgot my pin adapter.
 
@billinkc "Do the needful"
 
3:25 PM
warning
(btw)
 
I worked with a guy from the Punjab region and worked really hard at trying to say the traditional greeting. He was very kind and said I did well. Learned that the local Indian place also has people from the same province so I tried it out on the kids (literally) working there
10 year old laughed me into my place. "NOoooo, that's not how you say that at all!"
 
yay, I wrote my first MDX query. Now I've got to figure out how to incorporate it into our bim
 
3:42 PM
@bluefeet Into what?
 
@ConcernedOfTunbridgeWells We are using a tabular model and I can't figure out how to use this MDX query in it :/
 
@bluefeet I didn't think tabular model supported MDX.
Pretty sure you need a dimensional model cube, unless they've added MDX support to tabular model without me noticing.
 
@ConcernedOfTunbridgeWells I don't believe it does. I wrote the MDX query to get the data, now I have to figure out how to do the same thing in our model
 
@bluefeet If you have a dimensional model cube, there is a cube script where you can define calculate metrics and the like.
Or, are you talking about re-writing something functionally equivalent in DAX?
 
Honestly, I'm not really sure. None of us on the team have done this stuff before, so it's all foreign. I need to incorporate a Top 10 Customers to our model so our users can splice the data as needed. I'm just kinda muddling through it
 
3:49 PM
@bluefeet Do you mean you've never built a dimensional model cube before?
Or are you having trouble with stuff DAX doesn't do well?
 
@ConcernedOfTunbridgeWells Yes. Our team built the first one about 2 months ago
 
@bluefeet Do you know how to find the cube script in BIDS?
 
gettin' crazy with the cheez whiz
 
@bluefeet Calculations tab in the cube opened in BIDS
Select script view.
You can create the top 10 list as a calculated set. Do some google-fu for the syntax.
Does that help?
 
hmm, I'm looking but I'm not seeing that. But it's probably because we work in our .bim file
 
3:57 PM
@bluefeet Are you using BIML for cubes?
Maybe @billnkc might have some insight on that. I've never used BIML.
 
@ConcernedOfTunbridgeWells yes. It doesn't seem that we can connect BIDS directly to a tabular cube
 
@bluefeet If you're using BIDS for cubes you're far better off building it as a project and deploying it than working directly off the cube.
If you have a dimensional model cube then you can reverse engineer it into a project.
 
@bluefeet has a tabular model. She's going to need to translate the MDX to DAX, which is oh so fun
 
@mmarie I'm trying that now :(
 
@bluefeet What were you running the MDX against?
g
 
4:07 PM
@ConcernedOfTunbridgeWells in SSMS
 
@bluefeet Against a tabular model cube?
 
@ConcernedOfTunbridgeWells yes, when querying a tabular model in SSMS you can the option to query using MDX
 
yeah, you can run MDX queries against tabular just fine. You just can't make an actual calculation in MDX and add it to a tabular model
 
I thought that @bluefeet was working with a dimensional model
 
@mmarie so you can compile, you just cant do anything useful?
 
4:18 PM
huh?
 
@swasheck You can actually query it with MDX but it doesn't have anything equivalent to the dimensional model cube script for MDX.
 
@mmarie sorry. i misunderstood what you were saying
i'm ssas/BI deficient
 
@swasheck me too
that's part of my problem
 
i am still living with your ... goat
lonely and dreaming of the west coast
 
4:34 PM
Ugh. Just use mirroring
0
Q: sp_publication_validation procedure doesn't seem to work properly

Misha_SQLI am trying to use sp_publication_validation stored procedure to validate that my replication setup is working correctly. This procedure is pretty straightforward and is described here. I am running this command: EXEC sp_publication_validation @publication = 'MyPublication' ,@rowcount_only...

 
@bluefeet lots of great whitepapers on Tabular http://msdn.microsoft.com/en-us/library/dn393915.aspx
http://msdn.microsoft.com/en-us/library/jj127437.aspx
http://msdn.microsoft.com/en-us/library/jj735264.aspx
http://msdn.microsoft.com/en-us/library/jj874401.aspx
Also sqlbi.com
 
Flagged, link only comments do not address the question. Subject to link rot, etc
 
@mmarie thanks. I can tell already that rewriting this query is going to suck
 
PragmaticWorks also has free videos in their learning center. And if you get fairly deep into DAX, daxpatterns.com is your friend
 
4:50 PM
@AaronBertrand Replication isn't friendly.
 
@mmarie lies, all lies. None of this is my friend
 
hahaha. indeed.
 
@bluefeet lol
There are two kinds of people. People who take to DAX and swim right off the bat. Usually people who are business users and it's their first language. Then there are programmers who sink like a rock.
at least from my personal experience.
 
5:12 PM
@AaronBertrand my pleasure
:-)
@AaronBertrand yup
 
That would be useful too
Ok I've removed the message
 
cool
 
I've got Paul, swasheck and JNK on speed-dial. My last message to Zane went to Wand, pretty sure he's not there anymore
 
:17293500 good one
 
RUN ON FOR A LONG TIME
 
5:18 PM
Removed messages are still visible to room owners.
 
@PaulWhite d'oh!
@StackExchange thanks!
 
I think you meant @sugeKnight
 
Oh geez did he change his name?
 
No, it's a rapper and I was just being ornery
 
@billinkc biggie biggie biggie can't you see?
 
5:21 PM
Wrong coast, fool
 
@MaxVernon all caps?
 
case insensitive collation my friend
 
@billinkc so what, now you gonna gun me down in the streets of vegas too??
 
wow it blocked seth quickly :)
 
Snitches get stitches
 
5:22 PM
@PaulWhite AI ... clearly it knows what's best for itself
 
@AaronBertrand cool.
@swasheck ok
@billinkc lololol
 
@MaxVernon does this use Access? that may explain my problems. i think i hurt its feelings a while ago
 
@swasheck funnnnnny!
Nasty little Bobby Tables.
 
same
 
@MaxVernon yeah. you are. slick willy added you.
 
5:32 PM
we just need a big black Bronco
ok I can fix that
 
Good point, let me share some isos
 
@swasheck I say good luck to 'em.
 
Right...hm ;c)
 
this is serious. we could make you delirious. you should have a healthy fear of us.
 
Wife will be delighted
Oh, did you get "Pump it up today and fill up the chicks CONCATENATEDNAME"?
 
5:39 PM
no kidding. never trust a guy whose name is "Max", i say
 
That + herbal pills?
 
from Julie
> Swasheck jPurchasepPharmzOnline ;)
seems legit
 
Nope, Prue Frampton and Janaye X.
I thought we shared a common spammer
 
actually, Caron Nadel offered the 3 inches.
This one's actually kinda catchy, from Anne-marie Eberling
> Rise from the dead, ye little head
 
poetry
 
5:42 PM
SEE!!! I've found it.
Dr MAXMAN 33!!!
 
Hey, if you're gonna be famous, may as well be a Doctor, am I right?!
 
as a joke (and stemming from a brief, comedic interlude at UG last night), i'd like to sign up DenverSQL for a snapchat and pintrest account
 
<facepalm>
0
Q: Replicating a View to a Table. Issues with schema binding, view indexing

AdamI am rather new to this. On my development server, I have 3 views that get live data from another database on a private internal server. Sample structure: DevDB --> Tables --> Views --> dbo.Customers --> Stored Procedures On my production server, those same views are set up as...

 
Sweet chimichaanga
 
weird.
 
5:55 PM
I am reminded that my image doctoring skills are subpar.
 
@billinkc thank you!
 
@billinkc cherub?
 
Corsican
Oops, self flagged
 
00:00 - 18:0018:00 - 00:00

« first day (1326 days earlier)      last day (3535 days later) »