« first day (1606 days earlier)      last day (3255 days later) » 

12:28 AM
@JackDouglas, @AndriyM added tests for the Postgres question and one more recursive query.
Loose index scan should be implemented.
 
 
5 hours later…
5:13 AM
Very nice of @Erwin to drop by:
1
A: SELECT DISTINCT on multiple columns

Erwin BrandstetterLate to the party and many good songs have already been played. But I bring some more good ones: Shortest SELECT DISTINCT n FROM observations, unnest(ARRAY[a,b,c,d]) n; However, a less verbose version of Andriy's idea is not much longer, but more elegant and faster. For many distinct / few du...

I actually hoped he would, as I was almost sure he'd bring more value to the already good material available.
 
 
2 hours later…
7:08 AM
@MaxVernon Yes the imminent (?) release of Surface 4 is one of the reasons I'm interested in Surface 3 (10% discount right now).
 
7:53 AM
heh
I've posted a question here from home, now I don't see it
 
 
4 hours later…
11:30 AM
@MaxVernon why was this tagged with mysql?
0
Q: Select MAX DATE from joined Table

SteveI have two tables, PROJECT and BILLINGS, as follows: Project_ID Project_Client ---------- ------------------ P1 ABC Company P2 DEF Company P3 GHI Company Proj_ID Bill_Date Bill_Amount ---------- ----------- ----------- P1 01-01-2013 123.45 P1 ...

It's MSSQL...sorry! — Steve 14 hours ago
Did I miss any deleted comments?
 
 
2 hours later…
1:38 PM
<crickets>
 
JNK
I'm worried about all the crickets in this chat room
 
yup, you should do something about it
 
1:53 PM
talk about karma
 
@Lamak Do you take the metro often? santiagotimes.cl/metro-meltdown-strikes-again How unreliable is it?
Hmmm... where is @billinkc when I need him?
 
2:27 PM
@mmarie does it matter? one rarely "needs" a @billinkc
 
Eh, i have an SSIS best practices question and I want his opinion. That and BIML are about all he's good for ;-)
@swasheck When do you leave for Disney World?
is it disney world or land?
 
tomorrow morning eeeeeeeeeeeeeeeeeeeeeeeeeaaaaaaaaaaaaaaaaaaaaarrrrrrrrrrrrrrrrrrrrrrrlllllllllll‌​llllllllllllllllllllyyyyyyyyyyyyyyyyyyyyy
world
 
JNK
@swasheck have fun
My Boss's boss just got back from there
 
dont tell me what to do
 
JNK
@swasheck just do what I say!
 
2:31 PM
i mean, "thanks @JNK ... since january, i've been clinging to this vacation for dear life"
 
0
Q: How to emulate transactions if you don't have access to them?

Kevin BurkePurely hypothetically speaking, of course, let's say the database client you are using does not support the BEGIN, COMMIT, or ROLLBACK instructions (or they are not thread safe, and your code must run in multiple threads), but can otherwise issue valid SQL commands. What are some techniques you...

 
JNK
@swasheck I'm going to cape cod in a month and am so friggin ready
 
@JNK where on the cape? Nicole's family has a house in Wareham (just before the bridge).
PS I blogged about tempdb this morning
 
@dezso sofa king stupid
@AaronBertrand i'm in ur blogz, readin' your wordz
 
@mmarie it's actually quite reliable, though lately they have been having some issues
 
2:37 PM
@JNK excellent
 
@swasheck how long is the vacation?
 
@Lamak one week
@AaronBertrand uhhhh 1117 being on by default ... doesnt that affect all files across all databases?
or am i misremembering again
 
@swasheck sure does
Well, only filegroups with multiple files
 
JNK
@AaronBertrand I'm in Wellfleet this year
 
I've asked internally for a way to suppress that at the database level, or make the behavior only affect tempdb. Not sure I'll get a response.
 
JNK
2:40 PM
we have been in Brewster and Eastham in years past
 
