« first day (1371 days earlier)      last day (3498 days later) » 
06:00 - 20:0020:00 - 00:00

8:00 PM
I suspect they've scrapped the promo codes
 
ok. I wasn't super hopeful!
 
Along with Technet Subscriptions
The MCM
Etc
 
Someone in Redmond: "Wait, a discount means we'll get less money, right?! Can it!!!"
 
no doubt, lol
 
Looks like you can get an Action Pack subscription for $475 if you're an MS partner: mspartner.microsoft.com/en/us/pages/membership/…
 
8:02 PM
@James action pack?
 
@swasheck SQL Server with Karate Chop Action, Visual Studio that changes color in warm water, and PowerPivot now with real launching missiles.
 
@swasheck Basically they give you licenses for MS products for 'internal use' and dev/test. The name is from when they used to mail you a binder full of the physical CDs.
 
@Zane sign me up
 
It looks like it doesn't include Enterprise Edition of anything anymore.
 
so it's essentially overpriced
 
8:07 PM
yeah
 
JNK
@Zane Lock Escalation with the KUNG FU GRIP
 
hah
 
i'm just going to install the free hyper-v server with sql express and move on
check this out. look at the refi estimate
 
@JNK I wish I knew photoshop. I would love to run with this.
 
JNK
we could do all sorts of toy/database crossovers
 
8:10 PM
@MaxVernon Familiar with BizSpark? www.microsoft.com/bizspark
 
JNK
Stretch Armstrong and the database auto-expansion
 
Remember kids, look it up first in Books On Line because knowing is half the battle
 
user image
2
 
@MikeFal Ha!
 
Personally, I tend to get most of my solutions out of blue lasers
But that's just anecdotal
 
8:13 PM
@billinkc What happens if my start up fails before the 3 years of free software.
 
Then you clearly failed VC 101
 
I have insufficient experience
No, the identity column is not the partitioning key. Your approach is what I would do absent any input from more experienced engineers. If I get no responses, I'll try it and post whether it worked or not. — David Mercer 1 min ago
 
Are you experienced? Have you ever been experienced?
 
I'm a big fan of experiences
 
JNK
@AaronBertrand I take that to mean more experienced than HIM not than YOU
but it's ambiguously worded
 
8:16 PM
@Zane Speaking of video games are you a fan of Dynasty Warriors and/or Chinese martial arts films?
 
@JNK yeah I can see that possibility (now) but it doesn't strike me that way even after re-reading armed with your comment
 
@DavidMercer You're right. A SQL Server MVP is not an experienced individual. — Kermit 11 secs ago
 
My friend had dynasty warriors 2 and I enjoyed it and I definitely can get behind a good Kung Fu movie.
 
@billinkc thanks Bill. Will check it out.
 
JNK
The Aaron Bertrand Experience sounds like a pretty wild album
 
8:18 PM
Good movie I watched last week end: Red Cliff. Directed by John Woo, based on a historical Chinese battle around 230 AD. It's like watching live action Dynasty Warriors.
 
JNK
With the hits "Hey, Jeff"
2
"Cross-tab queries"
2
 
"Shorthand traffic"
puh-feffer
0
Q: Why is SSRS 2012 date picker now showing the calendar in Internet Explorer and not showing at all in Chrome?

b0fhI have some ASP.NET code that has an SSRS report control on page. The web application is hosted on a different server than where SSRS is hosted. The problem I'm having is when I pull up the report in Internet Explorer the date picker control is not showing the calendar and if I try to pull up the...

 
best part of that question:
> Wayne E. Pfeffer
 
@Kermit They give those away to anyone now a days
 
@AaronBertrand only 46,700 results on Google with "Aaron Bertrand" - must be some nobody ;-)
 
8:21 PM
Technically I don't think he's the dude who came up on IMDB
 
@Zane lol
 
@Zane When he was young and a struggling artist post college, he might have done some films he wasn't proud of
 
JNK
@AaronBertrand Can @PaulWhite do a guest query-optimizer solo on your album for the track "Kiwi Chile"?
 
@JNK f*cking brilliant!
 
JNK
> I stand up next to table spool...and I chop it down, with the edge of my hand.
Sorry I'm feeling silly this afternoon
 
8:25 PM
@JNK frickin' hendrix
@AaronBertrand dude needs to get hammered by the community, given his username
 
wut?
If you execute the view it should stay cached in memory, if it is too big try creating a (temp?) table. — JLampon 1 min ago
I don't even know where to start
I am just saying create the results table once for all possible results and when you do the query you can use the parameters without the joins. — JLampon 1 min ago
 
I don't follow what the hell he's saying.
I know I've seen that before but I still just spit all over my keyboard.
 
Sorry about that
 
It's sooo funny.
 
@AaronBertrand I love how you just can't get enough of SO
thanks for the entertainment
 
8:36 PM
New code of conduct
84
Q: Proposed new code of conduct for all Stack Exchange sites

LauraWe don't spend too much time talking about our code of conduct; the rules are few and fairly straightforward, and most people abide by them, most of the time. But some of these guidelines, while obvious to our core community, are often unknown to or misinterpreted by newcomers. One of the oldes...

 
Is it bad that I'm reviewing a new book and my first thought is "none of the code samples use semi-colons!!!"
 
