« first day (969 days earlier)      last day (3915 days later) » 

12:22 AM
@FreshPrinceOfSO you are so snarky
Are you really a DBA? Documentation "The server is free to choose any value from each group, so unless they are the same, the values chosen are indeterminate. "FreshPrinceOfSO 1 min ago
 
@FreshPrinceOfSO :D
 
ugh
I don't think this has anything to do with the non-standard GROUP BY semantics - whether it resulted in an error or indeterminate values, this query can never return the rows the OP wants. — IMSoP 1 min ago
they are definitely a MySQL user
 
12:38 AM
Oh no, my SO imaginary numbers are decreasing!
 
 
1 hour later…
2:01 AM
My God, I'm so glad I don't use MySQL on a regular basis. This kind of abomination would drive me over the edge. — Max Vernon 22 secs ago
 
 
2 hours later…
4:42 AM
@Gonsalu A compliment. Dima is Russian, so things get a bit weird in translation sometimes.
 
5:20 AM
@AaronBertrand Available at The Heap™ - Consultancy ©® free of charge, no guarantees.
 
 
3 hours later…
8:13 AM
@PaulWhite OK. Awesome blog post, BTW! I'm sure I'll reference it quite often in the future.
 
8:27 AM
@MaxVernon I'm not sure why that comment is on the answer and not on the question. The answer seems to advise on removing the GROUP BY clause.
 
 
2 hours later…
10:53 AM
@ChrisTravers are you free?
 
Good day folk
@ConcernedOfTunbridgeWells Take a guess how far I got with that ETL so far.
 
@MarkStorey-Smith Not very?
 
@ConcernedOfTunbridgeWells I have high hopes for tomorrow
Which is a repeating theme
 
@MarkStorey-Smith Hm. Back to work on Mon. Window of opportunity drawing to a close.
 
@ConcernedOfTunbridgeWells Renewed for another 6months?
 
11:01 AM
@MarkStorey-Smith No, I was taking a week off - slightly short of budget until a committee meeting in September and the PM needed to save a few bob, so lots of people encouraged to take leave.
 
@ConcernedOfTunbridgeWells Cooking the books, nice :)
 
@MarkStorey-Smith I think the programme manager at the next layer up made a hash of their budgeting.
I also think they don't want to get rid of me - appraently I'm on the risks register as a key man dependency. At one point the CIO was grizzling at them about having a contractor as a KMD but they don't have any perms with a background in insurance and DW design.
How the mighty have fallen - PowerVR just bought MIPS for $100M. I think they're planning to have a go at ARM.
 
11:28 AM
@Cruncher: The WHERE clause in your second query will result in no output for answers that have only upvotes or only downvotes or neither. — Andriy M 1 min ago
and the answer has been accepted for 16 hours
 
@ConcernedOfTunbridgeWells I doubt it. Imagination Technologies license their GPUs for use with ARM CPUs - Apple have a big stake in them. A U-turn to MIPS would be bonkers. Maybe they're just helping ARM kill the competition and essentially buying a patent pool
 
@Phil The CEO is trash-talking about market share, although that could still be a smokescreen for a patent trolling exercise.
MIPS hasn't moved much in the high end since the early 2000s. SGI stopped making MIPS based workstations around the mid 2000s.
 
I had a SGI Indy :) University were chucking them away, so I took one off their hands
 
@Phil I got a Sparcstation 1+ from mine that they were binning, although I never did anything much with it.
 
@ConcernedOfTunbridgeWells Some of the ones we used in labs net-booted (swapped over the network too!) and were black & white. Talk about PAIN
 
11:43 AM
I remember seeing pricing for a SGI 4D/25 ca 1990. Back then you could have bought a house for the price of the machine.
@Phil Oh, dear. That would have been slow. UOC bought all of Sun Australia's trade-ins at one point and converted them to XTerminals. That worked much better, although they also had to buy a few high spec servers.
 
WTF question of the day
1
Q: Is there a way to remove spaces from T-SQL commands and still execute them?

Weyland YutaniI am trying to execute a command but I need the spaces removed. Here's the command I want to execute, but it has two spaces: DROP TABLE Table_1 What I want to do is to convert it to a form which has no spaces. I thought I could use concatenation and the CHAR string function to produce a strin...

 
Put it this way, one of the first things I learned was export DISPLAY=a.b.c.d:0.0, along with xhost :D
 