@AaronBertrand so if i have a filegroup spanning multiple disk mounts, one is capped (for space reasons) and one is on a fresh mount, what happens when 1117 tries to grow both of them?
 
Of course if you have filegroups with multiple files and they're different sizes and you only want some of them to ever grow, that's probably already enforced with either read size cap or no space available
@swasheck it only grows the ones it can
 
@AaronBertrand whew
also ... my iphone's screen is popping off. ruh roh
 
I didn't try with a full disk but I did try with setting a max size = current size and it worked no problem, only growing the file that could, and no errors or warnings.
 
cool. it is a bit of a shock watching a trace of error messages and seeing the Sev 17s roll through as a tx tries to hit the full data file.
 
2:44 PM
I added some clarity to the post.
 
ah. thanks! anyway, i think that what they're doing with tempdb is a good step. i like it a lot.
i'm as excited about 2016 as i remember being about 2014. i was all kinds of "meh" for 2012. not sure why.
 
So I've got a DBA.SE related question, I can post it to Meta if needed but I figured I bring it up here first.
 
2012 almost every feature was Enterprise only
 
@AaronBertrand Did you notice that Books Online for 2016 talks about "Multiple TempDB Databases", but then goes on to describe creating multiple files? I wonder if multiple TempDB DBs was the original plan
 
Is the a good tag for DBA.SE? It seems like it is far too broad for most questions considering we'd need RDBMS, etc as a tag with it. I saw this post and this is sort of a follow up
 
2:48 PM
@ypercube my mistake - I misread mssql as mysql. sorry about that!
 
@JamesLupolt i think contained logins does something funky with tempdb. it's like it spawns a db-specific tempdb or something. don't quote me on that ... but it's something i think i recall from a conversation with a coworker
 
JNK
@bluefeet I think it may have a place if it's about the standard. but even standard questions should probably be more specific
 
@JNK maybe a etc ?
 
@AaronBertrand that could explain it.
 
@JNK I'm asking because I poked Shog about adding the warning to DBA when someone uses the sql tag to also include rdbms (similar to SO). He asked me if is even a good use on DBA?
 
2:50 PM
@bluefeet tell Shog not to get all uppity
 
I feel like could be used on just about all the questions here. Not every single one, but pretty close.
 
which is why it's a bit broad
I'm more curious if it's something that should be discussed
I can post it on dba meta if needed
 
@bluefeet we will start getting a lot of questions tagged first mysql and then something else
 
@MaxVernon there's no room for feelings here
 
@swasheck hey - I'm Canadian.
 
2:53 PM
Do we need a [postgres-performance] tag?
 
JNK
@bluefeet generally it's not a useful tag
 
Doesn't query-performance cover it?
 
JNK
It would be like an oop tag on SO or something
 
@ypercube I don't see how that is materially different from
 
Ideally, if we could force an RDBMS tag on all questions, that might be better. This is a DBA site, so most questions must be regarding a specific database?
Although there may be some specifc instances when people are asking about the standards...
 
JNK
2:54 PM
@MarkSinkinson we don't just do relational though
 
@MaxVernon I'd say that (or postgres, query-performance). Depending if the question is about a query or the server performance
 
@JamesLupolt I'm sure it was just a typo. Multiple tempdbs is not even on the radar AFAIK (it may make more sense in the cloud than in the box).
 
i'd vote to migrate ->
 
Well I'll write up something on meta for discussion. Then people can weigh in.
 
where bro is gender-inclusive, naturally ... we're just memeing here
 
2:55 PM
@MaxVernon Yeah if it's about the standard and not about code than it shouldn't just be . Maybe to avoid version mess.
 
@AaronBertrand Good to know. Someone did tell me multiple TempDBs was a common request, but I wasn't sure if there was anyone looking at implementing it.
 
@JamesLupolt sybase has multiple tempdbs
never understood that
 
@JamesLupolt it is a common request but no plans that I'm aware of. Certainly not in SQL 2016.
 