(and it's no longer "proposed", it's already live
 
Where in the sys tables would I go to find what DB's I have access to?
 
The main problem I see with any of these efforts is trying to force people to read them, never mind hope that they understand them or care enough to actually abide by them. I know users with six-figure rep that either don't know 90% of that text or refuse to demonstrate that they do. — Aaron Bertrand 7 secs ago
 
@Zane huh?
 
8:40 PM
I'm not saying don't do them, I just don't want people to have some high expectations that making better FAQ/help content is magically going to fix the site. Newbies are going to continue to be demanding and sensitive, and experienced users are still going to tell them to RTFM. — Aaron Bertrand 9 secs ago
 
@swasheck is there a spot I can go to query what Databases I have access to query?
 
2
A: Query all Databases a User has Access to as Administrator

Aaron BertrandWell this might be a start, probably not the nice output you'd hope for (and it produces two resultsets): EXEC sp_helplogins N'floob'; But it does work on SQL Server 2000. If you want to try and replicate some of the functionality in the procedure, you can see how it's checking for permissions...

wait. no. nevermind
bahahaahahah
 
EXECUTE AS login = 'foo';
GO
SELECT name FROM sys.databases WHERE HAS_DBACCESS(name) = 1;
GO
REVERT;
 
@AaronBertrand Nice.
I was looking to improve my for Each DB query to avoid DB's I can't query.
 
@Zane ... @AaronBertrand has a good foreachdb query
just sayin'
 
8:50 PM
Where do you think the root of mine comes from.
 
@bluefeet I flagged this, seems poor form to post an actual exam question, even though they're not explicitly asking for a brain-dump
0
Q: What is a batch process?

gotqnI am looking though some tests about T-SQL querying for SQL Server 2012. I have the following question with the correct answer colored in green: My question is why answer A. Inline user-defined function cannot be the answer here as it can filter the result set based on supplie parameters and c...

It is a really terrible question, though (the exam question, I mean)
 
9:35 PM
@ypercube Can I ask you something if you're still around? It might be a good question for dba.se but I'm not sure if it's on-topic or answerable.
 
Sure.
 
@ypercube I'm curious whether there is an equation or mathematical model that describes how many bins are needed to create a histogram that describes a distribution accurately.
Or one that, given a number of bins, states how accurately a distribution can be described with that number of bins.
 
Words cannot express how happy I am not to be asked that question
 
It's related to the maximum number of steps/bins for a statistic in SQL Server being limited to 200. I'm thinking about trying to find a way to check whether a table can be described well with a maximum of 200 bins.
Because it really sucks when the statistics are wrong no matter how up to date they are, and you can't get some queries to use filtered stats. :/
 
This is probably a good question for the math site or a statistics site (do we have one?)
I guess it depends on how normal the distribution is.
 
9:46 PM
@ypercube I think there are both -- I'll try to write up a version of the question tomorrow and see if they laugh at me and close it : )
But thanks for thinking about it
 
@billinkc Thanks!
It sounds like that's the name for what I need to read about
The bin-packing problem
 
In the bin packing problem, objects of different volumes must be packed into a finite number of bins or containers each of volume V in a way that minimizes the number of bins used. In computational complexity theory, it is a combinatorial NP-hard problem. There are many variations of this problem, such as 2D packing, linear packing, packing by weight, packing by cost, and so on. They have many applications, such as filling up containers, loading trucks with weight capacity constraints, creating file backups in media and technology mapping in Field-programmable gate array semiconductor chip design...
Just guessing, math was what I referred to as my GPA killer
0
Q: Find the optimum number of non uniform bins

accR - Problem: to find the optimum number of non-uniform bins to show a range of data points. I have a bunch of data points (let us assume different prices of different mobiles). I need to categorize these mobile phones into some categories (based on the price). The bin size (in this example refer...

 
James, It probably has to do with the volume of the data. If for example, a datetime column spans over tens of years, every one of the 200 bins will span months. If the query has a condition for a very short period, the statistics will only be guessing on the number of rows that match.
It could be all the data are in midday or midnight or the first day of months - and not equi-distributed inside a bin.
 
@ypercube Yes, that's the type of situation where I run into problems with stats: lots of distinct values (often datetime or datetime + something else) with widely varying counts.
I'm not really sure if there is much of a practical application as a DBA to what I'm asking. I think it might be useful to have a shortcut to being able to say the data just can't be described well in 200 steps.
If nothing else, because then you know it's time to look past the wrong estimates (assuming filtered stats aren't an option) and focus on something else.
 
10:01 PM
@ypercube Hm, sorry to cut in on your conversation but would that mean that querying a fairly large table (some data archive, for instance) for a couple of years' worth of data might potentially result in a more efficient QP (relative to the number of rows returned) than querying for a week interval?
 
@AndriyM I guess it could. If the optimizer expects hundreds of rows it may choose a different plan than for a few rows (assuming it's not a simple query but has some more joins or other complications). Then, if the actual rows are very few, we could have that the plan is not optimal, right?
 
10:20 PM
@ypercube And vice versa. In SQL Server plans that underestimate rows tend to be biased toward choosing operators like the nested loop join that don't perform well (compared to other join operators) on huge numbers of rows.
 
 
1 hour later…
11:38 PM
@ypercube @James Thanks, something for me to reflect on after a good sleep.
 
06:00 - 20:0020:00 - 00:00

« first day (1371 days earlier)      last day (3498 days later) »