« first day (1094 days earlier)      last day (3774 days later) » 
06:00 - 21:0021:00 - 00:00

9:02 PM
boy, I love unupvotes and unaccepts
 
Kin
NY/NJ has extreme weather tonight and tomorrow ...
 
@bluefeet I had one earlier today that got by and large the most upvotes but I was a bit harsh on the OP so he accepted the other answer.
 
@Zane this was an answer that was accepted in nov 2013
@M.Ali IMO, it's annoying when you seek a user out to ask them to answer your question. — bluefeet 1 min ago
 
@bluefeet What's the Q?
 
-1
Q: Convert rows to columns in mysql

hearmeroarI have a few values that when the query is executed I want it be converted into columns instead of rows. So on the database it looks like this: Location | Val | East Flow | 10 | East Level | 20 | East Pressure | 30 | East MR | 40 | West Flow | 100 | West Level | 20...

 
9:11 PM
And no competing answers, and no change to the question
 
Wow that is wierd.
 
@Kin beware the wrath of HERCULES!!!!!!
 
ugh
0
Q: Optimising SQL Procedure in SQL Server 2008

PushCodeI have two table Old_Table and New_Table. My old table has 13 million records in it currently and I need to process the data in old table and dump it into new. Data will be continuously inserted into my old table. So, I wrote a stored procedure and created a sql job to run nightly and process the...

 
@bluefeet you answered Katy Perry's question!!!!???!!!1111!!!!
 
Kin
@AaronBertrand saw the question and was thinking that you will freak out .. :-)
 
9:16 PM
@swasheck ???
 
@Zane nevermind
 
@AaronBertrand Yeah that was on SO earlier today.
It either got migrated or is a double post.
 
Double post. On SO it has three answers.
 
> My procedure is taking hell lot of a time.
@AaronBertrand with the modhammer of great justics
 
he doesn't get it
@bluefeet Im sorry I mentioned your name in a pivot table once. but what I am trying to say is when a question is very similar to what you have asked a couple of days ago and it didnt get much attention whoever answer this question if you prompt this user to look at your question aswell that you asked sometime ago will I be wrong in doing so ??? — M.Ali 2 mins ago
yeah the issue is because you mentioned me in a comment
 
9:20 PM
Ugh! Pre and post ansi syntax in one garbage query.
 
If you mention pivot table 3 times while staring at an rdbms bluefeet appears
4
 
@bluefeet Ugh that guy makes me like him less every single day.
 
@Zane I don't think I can say it any clearer
@M.Ali yes it is — bluefeet 1 min ago
@billinkc did someone say pivot?
 
Only once though
 
@Zane actually i dont even see where kat and k are = to each other so that's probably going to create an awesome cartesian product
 
9:26 PM
@swasheck There is AND kat.parent_id = k.id in the WHERE clause.
 
1
A: SQL query unknown column

dasblinkenlightThis is because you are using a pre-ansi join. Here is what's going on: the list of JOINs are "connected" with the last table from the list, namely, the konta k. The konta__kategoria kat part of the non-ANSI join is not in scope in any of the ANSI joins, triggering the error that you see. You ca...

 
@ypercube hmph. i missed that. i was lulled to sleep by that massive IN
 
I wasn't thinking Cross Join was going to come into play but here we are.
 
@Zane it doesn't I just commented
 
I saw that.
 
9:29 PM
0
A: Prompting Users to a different Question in comments section of a question

Aaron BertrandIf you had only asked this: what other way I can get attention drawn to my questions ? I would have voted to close the question as a duplicate of: How do I get attention for old, unanswered questions? ...which has plenty of advice for getting attention to unanswered questions (disregard t...

 
I can't upvote that answer when it is wrong
 
@bluefeet what do you mean?
@bluefeet dasblinkenlight's?
 
@AaronBertrand yes
I don't like the cross join when it is wrong
@Zane got my upvote, but I would add an explanation about why the mixing of the joins doesn't work
 
@bluefeet I had it it was annoying me.
Other than it being silly I need to see if that will affect performance.
 
I can't believe M.Ali's meta question hasn't been down-voted into oblivion
 
9:33 PM
@AaronBertrand I can.
 
@AaronBertrand I wanted to tell him that if he wants to ping someone then he could look at their profile to see if they have public contact details.
 
@bluefeet why didnt you?
 
@swasheck eh, maybe @AaronBertrand should add that to his answer
 
@AaronBertrand don't you have an article about how people who use pre ansi 92 should be shot out of a cannon into the sun or something?
 
hahahahahahaha ... 7 of my top 10 worst-performing queries on a specific server are all found in one stored procedure written by a specific dev. do i a) help, or b) hammer?
 
