« first day (660 days earlier)      last day (4199 days later) » 

12:48 AM
@jcolebrand Let's have it
 
@RichardTheKiwi I have a script that does a backup on each db in the instance, except the 4 core. That's easily found on a google search. What's an easy way to restore all those files, or generate a restore script? I manually made one and generated it and have it in my source editor, but I don't know how to gen one
 
@jcolebrand and why wouldn't you post that as a question on SO/dba.se?
 
1:04 AM
Because idk how to phrase it appropriately and it may be "no, you can't really script that"
 
1:25 AM
I'm sure it can be scripted and even have some ideas, but haven't got the inclination to do it now. Especially with no rep on offer.. haha
 
1:40 AM
haha
 
@AaronBertrand You got me curious, what/how do/will you prepare, if I were intending to commit to doing so?
 
2:01 AM
Mentally prepare, I assume
 
@RichardTheKiwi I still think you've missed my point, and I'm sorry if you didn't like the phrasing of my comment. I'm not sure how else to help you.
@RichardTheKiwi a one-line query means a simple query, not necessarily literally on exactly one line - though in this case, an update, it probably would be one line. But I'll be careful to use more literal and simpler phrases for you in the future.
@SQLkiwi I guess New Zealand has all sorts too, huh?
 
@AaronBertrand You have.. umm.. a sense of humour of some brand, it seems.
 
@AaronBertrand More than most, I'd say ;c)
 
@RichardTheKiwi not laughing, or trying to be funny. The nit-picking is a little much (same with your recent harassing of Joel Coehoorn (sp?)).
Not sure why people go out of their way to pick at people.
But don't expect to not get a little flack when you do.
 
@AaronBertrand "harassing"? And picking on you? You need to lighten up. I haven't got time to harass you
Sorry it came across that way
 
2:10 AM
So why call me out in here about a phrase you didn't get?
And why tell someone you're tempted to flag their answer as not an answer? If it's not an answer, flag it. If you don't like the quality, down-vote it. Just saying you don't like the answer is not very friendly.
 
If words are not to be taken literally* (on a technical forum), especially around an i18n site, how should they be taken? Some users struggle to even communicate clearly in English, let alone master the skills of reading between the lines or deducing higher-level meanings.
* most of the time
 
Once again, did my comments above not lay out exactly why I said what I said?
It's a simple update that could be written on one line. I didn't tell anyone they had to write it on one-line.
I also didn't say you were harassing me, and picking on is not the same as picking at. If you want to nit pick for being literal, then right back at you.
And we wonder why people abandon sites like StackOverflow.
 
@AaronBertrand So you're in the camp of "silent downvoting"? I prefer to let them know why, when I hit them. If I came across an older answer, I would have flagged it. But the answer was young and could be evolving, so I left a comment instead.
 
It's just that the wording reeks of attitude.
And yes I am in the camp of silent down-voting. You know why? Because there are more immature idiots on this site who thrive on vengeful behavior than there are people who appreciate constructive criticism.
I didn't feel that way for a long time but now I see exactly why if that were my answer I would have appreciated a down-vote more than your "I'm tempted to show you up" comment.
 
@AaronBertrand Fine. I can see that we don't see eye to eye. "And we wonder why people abandon sites like StackOverflow." and "abstaining from answering on SO" sounds a lot like attitude to me too.
@AaronBertrand "I'm tempted to show you up" comment." Don't know how you arrived at that, but ok.
 
2:18 AM
Everyone has attitude. It's whether we thrust it at other people, or intentionally avoid doing so, that differentiates us.
I think generally I'm a pretty good citizen on these sites. Didn't appreciate the nit-picking, whether you got my drift or not, that's all.
Thank goodness I'm going on f*ing vacation tomorrow.
Ciao.
 
 
3 hours later…
5:34 AM
Is there a quick way to draw tables on this site? I see ASCII tables a fair bit, but I'm not sure if the people that draw them do it manually or not...?
 
 
3 hours later…
8:15 AM
Hello - I have a question about a Powershell script executing within SQL Agent. Can I ask that here?
 
gbn
@Barry sure
we have some guys here (@JNK at least IIRC) who use Powershell for SQL stuff
 
8:44 AM
Sweet, I'll get it sorted.
Thanks
 