At one point (mid 1990s) they had a couple of labs full of entry level sun workstations. Then they worked out that they could buy PCs with hardware that was actually supported by Intel Solaris for much less and the next lab had really high spec PCs with Matrox video cards and SCSI drives.
I think this makes me officially an old fart.
 
Did you see the Apple thing where the string سمَـَّوُوُحخ ̷̴̐خ ̷̴̐خ ̷̴̐خ امارتيخ ̷̴̐خ kills lots of things?
 
@Phil Shouldn't you be asking @AaronBertrand? ;-}
@Phil Reminds me of a nice feature of XEmacs - you can open windows on the same buffer from different X servers. Made quite a useful quick-and-dirty groupware app.
@Phil Anyway, how's the job hunt going?
 
12:36 PM
@ConcernedOfTunbridgeWells I am here now
what's up?
 
@ChrisTravers I have a question about bhasa localisation
 
@ConcernedOfTunbridgeWells Bhasa or Bahasa?
 
What do you need to install on a laptop set up with a European edition of W7 to type documents in bhasa?
There's a difference?
 
I think "Bhasa" means "language" in Sanscrit, and various South-East Asian languages use variations of it to refer to their languages
 
@ChrisTravers I mean Indonesian Bhasa
 
12:39 PM
Bahasa is the Malaysian/Indonesian form. I think Bhasa is a Balinese form
I spend too much time around linguists :-P
 
I've been called a cunning linguist, but I don't think that counts :)
 
Honestly for Indonesian, they use the English/Latin system.
 
No odd accented characters or anything like that?
 
nope, not in Indonesian or Malaysian
 
So EN-US localisation would be fine?
 
12:40 PM
yeah
 
Although you might need Bahasa spelling dictionaries, I guess.
 
it is annoying to type because usually sentences are longer to convey the same info
and so if you think texting shortcuts are annoying in English, they get even more annoying in Bahasa
 
Ah, so you essentially wanted us to help you with conducting SQL injection? Nice. — Andriy M 56 secs ago
 
(the language has no verb tenses, and duplicating words has a fair number of uses)
 
Do you know if you can get Bahasa spelling dictionaries for non-Indonesian editions of MS word?
 
12:42 PM
That I have no idea,
 
Might be better to get a copy of MS office locally, I suspect. The person in question is a student, but bought a laptop in Germany.
 
Probably all those copies are pirated.
(if you get it here in Indonesia)
The thing is, they can't crack down because every time they talk about it, a wave of migrations to open source solutions happens
 
@ChrisTravers XD
Oh, dear.
 
it's interesting to watch
 
Google goes back to the future with SQL F1 database - theregister.co.uk/2013/08/30/google_f1_deepdive
8
 
12:45 PM
@ChrisTravers Maybe I should suggest MikTeX. I had a lecturer that reckoned using LaTeX was worth about half a grade on average if you used it to format an assignment.
 
@ConcernedOfTunbridgeWells Yeah. And with no unicode requirements it works really well here.
but if you go there, suggest LyX as an editor
I would be surprised if you can't get multi-lingual dictionaries in MS Office as I think about it
 
@Phil love it: "We also have a lot of experience with eventual consistency systems at Google," they write in the paper. "In all such systems, we find developers spend a significant fraction of their time building extremely complex and error-prone mechanisms to cope with eventual consistency and handle data that may be out of date."
 
@JackDouglas Eventual consistency means not consistent right now, but we think we will get there someday.
I am a fan of smaller decentralized systems, loosely coupled, and all locally consistent, guaranteed.
 
@ChrisTravers If you're doing regions or branches that's absolutely the way to go.
 
@ChrisTravers It's just funny watching the NoSQL fad run it's course. Of course even NoSQL has it's uses, but is clearly isn't a replacement technology for SQL Server etc
@ChrisTravers not one big centralized database?
I mean for those who aren't Google
 
12:53 PM
@Phil dats kool
 
@JackDouglas I mean for the cases where you need distributed systems.
 
@JackDouglas do you really feel that NoSQL will be going away?
 