first click and Community Server gave me "Oops something went wrong!

Either the site is offline or an unhandled error occurred. We apologize and have logged the error. Please try your request again or if you know who your site administrator is let them know too."
 
@AaronBertrand I like the fact that he didn't call you out in the question but certainly did in the comment on your answer
@Zane steal that checkmak
@Zane I've copied your answer and it also works, I don't know why (I've tryed inner join), maybe I made a syntax error, thank you — user2606353 1 min ago
hopefully they will accept yours
 
I was almost in tears :S — M.Ali 35 secs ago
 
@swasheck community server sucks zebra dongs. Try again.
@M.Ali Not sure how that's relevant. Your reaction (or over-reaction) to a comment is not something I can predict, control, or be responsible for. — Aaron Bertrand 1 min ago
 
@AaronBertrand oh yeah ... F5 resolved it
 
9:41 PM
So there doesn't appear to be a performance hit from using CROSS JOIN in that scenario however it does seem silly.
 
@Zane SQL Server should be smart enough to optimize that away.
 
@AaronBertrand appears it is
 
@AaronBertrand It certainly appears to be. It still looks stupid though.
 
:12953232 a magnum opus will do that for a person
 
@Zane Even MySQL can understand the equivalence.
 
9:45 PM
@M.Ali seriously, though, if you're going to call me out with such accusations that I "told you off," could you provide a reference so that other readers may judge for themselves, rather than your word vs. mine? — Aaron Bertrand 11 secs ago
 
@AaronBertrand Wait wait. Is he referring to the sexist shit he was saying about @bluefeet and how surprised he was that a woman can code?!
Then you called him out on it.
 
@Zane no, he's talking about a time where he pinged me to answer a different question, as the meta post is about
I'
m sure I wasn't overly polite about it, but I doubt any reasonable person would consider it "telling him off"
Far too lazy, though, to search through my activity for it
 
@AaronBertrand snarky maybe? :)
I mean he is one of your favorite users
 
@bluefeet but seriously ... if you have a link to the sexist post that would be excellent fodder for the conversation at hand
 
If by "maybe" you mean "absolutely" - yes
 
9:50 PM
@swasheck those comments were deleted by a SE employee
 
also ... i'd hate to see how @AaronBertrand talks about me when i'm not around :)
@bluefeet ah
 
Take it easy pal, I am not accusing you of anything what you said was right. what I did was wrong. and I did it in ignorance not knowing all the rules of SO. I have avoided doing it afterwards as much as I could. — M.Ali 24 secs ago
@swasheck with nothing but admiration and respect
 
@swasheck I had made a comment about it on twitter and it got the attention of an employee who took care of it.
 
And if not, then those comments are removed, so neener neener
 
@AaronBertrand respek
 
9:51 PM
(Moderation does have its privileges)
 
@AaronBertrand i can actually see deleted chat comments :)
 
Oh that's true, damn it
Well if you find anything, I blame LeMerk
 
that's ok. i'd be shocked if i found anything at all. i'm not quite at that place to be noteworthy :)
and i also tend to take criticism as educational opportunities
 
M.Ali could learn much from you. He assumes criticism = told off
 
For ETL, we're going to need to drop and recreate indexes. The user account that will be doing this doesn't have drop/create priv's. Anyone have a schema + drop create procs handy?
 
9:56 PM
@billinkc what about ALTER privs?
 
Oh, that might be less blecherous but no, the account will only have insert/update/delete and execute permissions
I thought of going the route of providing a table and schema as the input and just reorg the indexes based on that but then we have a few tables that have a ton of indexes for consumption post load
 
wasn't me ... any takers?
I would appreciate a comment on the -1 so we can all learn from down votes. The reply was factually correct and addressed the question directly. — Ali Razeghi 13 mins ago
@billinkc sorry. i have nothing handy
 
I can live with reorg though at least for v1
 
i was thinking DISABLE -> load -> REBUILD
 
Wasn't me either.
 
10:02 PM
whatever, smarty pant
 
@billinkc but you'd need ALTER
> To execute ALTER INDEX, at a minimum, ALTER permission on the table or view is required.
 