@AaronBertrand agreed is good
 
I also agree that as an independent tag is pretty stupid.
 
2:58 PM
@AaronBertrand It's either by itself and meaning to refer to a specific RDBMS or it's in a pile of tags like , , , .
 
@swasheck nice article, the DDL bulldozer
 
thanks!
 
Now if you're excuse me I need to go find the syntax to make that actually use tags.
 
we've just migrated and, apparently, people feel the need to run their crappy cognos queries during our maintenance window
... and then complain that maintenance is running long
 
apparently we already have
 
3:00 PM
@zane [tag:name-of-tag-here]
 
Found it already.
Thanks though homie.
 
@mmarie you woke the people (or insects) up
 
@swasheck Makes sense. Our highest is 2008R2 right now so all these new wait_at_low_priority uses is pretty cool stuff
 
@MaxVernon that's even better - would almost certainly be used by someone asking if feature x will work in standard edition
 
3:01 PM
@KrisGruttemeyer we were concerned about what would happen if we killed sessions. so i did some research
 
@AaronBertrand agreed. Will work to update questions tagged with ->
 
@MaxVernon oh yeah. you're the
 
@swasheck Very nice, article was easy to read and understand. Being from upstate NY, I need all the help I can get. :)
 
@swasheck lol.... just because I've edited a couple thousand posts doesn't mean you can call me nasty names!
 
@MaxVernon we can add a synonym (or some of us could).
 
3:03 PM
@ypercube good point
 
@MaxVernon indeed
 
@MaxVernon Done. 0 questions tagged
 
@KrisGruttemeyer thanks again.
 
I'm guessing people incorrectly tag because it's My SQL, not ?
 
0
Q: Is the [sql] tag useful for DBA.SE?

bluefeetBoth DBA.SE and Stack Overflow suffer from a similar problem, when users post sql related questions there is a tendency to solely tag the question with sql but exclude the RDBMS. This is great if they are looking for an ANSI standard answer but more times than not, they want an answer for a spe...

 
3:06 PM
How many of you are doing SQL Saturday in Denver?
 
would that make it nacho-sql?
3
 
criticize to your hearts content
 
Stupid 30 character limit!
 
@Zane I'll be doing it, but I live here.
 
"Probably not." Was the perfect answer to that question.
 
3:08 PM
@Zane just got the invitation to minny apple iss
 
Yeah, I won't be making MSP
 
@MikeFal how shocking.'
 
I know!
 
bzzzzzt
 
Bad timing. With Summit in October and possibly AWS:Reinvent, October is not a good month for me.
 
3:09 PM
Use whatever excuse you want. I still intend on taking it personally. :)
 
@ypercube ?
 
I'll tell @mmarie to buy you a beer.
 
@Zane so our plan is working as intended
 
Mark the date: I just taught Adam Machanic something
10
 
I won't be going to MSP either :-(
 
3:11 PM
@AaronBertrand gender-neutrality? "Person-Handling Parallelism"
 
@swasheck you all should be trying to be buttering me up since I still haven't decided if I want to do denver.
 
@Zane we're trying to shame you into coming here. how're we doing?
 
@AaronBertrand What did you teach him?
 
@AaronBertrand was it something about SQL Server or did he take up interest in curling?
@mmarie bummer.
 
@Zane I'm trading Melissa Coates. I will go to Charlotte if she comes to KC. I don't really want to do 3 sql saturdays in a month
 
3:15 PM
@AaronBertrand how to hit the "button"?
 
@MikeFal that 1117 grows all files in a filegroup, not in a database
 
BOOM!
 
@mmarie are you going to denver?
 
for questions such as this one, that are clearly off-topic, should we tag it and remove all the other tags?
1
Q: Dealing with Difficult DBAs

AnonymousAt one point, test database deployments within my department were handled directly by the database developers. The typical process was that the developer would unit test their changes in the development environment, then: 1) Migrate their changes to the test environment. 2) Send an email to the...

 
@AaronBertrand Ah
 