one big centralized db is great for most things. However, branches, disconnected operations, etc....
2
 
@FreshPrinceOfSO nope, but the fad will
NoSQL was always there
@ChrisTravers indeed
 
Makes sense
 
12:56 PM
True. NoSQL has existed from the start of CS. It had just never been named and productised before. Plenty of software used the concepts internally
3
 
Also the ideas that Martin Fowler advocates for NoSQL, namely a db encapsulated behind an API, are valid designs relating to SQL DB's with stored procedures ;-)
 
1:13 PM
Being a supervisor is hard. I'm not used to giving people so much direction constantly
 
1:24 PM
@Phil Eventual consistency is widely used in distributed directory systems such as LDAP/AD farms, NIS etc.
@EugeneM I met someone who had done that line manager work and gave it up because he couldn't relate to people with no self-motivation.
 
@ConcernedOfTunbridgeWells My thing is I'm a big picture guy and and I feel like I'm playing a game of Starcraft and I have to tell the units exactly where to move to.
 
@EugeneM Are you running a dev team?
 
Once they are there, they are fine, but if unattended they will wander eventually.
@ConcernedOfTunbridgeWells Sort of, but not exactly. I'm managing a developer and a temp worker for a large data migration project.
The temp worker is doing documentation and assisting with the training. Once the project is over he'll be moved to customer service.
 
@EugeneM I've historically dealt with this by writing spec documents.
 
@ConcernedOfTunbridgeWells I appreciate the advice.
 
1:32 PM
Or, delegating the analysis tasks and getting someone to put the spec in writing. That dramatically reduces the amount of hand holding that's needed.
@EugeneM Spolsky wrote quite a good set of articles on this about a decade ago.
 
@ConcernedOfTunbridgeWells I'm pretty sure that quote is true for everything.
 
@EugeneM Painless functional specification Part 1, Part 2, Part 3, Part 4.
 
I will read that, I definitely enjoy his writing
 
1:59 PM
@AaronBertrand think tebow will make the 53-man?
 
2:24 PM
Yeah, they've invested too much into him to cut him I think. I made fun last night after a couple of bad drives but he seems overall a decent player. How long he'll want to stay 3rd string, I don't know.
 
Where in the world is @gbn
 
@AaronBertrand I couldn't beleive the Pats picked him up. He doesn't seem to fit the mold.
 
@Zane I think I decided on pivot code!
 
Really? Cool take that compass.
 
@Zane no pivot, compass instead. Hoping to get it this weekend.
 
2:37 PM
I thought about getting a SQL tattoo that joined togather the aspects of my parents personality that I have.
 
that's a cool idea
 
The one I'm looking to get is Calvin and Hobbes related.
 
this one will be my 9th
 
Cool.
 
@FreshPrinceOfSO Malta
 
2:39 PM
I'm still leaning towards number one.
 
@Zane they can be addictive, at least for me they are
 
@bluefeet My roomate is like that. She gets one about every other year.
 
@ypercube I should probably have added my comment on the question itself, instead of the answer. Anyway, I clarified my comment just now...
 
@Zane that would be about right now me. But I have a long list so I might have to start moving a bit faster
 
Mine are all super Nerdy
 
2:46 PM
@Zane like what?
 
@bluefeet Awesome. Pics please. After getting my first I wanted a second immediately but still haven't figured out what or where (and that's been 8 years now)
 
@MaxVernon ok. I couldn't understand what had happened exactly on those comments (not yours, the whole thread in the question). And sometimes answers get edited in the 6-min window and no trace is left, except for confusing comments.
 
Also had a strong desire for a second piercing but couldn't figure out an appropriate location
 
@billinkc ha nice. Some of mine are lame because I was young and dumb but at least those are in places that are not visible.
 
I agree - I put my comment on the answer since there were way tooo many comments on the question already!
 
2:49 PM
@MaxVernon And for the record, Postgres had added a similar feature, but in a sane way. You can GROUP BY the pk and include all columns in SELECT
 
@bluefeet I have a Calvin and Hobbes Tattoo I want, a mega man tattoo, and me and two other of my friends are getting a borderlands tattoo.
Since my buddy matt moved to New York Borderlands is the only way we really keep in touch so.
 