Was not me, but a common theory is that answering off-topic questions encourages users to keep asking off-topic questions. — Aaron Bertrand 35 secs ago
 
@swasheck But I can sell a proc that does the work and has run as priv users
 
@billinkc then get out there and start workin' it. sell it
 
Something I just noticed.
Wouldn't this be anything? AND k.dsc LIKE "%%"
 
10:06 PM
@swasheck I probably need to shave my legs first
 
Kin
What causes this ? This user has no recent positive reputation changes
inactivity ?
 
@Kin what causes what?
@Kin can you show an example?
 
Kin
Seeing this message on reputation - This user has no recent positive reputation changes. Is it due to months of inactivity ?
e.g. Ali Razeghi
 
well it's not inactivity
 
Kin
this user's profile has it .. so just wondering if it is due to inactivity
 
10:09 PM
user just has no recent positive reputation changes :) ...
 
I don't see that on their profile... but yes, it doesn't mean inactivity, just no recent up-votes. I don't know how the network defines "recent" exactly.
Probably 30 days
 
i saw it too, @Kin, but just looking at his profile again it went away
 
Kin
@AaronBertrand ok .. thanks .. was just curious .. and @swasheck yeh .. now it went away ..
 
... since he just got an upvote on the answer
 
Kin
This question is both hilarious and explains what crazy things people do dba.stackexchange.com/q/54328/8783
 
10:17 PM
@Kin nice
i clicked the connect item ... now i'm waiting the 45 seconds for it to load
 
@swasheck yeah they really did great work on that "upgrade"
cough cough
 
i dont know what it is ... data cache or a caching of the css/js ... or something ... they need a dummy script to keep it warm :)
 
@AaronBertrand Squidturkeycrab?
 
@swasheck well forcing SSL on everything for some unknown reason doesn't help
 
10:20 PM
the unholy trinity ... "rusty" "dba" "texas"
> Rusty Eulberg, a database administrator from Lubbock, Texas
@AaronBertrand well that's true, though it doesn't seem to bother Google/Facebook/Twitter all that much. however, your point is well-taken considering the Live platform is an abomination to begin with.
 
First view? 3 seconds. Second view? 23 seconds.
Test doesn't really reveal why though.
 
clicking the grades gives some insight
Use a CDN for all static assets: 2/100
bahahahahahahah
 
@swasheck It's harder to ask for database permissions when your admin has a loaded handgun strapped to his belt....
 
Yeah, but doesn't explain why repeat view took 12X longer than initial. Usually it's the other way around (or, when they've done things this stupidly, both views are even)
 
true
@Zane nah. you just have to ask nicer
 
10:28 PM
Bad edit?
0
Q: Unable to serialize the session state, was working, now isn't

Mike MarksI used to be able to edit a record, click Save, and the record updates. I had a couple jQuery datepicker's on my form - just standard MM/dd/yyyy format. SQL didn't mind updating the SQL datetime with these. Now, I added a timepicker addon (http://trentrichardson.com/examples/timepicker/). So ...

 
Doesn't fix the root cause of the problem. You can't just throw a DISTINCT in front of all your problems. — Zane 6 secs ago
Too mean? I'm starting to get annoyed that 50% of these questions has pre 92 syntax and none of the answers mention that you should stop doing that.
I have tried using a join, I litterally am spending hours now just staring at the screen I need sombody to post the code in here if possible. — user3152069 46 mins ago
/Sigh
1
Q: How to check if a sql variable is declared?

ailerifrenIn MS SQL Server. Please don't tell me to ctrl-f. I don't have access to the entire query, but I'm composing the columns that depend on whether certain variable is declared. Thanks.

What is this guy talking about?
 
"please don't tell me ctrl+f"
 
@swasheck I can't look at the query in any way shape or form but would like to know if it's using variables or not...
 
11:18 PM
what syntax is this junk?
1
A: Group by in sql

isickYou're right, you can't use the alias in the group by. But if you make your group by value... GROUP BY [Cancellation Date] is NULL DESC Then it's effectively the same thing.

 
access?
 
I suspect we'll be hearing more about this arstechnica.com/security/2014/01/…
 
@swasheck DESC in a group by
 
@bluefeet who's to say that mysql wouldnt allow it??? :)
 
06:00 - 21:0021:00 - 00:00

« first day (1094 days earlier)      last day (3774 days later) »