3:17 PM
@Zane yes. she is. @mmarie is practically a denver citizen
 
It's clearly "off topic" since "difficult" and "dba" are unpossible in the same sentence.
 
@Zane Planning on it
I believe that is the weekend after Dev Connections so i'll have to go from Las Vegas to Denver, then home
 
@mmarie and I will be partying it up in Vegas.
\m/
 
@mmarie what happens in vegas stays in denver
 
:-)
I can't promise how sober/hung over I will be when I get to Denver, but I can commit to being there
 
3:21 PM
@mmarie that's how i present so you'd be in (good?) company
 
oh be quiet master DB
 
MASTER! MASTER! FEAR MEEEEE!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
@swasheck I've yet to attend/speak at a sql saturday without some form of hangover :)
 
Kin
sorry for my ignorance .. but who is Master Database ? Never seen in the chat room
 
It's the all-knowing, all-powerful SQL overlord
 
3:33 PM
@Kin it is Stack Exchange
 
@Kin it's a feed
 
Kin
@MaxVernon ok .. real person or just a robot ?
 
@Kin roboto
 
Kin
ok .. good to know
 
DOMO ARIGATO
 
3:54 PM
Is Bill doing SQL Sat Denver?
 
I think Bill usually has a conflict for our SQL Saturday.
 
@MikeFal yes. internal conflicts
as it should
 
4:11 PM
@MikeFal I'm pretty sure he has been the last couple of years.
 
@MaxVernon you're hilarious
 
@swasheck more like incredibly amazing, no?
 
no
 
maybe I'm a bit stupid, or just missing some little detail. What is the point of closing questions if they don't get deleted? See this question, for instance:
10
Q: SQL Server equivalent to functionality of Oracle RAC?

SqlRyanI did some Googling and couldn't find an answer to this question more recent than a few years ago, so I thought I'd ask. Oracle's RAC feature offers load-balancing for both read and write transactions, as well as scale-out and high-availability without downtime (at least, as I understand it - we'...

its been closed for ages, and yet it is still here, collecting views.
 
@MaxVernon the point is for it to not get any more answers
there are questions that aren't necessarily bad, but can attract a lot of carppy answers
 
4:23 PM
@Lamak sure, but why? If a question is not relevant to the site for whatever reason, we close it. Surely that should mean it goes away
@Lamak and those questions should be protected
 
@MaxVernon or a duplicated question, for instance, they point to the original so it's still good that it doesn't go away
 
@Lamak ok, I can see that. but "Closed as off-topic -> Shopping list question" should not stay, surely??? The reason we close it is so we don't have out-of-date carp on the site, no?
I guess I'm not going to VtC any shopping list questions 'cuz, why?
why waste my effort, I mean.
either that or I'm going to go and hit "delete" for all the "shopping-list" questions.
unless someone can show me the logic as to why they should be kept around.
and that logic should not be "pageviews"
 
I can either do KC or Denver I haven't decided which to do yet
 
i apologize to response the question. — Matha 33 mins ago
I have no idea what this person is saying with their comments
 
4:40 PM
@MaxVernon because they need to be closed before they can be deleted
 
@Lamak ok
 
I don't really remember the conditions for an "auto delete", but @bluefeet can surely tell us ;-)
 
@billinkc pure jibberish.
 
ain't got time for no jibbajabba
 
5:01 PM
Yikes a round trip flight to Denver for SQL Saturday is only 260 bucks.
 
5:25 PM
Oh snap. Time to open BIDS
I was foolishly hoping to be done with that.
 
5:40 PM
@AaronBertrand loved this sentence in your sql tips article on injection: "anything that can be specified by a user can be used against you"
 