@bluefeet Yeah, the permanent aspect definitely slows things down for me (although my friend had a number of hers covered/redone and it looks good). The other thing is I like to look at mine so locations like the back are no good as I don't want to stare in a mirror to see my art
 
@ypercube Is this meant to be used when you join a table with another one?
 
@ypercube hmmm I suppose if it was well known and handled by the compiler in a good way, it might be useful. Although I must say, I'm not really a fan of shortcuts like that.
I prefer Explicit
 
@Lamak I suppose so. No need to group by pk, when only one table is involved.
 
2:52 PM
@ypercube yeah, that's what I'm thinking
 
@billinkc I have two on my back which of course I can never see. I have one on my upper arm, hip, wrist and two on my ankle. The new one will be on my foot. They all had a meaning to me at the time but things change.
I had one reworked because I had a blowout on my upper arm one. Basically I count it as 2 tats because both pieces are still there but joined together now.
 
Had a girlfriend get a lizard on her top of foot, toe to ankle and she said it was the most painful of her tattoos. No meat down there to cushion the needle
 
@billinkc I will probably experience that pain but you go numb eventually. It is a good pain
 
Mine's a 3/4 band around my thigh, just above the knee. Perfect height for still presenting a "wholesome" appearance but shows when I dance/run/ride my bike
 
@billinkc the only visible one that I have is on my wrist but I wear a watch so it is hidden most of the time.
I don't feel bad about it showing at work, etc because it is my medical alert notification
 
3:01 PM
One of the BAs I worked with she had a large lotus on the inside of her wrist. Tastefully done but since they were financial services, she always had bangles or somethign on to obscure it
 
@Lamak And it's not implemented to recognize dependencies over more than one tables
 
@ypercube I guess that would be more difficult.
 
Companies seem to care less and less about visible tattoos.
 
Depends on industry from my perspective - legal and financial services still seems verboten
 
@Zane I think they sort of have to now because they are so popular. I'm in financial and there are plenty of people who have them. I just choose to place mine strategically so I can hide them if I want
 
3:06 PM
I work for wells and my boss has several visible tattoos
Also Spider man btw.
 
3:27 PM
Is there an easier way to do this? (ignore the type conversion for the percent calcuation)
 
JNK
@Lamak beat me to it
SUM(CASE...) is the way to go
 
seems to be what he wants
 
<3 you @Lamak @JNK
 
JNK
SUM(CASE...) is a pretty common pattern for a conditional count like that
 
3:35 PM
yup
 
@JNK Still learning
 
JNK
You could do it without the CTE using CROSS APPLY but I don't think it would gain you anything
 
The whole CTE thing is foreign to me still
 
yeah, or just use it as a derived table
 
JNK
a CTE is a disposable view
2
that's it
it allows for recursion too
 
3:38 PM
and it lives for just the "next" statement
 
JNK
yeah it's a one statement view
 
@Lamak prettier
@Lamak Ty :)
 
no problem
oh, and fix the way you are calculating that percent
 
JNK
yeah for real
DECIMAL is your friend
 
the perc expression could also be defined like this: ISNULL(count1 / NULLIF(count2, 0), 0)
 
3:51 PM
@AndriyM yeah, but I was pointing to the use of INTs there, meaning he will always get either 1 or 0
 
@Lamak sure, I wasn't arguing that, just suggesting a rewrite for the CASE
 
@AndriyM yup
 
@JNK I prefer Cross Apply as I've had some issues with Developers misusing CTE's and it has given me a slight distaste for them.
I know they have there place just like anything else I just lean towards cross apply
 
JNK
CTEs are easier to read normally
 
@Zane I also find CTEs easier to read. Actually, what would be the CROSS APPLY version of @FreshPrinceOfSO's query?
 
JNK
4:01 PM
@AaronBertrand can I ask you a Q about execution plans and recompiles?
This is related to something that my DBA is running (of course)
 
I'd write it out if I had the time but I've got prod support and UAT submission that is taking all of my time.
 
@Zane oh ok, good luck with that
 
@Lamak Yeah our sybase parent system lost some updates we sent their way....
 
@Zane ouch. CTEs would fix that immediately
 