8:56 AM
@SQLkiwi I do it manually
 
9:25 AM
@dezso Really? Oh. Thanks!
 
@RichardTheKiwi, @AaronBertrand, I don't really want to wade into your discussion as I might just as easily make things worse as better. For the record though, Richard, we appreciate your contributions on the site and in the chat room. Aaron can be oversensitive, and may or may not be currently sleep-deprived, and in this case I think he is being oversensitive, certainly not giving your comment that started this the benefit of the doubt.
On the other hand, Aaron is a great guy (who I've met personally), and talks a huge amount of sense–a tremendous asset to dba.se, and generous with his time and effort in many ways. We like him, and if that sometimes means putting up with him in minor, forgivable ways, so be it. I think you have conducted yourself in the discussion here with dignity and decorum.
We will never build a community here of people who think and communicate in exactly the same way, because no two people do that, but we can all get along despite that if we are willing to be occasionally forgiving.
Perhaps both of you would prefer if I minded my own business and kept my thoughts to myself–if that's the case I hope you'll forgive me and move on ;-)
 
@SQLkiwi: Are you referring to the outputs of SELECT? Or table design in ASCII?
 
@ypercube ASCII table design as in @MartinSmith's fine efforts here:
8
A: Why does DELETE leave a lingering effect on performance?

Martin SmithI found a similar pattern in my tests as well with typical results below. +--------+--------+---------+-------------------+ | @table | #table | ##table | [permanent_table] | +--------+--------+---------+-------------------+ | 2670 | 2683 | 9603 | 9703 | | 6823 | 6840 | ...

 
@JackDouglas Oh now that is awesome. Thanks so much; can't wait for my next answer that requires a table now :)
I admit I was hoping for something native to the site (some code or key combination I hadn't yet come across) but that is a great alternative.
 
9:41 AM
@SQLkiwi Jake has promised to add something similar to SQL Fiddle to you can cut'n'paste markdown straight from there to dba.se–I'm looking forward to that
 
9:53 AM
@JackDouglas Great stuff! btw, what's the difference between black star and yellow?
 
black star: other(s) voted (starred the comment)
yellow: you are one of the voters (starrers)
 
@ypercube Ah ok, thanks. Must have been timing. I clicked, it turned black, clicked again and again, and I saw it toggle black, yellow... you get the picture
 
if you click again it unstars it. should also update the count each time you star/unstar it, though
 
does this make sense (with regard to the Q): dba.stackexchange.com/a/27573/6219
 
10:28 AM
whoever named these tables and schemas is an idiot
1
Q: can anyone please help me understand this query?

user1643087Can anyone help me understand this query? The mktpgmvhclxref.mktpgmvhclxrefId.mktgPgm part mostly. Generally it is table_name.columnName but here the format seems to be different SELECT mktpgmvhclxref.mktpgmvhclxrefid.mktgpgm, mktpgm.mktgpgm, mktpgmvhclxref.cmpgn, campai...

 
Who woke up on the wrong side of the bed?
These names fit into the 20 or so character limit which existed, oh, not so many years ago
 
how many?
 
@RichardTheKiwi The fact they're 20 characters doesn't change the fact they're horrible names :)
Also, when you say not so many years ago do you mean SQL Server 6.5?
(Also I'm reasonably sure the restriction was some odd number like 29 rather than 20)
 
PostgreSQL, 10 years ago [31], Oracle, even more recent stackoverflow.com/questions/1378133/…
 
and there is no excuse for not using aliases in queries
 
10:37 AM
0
A: What is the Maximum Merge Articles in Merge Replication

Stephanie WilliamsYou don't have to break it up into multiple databases, so your foreign keys would be fine. We have run multiple publications for years, putting our lookup tables into one, and our transactional tables into another.

In the review queue for first posts by a new user
The 'answer' is no more than a response to a previous answer
But users < 50 can't comment, so should it be left as-is?
 
@bluefeet I lost a bit of faith for a while on that question, with people up-voting the two answers before one of them read my comment.
 
@SQLkiwi: You can flag it as a "not an answer" and then a mod can turn it into a comment.
 
@ypercube That's what I did, just not sure it was the 'right' thing to do. Seems it was, so thank you.
 
@RichardTheKiwi its SO, I lose faith everyday
 
 
2 hours later…
12:33 PM
1
Q: Sql server union - side by side?

Royi NamirI created this sql DEMO : I have #tbl1 : ___cola__ 1 2 3 4 and #tbl2 : _colb_ a b c d I want this : _colb____|__cola____ a 1 b 2 c 3 d 4 I have found a solution ( bad IMHO) SELECT table1.cola, table2.colb FROM (SELEC...

 
 
3 hours later…
3:14 PM
Christ, there are some wankers on here today. Think I'm going to get my 100 days consecutive badge and not come back. The other days nonsense pissed me off enough as it is
 
@Phil certain users?
or just all of them?
 
 
1 hour later…
4:25 PM
Apparently there is no delicate way of telling a PM, "the OTC software that you chose sucks."
 
i love the upvote/accept older answers that are dups
 
@swasheck it's a pride issue! :)
 
@swasheck nope you just tell them
 
Any data modellers here? If you're modeling a relationship, is there a convention that the parent table goes to the right of the child? Basically reading right-to-left, top-to-bottom..
 
Me: "I think that {{ in-house developer }} should run the tests because of the constantly demonstrated incompetence of the vendor support team"
PM: "Let's leave out the editorial comments."
Me: "I wasn't editorializing, I was justifying my position."
 
4:29 PM
@DTest On a diagram?
 
@ConcernedOfTunbridgeWells yeah
 
@DTest If you can. Once the diagram gets beyond a trivial complexity you can't always do it.
David Hay would say to always do it.
 
ok... My tool has an 'autolayout' functionality and it kept putting the parent to the top right and I was wondering why (while manually moving it to the left :) )
 
@swasheck You are like a diplomat
 
i'll stop doing that
 
4:31 PM
@Lamak a very poor diplomat
 
yeah that is pretty poor :P
 
5:14 PM
@swasheck Not a comment, a statement of observed behaviour.
 
@ConcernedOfTunbridgeWells fair enough
 
 
1 hour later…
6:43 PM
@Phil I've seen a comment in answer to you and flagged it
too bad he's Hungarian like me - I would not dare to be rude after just two weeks on a site
(or after two years)
 
7:25 PM
Who the heck voted down Mr. Denny? It was a legit answer. Voting back up. — SQL-Learner 4 mins ago
haha
 
@dezso that's not an answer
 
I think so
 
@swasheck I think that it tries to answer the question, but is not a good answer. And I can't vote to close as not an answer even if I'd wanted to
 
@Lamak knowing the answerer, i dont really think that it "tries" too hard.
he's better than that
 
@swasheck yeap, I know what you mean. I've seen his previous answers. And his current answer appears to attract upvotes anyway
 
7:31 PM
@Lamak I'm baffled at that
 
That his current answer is so incomplete?, or that it got at least 2 upvotes anyway?.
 
the upvotes
I sort of expect the incompleteness
but I expect more the second part :)
 