6:05 PM
Was just troubleshooting a problem caused by trying to use MARS to run 200 queries concurrently over a single session
Lots of ASYNC_NETWORK_IO waits there : (
 
6:15 PM
I've made a fatal mistake.
I meant to crab potato salad and wasn't looking and grabbed the crab salad next to it.... How did I possibly mess this up.
 
@Zane Fail
 
lolz
 
6:31 PM
eh?
wohoo! somehow people keep randomly upvoting my crap
i've finally hit 5k and can deny all wiki edit requests
 
@swasheck congrats!
and I'm pretty sure it's neither "crap" nor "random", by the way.
 
flag and terminate this
0
A: Live monitoring SQL statements on SQL Server

tomdick Send this command to the server: set global general_log=1; Find the log file (the default on Win7 it resides in C:\ProgramData\MySQL\MySQL Server 5.1\data) and has a name just like the computer. Examine the log :) Set the general_log back to 0 to return the DB server performance back to norm...

0
Q: How can I find which tables causing database growth?

kashifHow I can check which tables causing growth during six months time in SQL SERVER 2008?

> magic
 
6:46 PM
@swasheck just what I was thinking
 
it's nice to be validated
 
Oh if Aaron answered I probably should just remove mine.
 
@MaxVernon all of your upvotes on my stuff are going to be rolled back in the morning
 
@swasheck you let me know if they are. I don't think they will be.
 
@MaxVernon i'm going to be out of town so methinks i wont care
:D
 
6:54 PM
@swasheck lol excellent!
 
Just set it once. And don't spend a lot of time on this, either. Every little bit helps, but if we draw an analogy from sports, the extra efficiency you get here is often going to be similar to the reduction in drag a swimmer gets by shaving their knuckles right before a meet. There are many other things you can spend your time optimizing that will be more like removing the 20kg weights attached to their ankles. — Aaron Bertrand ♦ 21 secs ago
 
@AaronBertrand i swam competitively in high school. i never once shaved my knuckles. perhaps that's why i never got a scholarship. — swasheck 10 secs ago
@Zane have a cronyistic upvote nonetheless
 
@AaronBertrand + 1,000,000 for "shaving their knuckles"
 
holy crap. connect responded within, like, 3 seconds!!!!!
 
can someone create a tag synonym for -> ? mmmkaythanks!
@AaronBertrand +1 all day long!
 
Voted.
 
Thanks all!
 
would clicking the i can too be gratuitous at this point?
 
7:31 PM
I don't even know why that's there - it's a suggestion, not a bug. More from the "we didn't really think this through" department.
 
@AaronBertrand I read your blog post on 2016 and tempdb. It's nice to see those TF behaviors enabled, but weaksauce for multiple tempdb files. I had hoped for more.
 
Click on the link right next to "ADVANCE SEARCH" (yet another "who tested this?" awesomeness)
 
yeah. i found it. i was just dum
 
Upvoted, btw
 
i'm so relieved that blatter won the fifa presidency. i was beginning to fear that there would be a change in the status quo
 
7:35 PM
Soccer, no one cares.
2
 
i care
i'm someone. that's what my mommy said, at least
 
Your mommy is a liar
 
isnt that the truth
 
@AaronBertrand done
@MikeFal agreed
 
poopyheads
 
7:43 PM
I replied to someone on twitter who said "why does America care? You don't see Scotland yard investigating corruption in basketball."
 
@AaronBertrand try clicking on advanced search. It's like a 50 second load time.
 
While I don't care personally, I can understand how a country would be pissed off if they bid to host the event and it was given to someone who gives better handjobs
 
@AaronBertrand Especially if it's a place where you can't even play soccer.
Looking at you Quatar.
 
@Zane what do you mean? 120 degrees doesn't make those wussies fall over like they've been shot any more than they do now
 
@AaronBertrand and if the organization is laundering money in your country without giving you the appropriate cut
 
7:45 PM
@AaronBertrand that would be like holding the Winter Olympics in the most temperate spot in Russia.
Oh wait.
 
putin's in charge. fear not. he's got this.
 