@Zane One issue in this particular case is that the original query was suboptimal. It used subqueries to get the counts, and the rewritten version used window aggregation. The former could be used with CROSS APPLY (but would still be suboptimal), and the latter couldn't.
 
4:23 PM
@JNK sure
 
JNK
@AaronBertrand So I believe he is confused about recompiles
He's running a query against sys.dm_exec_query_stats...
He's pulling back object names that have a plan with only 1 execution in the past week and doing an sp_recompile for them
To me this seems bass-ackwards since those are recompiling ANYWAYS
To me it would make more sense to look at query plans that have outlier execution times and recompile those
since they have generated a suboptimal plan apparently
I think he thinks that the optimizer scans every single cached plan before running a stored proc
 
@JNK IT BURNS!!!!!!!!!!!!!!!
 
JNK
yeah I'm confuzzled
 
@JNK which I could help you, but I don't have much knowledge about it. Did you try to recompile one of the outliers and see if it improves?.
 
JNK
not yet
 
4:40 PM
Well, the outliers should be picked and monitored anyway. Maybe they are taking the right time to execute and a recompile won't help at all. If so, they should be ignored the next time
 
5:21 PM
> A sample output is as follows. It shows that on a given database, there are three pending I/Os at this moment. You can use the database_id and file_id to find the physical disk the files are mapped to. The io_pending_ms_ticks represent the total time individual I/Os are waiting in the pending queue.
TOTAL TIME IN WHAT UNITS???
 
@JNK It appears you're not short of "challenges" in this new role :)
 
JNK
@MarkStorey-Smith something like that
I'm getting stuff done though
This week I took a process that runs once every 10 seconds or so and refactored it
it had like 2 nested cursors that called stored procs and a bunch of other garbage
 
@JNK If you can survive this fella you could likely end up wearing a superhero cape... and reap the rewards!
 
JNK
we will see!
He's not a bad person but he is really hard to talk to because he has a very tightly closed mind
he brought up the "only explicit transactions get replicated" thing again yesterday and I just bit my tongue
 
JNK
5:34 PM
yeah
 
@JNK This is the reason I have certain problems in a corporate environment from time to time. It is impossible for me to bite my tounge.
 
JNK
I said "Oh, I hadn't heard of that"
 
FWIW it sounds like you're playing it the right way. Keep biting your tongue until you've built some relationships outside IT, then start steam-rolling him
 
@JNK "... ever. like in the history of replication."
 
@JNK "yes, that is interesting. I'll have to read up on that. Have any links handy?"
 
JNK
5:35 PM
I don't want to steamroll him. Honestly my plan right now is to keep playing nice and keep refactoring/fixing things, then let him handle the DBA stuff and I handle the development stuff
but I am definitely getting some good stories!
 
@JNK Interesting. Where might one subscribe to such misinformation?
 
JNK
He told me he heard it from the guy I replaced
they claim that if they do DML without an explicit transaction it doesn't show up on our replication target
 
@JNK I wonder what if anything as actually happening there.
Also I'm a little envious of the ability at which they let you fix things at your place of employment.
I get slowed down by the process quite a bit.
 
JNK
It's a double edged sword
At my last job it was REALLY structured which was nice because you knew that the process was always followed etc.
Here its like the wild west and it's not really well documented
I had a fix blow up in production because some table changes never got pushed
The DBA who reviewed my code is the one who never pushed the table changes
 
@JNK Isn't everything.
 
JNK
5:42 PM
it never occurred to anyone that the missing columns I'm trying to insert may cause an issue
holy cow I missed this and it's super duper relevant to me right now
Thank you @PaulWhite!!!
 
Yeah that's a bummer. The wild west places can be super frustrating from time to time as well.
 
JNK
@MarkStorey-Smith can you comment on if he is correct or not about the recompiles in the DMV?
 
@JNK Unless I'm missing something it sounds bonkers to me
 
JNK
ok just making sure
not a fight that I will pick but I'm making a list
I think he thinks that sp_recompile clears the plan cache for that query
 
@JNK I know for a fact that's not true because we constantly had people making DML changes at our client sites at wand from the help desk. The most assuredly were not using explicit transactions and we used replaction to pull of that stuff back to our home base.
 