ah
 
@dezso Yeah, no idea why it got those upvotes.
 
8:06 PM
hooray for heroku
and by hooray, i mean ¯(°_o)/¯
 
@swasheck you are very good at abusing characters :)
mrdenny at +3/-3
 
JNK
its basically a comment
 
@dezso "Look of Disapproval" Chrome extension
@JNK it is ... but can't really flag for moderator, now could we?
 
JNK
yeah you can
flag it ill convert it
 
@JNK flaggded
 
JNK
8:12 PM
moderators are not perfect
 
@JNK 'course not
 
@JNK with a few well known exceptions
 
JNK
ok converted
 
tah dah
 
JNK
now im not being a jerk for doing it unprompted
 
8:14 PM
an interesting mod war is coming soon
 
JNK
nope
I can almost guarantee this will not be a war
 
@JNK any idea why it got those upvotes?
 
@JNK because you will win!
 
JNK
he's a well known name
@bluefeet because this isn't the first time this scenario has happened
 
@JNK after 22:00 local time is bad joke time
 
JNK
8:15 PM
and I don't think he really cares that much
and if he does he can just undelete it himself
if I posted that I would hope that jcole or jack would delete it for me if you guys flagged it
@dezso got you
 
I am havening a problem with my flagging
 
JNK
understood
@swasheck You never stop being funny
 