You could try placing your hand on your chin and glancing upwards and say in your head "I wonder what my database was like back then" in the hopes of triggering a flashback. — Zane 10 secs ago
@MaxVernon I don't have the rep.
I clearly know nothing of synonyms.
 
HEH?????
> I have a T-SQL agent job that I've created that adds steps to itself depending on a query of the MSDB database.
 
@swasheck ahhh, but can it take steps away from itself???
 
7:50 PM
0
Q: SQL Server Agent Job, Access Denied

SnowburntI have a T-SQL agent job that I've created that adds steps to itself depending on a query of the MSDB database. I am able to run the query outside of the agent, inside a query editor window, but when I try to run the query as a job I get the following errors: Executed as user: [user with sys...

that's a ... new ... pattern for me
 
Wha.... sounds more like Skynet to me
 
@MikeFal hey ... you around?
 
8:09 PM
I know what happens when a cluster fails over. I'm asking you what happens with your services when you manually fail over. Does everything start working as expected? Or do you run into this problem no matter which node SQL Server is trying to use? — Aaron Bertrand ♦ 17 secs ago
Trying to figure out if he copied his response from a really bad training manual or really thinks I was asking how failover works
HEY WAIT A SECOND
HOLY CRAP
@bluefeet, CONGRATS!!!
 
heh
 
Just catching the news about joining SE, been rather absent stretching back to before SQLintersection
 
i'll say
 
Also curious why the OP above felt the need to point out that "light weight pooling" is set to FALSE...
Wonder what that has to do with the price of eggs
 
just to make sure it is thread safe
 
8:13 PM
@AaronBertrand that truly made me not want to even ask what his symptoms were
 
Is it in apartment mode? Maybe he should tell us if SQL Server us using fiber mode or if the cluster has a Q in the name
 
@AaronBertrand I personally want to know if the server is pink.
 
@AaronBertrand haha thanks.
 
Sounds like he frankensteined his cluster together and has no idea how he even got it working in the first place. This is why my very first question was "who set up your cluster?"
 
@AaronBertrand I would suspect it doesn't validate.
 
8:15 PM
@AaronBertrand I got the news the day of SQL After Dark, so trying to sneak in was not as important as celebrating. :)
 
@bluefeet totally understood
That was a fun event too, though, to be sure
 
@AaronBertrand i'm more curious as to what OP's transaction isolation level is, though.
 
@AaronBertrand I'm sure it was. I honestly didn't even know it was in town until a few days before it started.
 
WON'T SOMEBODY THINK ABOUT THAT OP'S ARITHABORT SETTING????
 
after I edited the tags, I was going to try to edit the question wording, but for the life of me I cannot make it out.
 
8:21 PM
Fail on multiple levels
RT @heigesr2: View from my hotel room in NYC. #sqlpass #sqlsatnyc #sqlsat380
You're RTing yourself and there is still no picture
 
ok, I lied. I edited it. Hopefully, I'm not wrong.
@AaronBertrand RT -> ruhtarding?
 
@AaronBertrand biting my tongue because i know it's not a reflection of intelligence.
 
It's just as well the picture wasn't attached. He had the camera pointing the wrong way so it's just a hotel room selfie.
 
@PaulWhite lol
 
@PaulWhite if you're going to take a selfie from a sql event, make sure there's a black eye involved, AMIRITE????
 
8:24 PM
You are rite.
 
last comment on this post ...
Robert Pearl
 
0
Q: Can suggested tag synonyms be added to the "Review" queue?

Max VernonIt would be great if the suggested tag synonyms page: http://dba.stackexchange.com/tags/synonyms?filter=suggested&tab=newest Where displayed in the standard "Review" queue: http://dba.stackexchange.com/review This would encourage users with enough rep to actually up or down vote tag synonyms.

 
... that guy worked here temporarily
 
8:41 PM
hmmmm -> "There's a few that are TEXT types, but could fit easily within a varchar(max)."
I guess, by definition, huh?
 

« first day (1606 days earlier)      last day (3255 days later) »