JNK
5:53 PM
yeah it sounds like one of those things that someone observed and made an inference about without actually researching
"Oh, it's transactional replication so I need to use a begin tran!"
 
@JNK that seems odd to me. What does he expect to gain from re-compiling a plan that has been used once?
Has he ever heard of optimize for ad hoc workloads? Maybe what he's trying to do is prevent single-use plans from occupying the cache, or trying to prevent single-use plans from aging out
 
JNK
@AaronBertrand He thinks it will help because it forces a new plan and clears the plan cache
@AaronBertrand I mentioned it and he had vague/hand-wavy concerns
 
@JNK but if it creates the same plan, what is gained? I took the soda out of the fridge to make room for more soda
 
JNK
@AaronBertrand that's my point
 
Let us know if you get anything out of him about that one. I'm intrigued as to what led him to doing that.
 
JNK
6:02 PM
I'll sit on it but it's nice to have confirmation :)
 
Time delay there due to some "maintenance" in our comms rack!
i.e. power cord not long enough
 
@AaronBertrand Probably the same exact soda.
 
@Zane no, I took out Coke cans and replaced them with Coke cans with Santa on them
<duh>
 
lol
 
@AaronBertrand This is kind of what interests me about this chap. He's read (and possibly misunderstood) enough to be fiddling with plan cache, so what on earth did he muddle to end up with this course of action?
 
6:07 PM
@MarkStorey-Smith no idea. I wonder the same things about even simpler decisions by the majority of folks, like storing dates as strings, thinking an indexed view will improve every query on earth, wanting to free disk space or memory temporarily...
These are all things for which there is ample documentation and discussion that has been going on for years, but people refuse to read and instead insist on relying what they think must be right.
 
@AaronBertrand it's a bit early for that, no?
 
@swasheck yeah I suppose. But it was weird - I was expecting to have more room in the fridge, but it looks about the same...
 
@AaronBertrand maybe you should have OPTIMIZEd FOR UNKNOWN
 
@MarkStorey-Smith In fact I bet a lot of these people have read a bit - e.g. they read one post where a person chose string for a specific reason (and maybe even a bad one, e.g. to maintain formatting) and then decide, huh, that's a good idea. And never read about it again.
 
6:25 PM
@AaronBertrand that early stuff just comes from a fundemental lack of knowledge though. Making no effort to learn how to design or even operate a database.
 
@Zane but it's the same kind of stuff, only relative. Those people are at tier 1, and the stuff at tier 2 is just beyond them enough to make them dangerous. This guy, say tier 2, knows enough about the plan cache to know to fiddle with it, but he doesn't know how (tier 3). At every tier, there is something that is just beyond you, until you reach the highest tier - and even then, while folks like Paul White are way beyond anyone else on earth in certain areas,
the product is vast enough that there are other areas where they're not experts, and for which there is a tier beyond their current inherent capability.
Now, the big difference is, that as you go up the tiers, you make better decisions about how you use something before you use it - you read, you experiment, you consult others, etc. The people at the lower tiers, I feel, just slap sh*t together so they can leave on time.
I've never understood the path of doing it fast vs. the path of ensuring you've done it right. Great, you delivered a steaming pile of wet crap in 20 minutes, but if you spent an hour on it, it would have been a lot better.
 
6:50 PM
@AaronBertrand wet crap ... that's nasty
 
@swasheck sometimes it feels good
 
@FreshPrinceOfSO erm. never for me
 
JNK
WTF can someone explain this one to me
CAST (CAST (CAST (CAST (TransactionStart AS date) AS datetime) AS float) AS int)
the actual column is a datetime
 
@JNK sheer stupidity???
so ...
datetime->date->datetime->float->int?
 
JNK
no clue
 
6:58 PM
@JNK no. i mean that's what's happening, just wanting to make sure i have it correct
now that's Sofa King AWESOME!!!!
 
@JNK that is just more stupidity. They are probably trying to round to a day, in one of the most moronic ways possible. But since it looks complicated, they probably feel clever by it.
 
JNK
it returns 41514 for today
I think they want a randomish number for it? NO clue
 
i hate it when i hear a song on the radio in the morning and then only remember at 1pm that i wanted to figure out what song it was.
 
SELECT DATEADD(DAY, 41514, '19000101');
 