@JNK it's a ruse ... a defense mechanism to hide my true personality
 
JNK
nobody do this but there have been people who flagged things because they liked them
 
@JNK ?
anybody mess around with Win8 yet?
 
8:20 PM
@swasheck until I hadn't clicked a flag I thought it was for favouriting
the options convinced me of the opposite :)
 
@dezso gotcha
 
8:37 PM
is @RolandoMySQLDBA around?
I have a problem like this (Error: Cannot load from mysql.proc. The table is probably corrupted): stackoverflow.com/questions/6789373/… and was wondering if running mysql_upgrade in a production system has any side effects I should consider.
 
now this
0
A: Oracle Support Tips & Tricks

cljkMy advise to save time: don´t use it or be deeply relaxed. In my eyes this tool is absolutely shiX. Service is not available for me for the most time, server are not responding, unhelfpuf error messages like "MOS service not available, watch dashboard" - but dashbord shows nothing, problems down...

 
@dezso This answer has severe formatting or content problems. This answer is unlikely to be salvageable through editing, and might need to be removed.
 
that disappeared quickly
 
yep ... someone's bringin' the thunder today
ZOMG!!!!
Aptem is is cross-functional stupid
 
well you lot flag it and then talk about it, what're supposed to do?
 
8:51 PM
@jcolebrand bring the thunder. it's like having a coordinated airstrike. we paint the target ...
 
Ack! Help dba.stackexchange.com/users/13073/richardthekiwi [rep=666] Quick somebody help and just vote (even down) one of my questions/answers.
 
@RichardTheKiwi save it for halloween?
 
@RichardTheKiwi I can ban you and push you to one?
 
@ypercube dev.mysql.com/doc/refman/5.5/en/mysql-upgrade.html it's basically going to do a CHECK TABLE mysql.proc and a REPAIR TABLE
so get a backup, and then run a REPAIR TABLE mysql.proc, IMO
 
I owe someone a beer. Let me know. (ps - thanks a lot)
 
8:56 PM
@DTest: So I better check only the mysql.proc and not the whole lot of databases, right?
 
@ypercube if it fixes the problem on the single table, yeah
 
ok, thnx
 
I still have no idea how that table gets corrupted...another SE user was saying his got corrupted often
 
i got praise and a new name from Aptem -- lucky me
wonderful answer! good job green feet! — Артём Царионов 2 mins ago
 
@RichardTheKiwi The DELETE question was legitimately interesting and it prompted Martin to launch one of his fabled test cases.
@bluefeet flagged. too chatty
but have an upvote
Aptem is actually probably Brent Ozar and he's trolling us all
 
9:11 PM
@bluefeet green feet sounds nice :-)
 
@Lamak doesn't fit me though...blue does. :)
 
@bluefeet i flagged because i thought a) it's a troll, b) don't want some holy war over colors. had nothing to do with the awesomeness of your answer
 
@ypercube are you still around ???
 
yeah
 
I was looking your question
mysql_upgrade could be intriguing for mysql.proc
mysql.proc in MySQL 5.0 has 16 columns
 
9:16 PM
But I'd rather not CHECK a few hundred tables with mysql_upgrade
 
mysql.proc in MySQL 5.5 has 20 columns
 
aha
 
mysql.proc in MySQL 5.1 has 20 columns
 
right, if he's upgrading, mysql_upgrade is the way to go
I'm assuming he just wants to repair a previously working proc table
 
Yup, because mysql.proc and mysql.user get reconstructed
Perhaps mysqldump --no-data --routines --no-create-info could help dump stored procedures as well
 
9:25 PM
2
Q: simple sql query with count

GoreI'm using SQLite. I need an help for an easy issue. Here's my three tables: -------------- problem -------------- id (primary key) question_id (foreign key) -------------- question -------------- id (primary key) answer_id (foreign key) -------------- answer -------------- id (primary key) I...

Does anyone have any other ideas? Question also: I've not come across a version of SQLite with the OP's restrictions. Have you?
 
9:50 PM
I was wondering who you guys were talking about earlier... dba.stackexchange.com/a/27647/13073 Looks like an extended comment that doesn't answer the question, and a link to SQL Injection prevention??
 
10:00 PM
@RichardTheKiwi not the one
 

« first day (660 days earlier)      last day (4199 days later) »