JNK
double wtf, they are doing date logic against that column downstream
transactionstart >= CAST(CAST(MyDumbColumn AS float) AS datetime)
3
I'm boggled
 
7:14 PM
Layers of complexity = job security? Who knows. Idiots are everywhere.
 
@JNK Sometimes its fun to cast things.
 
when are IO issues CPU issues and when are they RAM issues and when are they actually IO issues? :)
so existential
 
@JNK CAST(MyDumbColumn deserves a star.
 
 
1 hour later…
8:21 PM
today i stopped following Pinal Dave ... should i feel badly about this??
 
JNK
no I did a while back
he just pimps apex stuff which is why I did
 
i figured ... he does this 60 second SQL thing that was something that i could do, i learn nothing relaly new and revolutionary
 
He does 827 blog posts a day. Man is a master of getting SEO entries. For that, I salute him
 
Okay so is it bad if I'm laughing about my former employer completely sinking due to their own stupidity?
Apparently the mysql switch is not going as poorly as possible but they are still pushing ahead with it. Which I find incredibly funny.
 
8:47 PM
@Zane your logic confuses me
 
@swasheck ??
Ohh I see what I did there.
 
@Zane exactly
 
I switched my wording halfway through writing that but didn't go back far enough. Sorry.
It's going very poorly even in their tiny little dev environment they are running into huge performance issues.
I wonder what sort of problems they will have next week when they convert a TB data warehouse to msql.
 
DEMONS! THAT WAS THE SONG!!!! BOOYAH!
@Zane :) no worries. i can't imagine any of it going all that well
 
@swasheck I guess they got rid of their network admin as well and replaced him with a guy who used to run a hockey equipment store but is friends with the VP of software development.
 
9:01 PM
nice. that, pack of smokes, and a sixer of old milwaukee will do great
 
@swasheck lol
Yeah my buddy who still works their said he just listed on his resume as having "basic computer skills"
 
BASIC was fun. i remember playing Gorilla BASIC in my CAD class in HS
ABOUT
TO
MAKE
WIN
 
?
 
we have an overnight job that consists of a lot of delete->recalc->insert back in
 
Oh....
 
9:10 PM
suggested computed column to dev
homeboy's in heaven
 
are there problems with updating said column.
 
@Zane like you wouldn't believe
 
Example?
 
@Zane pulling 750mm rows ... dumping to #temptable ... calculating ... deleting dupes from source table ... re-inserting calculated data
 
Your poor liver
 
9:14 PM
@billinkc my liver loves me ... i keep it in shape
 
If I were responsible for keeping that thing alive, I'd have cirrhosis in a matter of days
 
i may
 
@billinkc you have to give you liver things to do or it gets lazy.
@swasheck you won the RacerX thing?
 
9:30 PM
mmhmmm
 
0
Q: How to -create- performance issues? - oracle

nirI want to dedicate some time to learn more about performance and tuning issues. I assign for that a clean DB. I want to know how can I load into it some data and performance-problem queries/DML/DDL? Do you know some scripts that can cause/generate that (purposely or not)? The idea is to learn th...

VtC too broad please
 
9:58 PM
Wow great attitude
-2
Q: How to get the average of a DATEDIFF()?

apfunkI have a query that does the following: SELECT DATEDIFF(d, DateUsed, DateExpires) AS DaysBetweenExpirationAndUse FROM tbl How would I get the average of the column that does the DATEDIFF()? I tried wrapping it in the AVG() function, but that obviously doesn't work.

 
@AaronBertrand idiot. And it didn't work because he was using something that wasn't on the question
 
I'm sick of dealing with entitled idiots
Agreed with the others about how useless "didn't work" is. If your original question had included the actual code you were trying and the error message you were receiving, it would have been a lot more obvious. Garbage in, garbage out. Don't be surprised to be getting feedback when you ask a crap question. — Aaron Bertrand 35 secs ago
"Obviously it didn't work because I tried it" <-- GFYS
 
 
2 hours later…
11:47 PM
@AaronBertrand Do you think it is appropriate to be so abrasive with people on SO when you're a mod on this site? I feel it reflects badly here.
 

« first day (969 days earlier)      last day (3915 days later) »