« first day (1654 days earlier)      last day (3215 days later) » 

12:05 AM
Some people
0
Q: type ALL in explain

FacedownI have tables like these: items +-------------+--------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +-------------+--------------+------+-----+---------+----------------+ | ID | int(11) | NO | PRI | NULL ...

"I get terrible results"
Then don't ask for all the rows of the tables ...
 
 
7 hours later…
6:38 AM
morning
I am so excited - only 1 close vote until the Steward badge
 
6:59 AM
morning
 
7:31 AM
I'm going to ask a question which had I asked it in the main site it would've been closed due to some reason. but there are sites which shows binary tricks / way of solving issues for many scenarios. Now leave aside the binary stuff , is there any site that shows nice queries or tricky queries or handy queries ? I know this is very vague. but this is the reason why I supplied the binary preview. to show the general idea.
Count events in an interval of time ( as discussed earlier here) - is a sample.
 
good morning
 
good morning
 
7:47 AM
@RoyiNamir This sounds like you are asking about some kind of knowledge repository. Can there be such a place?
 
I can paste here dozens of binary tricks sites.
of course it's all sums up to knowledge repository :)
 
I've heard of this thing called Stack Exchange network, maybe they have what you want ;)
 
Problematic . :-) Ir will take 2 sec for such question to be closed.
 
No, I didn't mean to ask a question there, but to search it for "nice queries or tricky queries".
Why do they need to be tricky, anyway?
Or what do you mean by that?
 
Everything is not tricky eventually.
Eventually I guess the word is smarter
one solution is smarter than the other.
For example. Mikael solution VS the other solution ( count events in SQL)
datediff from 0 was a smarter solution
which I can use to check ANY groups value which I want
Another example is instead of table numbers , A recursive CTE can be used.
Yes I know it's sounds strange. but I guess I'm after the pearls which an experienced DBA has gathered through the years.
-
 
7:53 AM
Perhaps SE is not good for searching for "cool stuff" in general, but it should be good enough for searching for a solution to a specific problem.
 
For example : your : "With Ties" solution which was marvless !
I know it's all there in the DOCS. but again , you know what I meant :-)
(count all x who has the same min/max values)
 
Thank you, but I'm still not sure what exactly are you looking for. Are you trying to create your own knowledge repository or something?
 
No. just to go straight to the "here , let me show you something cool - which you probably don't know"
Something like that ^
 
SE has accumulated a lot of cool solutions over time, I'm sure. Of course, they aren't tagged for anyone to easily find them if the person is looking for any cool stuff. So your question may be unanswerable at the moment, unless someone has created a repository specifically for clever SQL solutions (for any problem).
Maybe someone has a blog where they do appropriately tag articles with clever pieces of code. I haven't heard of such one.
 
Well. I'm glad to be in this chat :-) I'm sure I can find here anything I want
 
8:08 AM
You can find anything (or almost anything) you want at DBA.SE or SO too, just make sure you want something specific enough :)
 
Andriy , I have a question please , I know about RowRevision column which can be added to a table to check if row is changed.But what if I don't want to add such column ? is there any function in sql that takes all the columns values , create HASH and then I can store that hash and check again if it was changed ?( after update)
(Without specifying all columns names).
 
I only know that there are functions that have to do with creating hash values. I've looked them up a couple of times but never really used them.
 
something like : (psuedo) : Trigger instead of update : if HASH()==HASH(inserted.) =>> REJECT
Ok
 
There's CHECKSUM(), which accepts a * meaning "all columns".
I don't know if it's reliable enough to use in a trigger to check for actual changes.
 
8:35 AM
CHECKSUM isn't quite reliable enough
you can get clashes
HASHBYTES is safer
Also mentioned in the docs
"If one of the values in the expression list changes, the checksum of the list also generally changes. However, there is a small chance that the checksum will not change. For this reason, we do not recommend using CHECKSUM to detect whether values have changed, unless your application can tolerate occasionally missing a change. Consider using HashBytes instead. "
but HASHBYTES requires a list of column names I believe
 
Thanks.
 
@MarkSinkinson I did remember that CHECKSUM was not very reliable but forgot that it said so right there in the docs. Thanks for this reminder.
 
But there is a workaround which does allow *:
CREATE TRIGGER get_hash_value ON staging_table
FOR UPDATE, INSERT AS
UPDATE staging_table
SET sha1_hash = (SELECT hashbytes('sha1', (SELECT col1, col2, col3 FOR XML RAW)))
GO
SELECT col1, col2, col3 FOR XML RAW can be changed to select *
From here
 
Maybe not so much to * as to table_name.*.
 
Yes.
But I didn't understand why he said but not in the trigger. Why ?
He said : as each time you run it you would be getting a different value because the sha1_hash column would be different each time. ????
Oh he assume that he has a column which contain a hash column ..... so he basically will hash a (*+ old hash)
 
8:52 AM
Yes
If you only want to compare the hash values, not to store them, I think * would work for you.
 
-
There should be such hint/switch :-)
WITH NOSTALEUPDATES
or something like that
Will save many IO's
(but will increase CPU) :P
 
I got String or binary data would be truncated. when trying that method FOR XML RAW
 
Within a trigger?
sys.fn_repl_hash_binary to the rescue
(only md5)
 
9:23 AM
@swasheck I know the answer to this - build a custom process that shreds it into something that you can ETL. That's what I had to do.
XML - now you have two problems.
 
9:36 AM
We flatten our XMLs into comma delimited files and then ETL that way.
 
These ones were insurance policy documents with a complex, configurable-at-runtime structure that shred out into dozens of entities. Unfortunately the vendor's shredder didn't actually shred out the whole document so I had to build a secondary shredder with lots of custom xpath bits and bobs to get the other bits out that we needed.
"I know. We'll use XML. What could possibly go wrong?"
2
Cue runtime config change that converts the format of an identifier from a GUID to a concatenation of two GUIDs that no longer fits into the varchar (50) column.
 
@ConcernedOfTunbridgeWells Should have used JSON :-)
 
But it's flexible. You can configure any product you like into the system.
You can store any data you want in the system.
What do you mean: "How do we get it back out so we can report on it?"
You mean you need it to stay in a consistent format? But the users can change the XML schema.
Vendor: If we re-configure the shredder you have to re-run the shred.
Us: How long will that take?
Vendor: Don't know. It's quite slow.
(sounds of setting up a run over the weekend)
Us: 39 hours to shred 80,000 records. Srsly?
Vendor: Oh, we use MSXML4.
Us: You've just delivered another service desk ticket that's changed the document format and broken the ETL.
Again.
Vendor: Lalalala
 
10:49 AM
I don't think I would ever be happy relying on a hash of all columns to detect changes.
 
I'm not particularly happy about it (especially on some of our wide tables) but change is slow :-(
 
11:04 AM
What did you do to Victor? — dezso 7 secs ago
 
you can have indexes on nvarchar(max) — RayofCommand 4 hours ago
^^^ When did that become possible?
 
11:22 AM
I think 2008 introduced LOB columns as includes, but they can't be keys.
No it was 2005.
 
Hmm, maybe they did mean it was an include, and so maybe they were trying to make SQL Server scan the index instead of the table.
But, as you said, Paul, we need more details
 
Hard to know. The question is quite poor, yes.
I hadn't noticed Rob Farley's answer when I commented. Likely is the solution.
But there could be other things.
 
@PaulWhite Would an index that has the nvarchar(max) column in INCLUDE be able to be used in the query?
 
@ypercube Sure, why not?
 
wouldn't it have to do a full index scan?
 
11:29 AM
@ypercube Yes. But it's a filtered index.
A full scan of a filtered index is not so different from a seek (with range scan) of a non-filtered index.
But were guessing. There are too many important details missing from the question.
 
Can you have an index on the first (left) say 20 chars of the column? (not in INCLUDE, in the index key)?
 
@ypercube Yes, via a computed column.
 
@PaulWhite I wonder why, to be honest. Shouldn't nvarchar take precedence over varchar and make the literal convert to nvarchar before the comparison takes place?
 
ah yeah, computed column. thnx
 
@AndriyM The devil is in the details. We don't know if the original query still uses LIKE, in which case he is relying on a number of optimizer tricks to convert the LIKE to a covering range, and then match that to an index. Getting types wrong is a great way to defeat optimizer tricks.
The only clue we have that the index works is:
> Its obviously WAY smaller and it works fine if I force the index hint.
Where "works fine" is typically unhelpful.
He might even need to add WHERE 1 = 1 to prevent simple parameterization.
Hence I downvoted the question as unclear.
 
12:22 PM
@dezso was looking to spend a vote to close today, all excited about a new badge :)
 
12:56 PM
Belongs on SO:
0
Q: Passing DEFAULT value into new SqlParameter()

MuflixHow can i pass DEFAULT value into stored procedure in MVC4 .NET ? I have this code return Database.SqlQuery<Program>( "spGetProgram @p1,@p2,@p3,@p4", new SqlParameter("p1", (object)ID ?? "DEFAULT"), new SqlParameter("p2", (object)displayStart ?? "D...

Isn't this exact copy of @maxvermon's answer dba.stackexchange.com/a/76910/8783 ? — Kin 15 mins ago
It is, and the poster seems to refuse to add an acknowledgement.
Interestingly, this person was the author of the question that Max answered.
So it's kind of gained knowledge that he has shared. Still should have disclosed his helper.
 
@AndriyM not anymore
 
1:14 PM
@dezso Very well, I'll go and withdraw my vote then.
 
1:47 PM
I think I've found the main issue on this:
I know it is no answer, but how do you squeeze 600 or 700 characters into a varchar(512)? — dezso 19 secs ago
 
2:23 PM
I'm bit a lazy now so here is a related question:
Say we have an index on a computed column: `LEFT(col, 10)`
Will the optimizer consider the index for queries with `WHERE col LIKE 'abc%'` or with `WHERE col >= 'abc` AND colc < 'abz'` ?
Or the conditions have to be rewritten using the LEFT(col, 10) instead of col?
 
(1) No (2) Yes
 
Thnx, great.
Hm, perhaps I should make a question of this (so you can answer and take proper credit)
 
2:51 PM
Ohhhh yeah. New lappy with admin rights. By the end of the day I may be able to get some work done.
@AaronBertrand you around?
I need that sweet sweet plan explorer pro!
My work lappy name has changed.
Oh snap I could activate it still.
 
3:10 PM
circle gets the square
 
 
2 hours later…
4:42 PM
Vote to close please
-1
Q: Does Union Affect randomness Vertica SQL

mt88I'm seeing very strange results from a query of a vertica database. Here is the structure of the query select column_a FROM (...... ....... ORDER BY RANDOM() limit 500 ) proxy UNION (.... ..... ORDER BY RANDOM() limit 500 ) Heres the weird behavior I'm getting. If i run both subqueryies indepe...

 
5:02 PM
@Zane you all set?
 
5:35 PM
@ypercube Funny, I was wondering about this just yesterday. I guess it is a fairly common indexing pattern in MySQL.
 
5:48 PM
@AaronBertrand Yeah.
I do have a machine you can drop if you'd like but I don't think it matters.
 
It doesn't. Worry about it when you get blocked, it's an easy fix. Or slammer time if you're cheating.
 
6:12 PM
lol
I'd be more concerned if they took away my liscence. That product is my bread and butter.
 
Your healthcare's bread & butter.
 
My healthcare has me completely boned. It would have been easier to just stay sick and hoped to have not kicked the bucket back in 06 than it is to deal with this nightmare.
 
0
Q: restoring database using RMAN

Moawia307if i have new data like new users and tables created after backing up database with RMAN , in case of restoring database will the operation affect my new data made after taking the backup ?

^ Seriously? ^
@Zane It does not sound like fun.
 
6:30 PM
@PaulWhite We have ridiculously predatory healthcare system.
 
and lending system
 
Turns out this bill is legit. This is different than the 4 grand I've already paid for my surgery.
 
I'm paying $500/pay period for our health care. This is after wife got laid off (at her company we were paying $38/pay period for better coverage)
 
@AaronBertrand what's especially frustrated as we already pay more(as a government) per capita than countries that don't have to deal with this nonsense.
I'm not paying for healthcare coverage I can't even use because of an outstanding bill from when I didn't.
 
All the big companies and top 1% get a whole shitload of tax breaks they shouldn't. They could easily pay for everyone's health care. We would rather be nice to them.
On the other hand, go to Canada, where the tax rate starts at 45%. They don't pay the same health care costs that we do, but then again, they do
(It's just not itemized the same way.)
Every system sucks, it's just the degree to which it sucks to any particular class or individual circumstance that varies.
 
6:40 PM
yeah. there are no silver bullets
(that was an awful typo)
speaking of awful ...
 
I thought you were going to say silver bull testicles, which would have been hilarious
 
LEFT JOINS WITH(FORCESEEK) ... OPTION (LOOP JOIN, FORCE ORDER) ...
 
@AaronBertrand The US in particular is bad in a way that is unacceptable. Imagine how long I would be boned by this debt if I didn't have such a good job.
 
got a nice error
> Query processor could not produce a query plan because of the hints defined in this query. Resubmit the query without specifying any hints and without using SET FORCEPLAN.
@AaronBertrand i'm sure there are silver bull testicles ... somewhere in texas, i'd surmise
 
You end up with the poor using a ton of emergency services because they have no alternative. Accruing debt they can't possibly pay that the tax payer is stuck with anyway. Meanwhile the debt collectors laugh all the way to the bank.
 
6:44 PM
> but if it wasnt privatized then you'd have long hospital waits and doctors who give subpar care because there's no incentive to save your life
@ConcernedOfTunbridgeWells unfortunately it's the format of XE (for now)
 
@swasheck Why so much hinting? BTW it's the force order that causes the error.
In case that wasn't obvious.
 
@swasheck Don't be so uptight. Just let the optimizer do it's thing.
 
@PaulWhite because it made the query faster at some point
then someone dropped the PK in dev
@Zane well ... it's a crappy query so throwing hints at it made it faster
;)
 
That's what dev is for.
 
@swasheck Ah.
 
6:49 PM
searched case in the filter ... with the extra special CASE WHEN [col1] like '%bob%' THEN 56 WHEN [col1] like '%mary%' then 98 etc. etc. etc.
 
Did you author that code?
 
I read that as like %boob% and gigled.
 
@PaulWhite HAIL NAW
 
Good.
 
@Zane nice
 
6:50 PM
I'm a classy guy.
I've notice a distince lack of @bluefeet lately. What's up with that.
 
wait, what? I'm here
 
@PaulWhite it is spawning a fun email. i remembered this query from the past and i tried telling them that this was a bad habit to get into and they responded with LOL GFY
 
I'm also in NYC this week @Zane been a bit busy
 
Nice!
Watching training videos. "Welcome to StackOverflow" and all that jazz?
 
@PaulWhite generically ... my initial thought would be to suggest UNION over this ridiculous searched case
is that at least exploring
 
6:52 PM
@Zane Meeting folks, checking out the office, raiding the swag closet. The normal things you do when visiting the office
 
@Zane harassment panda videos
 
@swasheck pffft unicorn
 
Oh yeah don't I know it. Wells Fargo gives me so much swag.
 
get it right
 
@swasheck Yeah CASE is not often the best-performing possibility.
 
6:53 PM
Like generic Post it notes that can't leave the office. Maybe some pens. The occasional notepad.
 
@PaulWhite especially a nonsargable searched case in the WHERE filter
 
@Zane Next time you're injured, do it while on holiday in NZ. Fully covered :)
 
EHRMAGERD!
 
@swasheck People are amazingly creative when it comes to writing dumb stuff.
 
@PaulWhite This certainly cost me more than the vacation would have.
 
6:55 PM
We'll just put it down to bad planning then :)
 
@PaulWhite we have a high concentration of creative query writers
 
but sorry if I'm slacking in the heap @Zane, been a bit busy with the new job
 
That's cool.
 
@bluefeet BUT YOUR NEW JOB IS SUPPOSED TO BE BEING INVOLVED HERE
 
@swasheck Shame they don't concentrate more highly.
 
6:56 PM
your argument is invalid, my hair is a bird
 
@swasheck I'm lurking
 
@swasheck Yeah as a member of the community I demand more engagement from my community managers :)
 
@PaulWhite critical mass ... until they fuse and ... well ... we know what happens then
 
Paid by the lurk. Nice.
 
@bluefeet should invent the heapchatlurkinator
 
6:57 PM
How do you know she hasn't?
 
@swasheck I believe it's already been invented. It's called shog
 
mind := blown
 
@Zane In Canada, you get the opposite, actually. People with runny noses flood the ER because they can, and it's cheaper than buying over the counter.
 
Uh oh the s--g has been invoked.
 
someone said the essword
 
6:59 PM
@AaronBertrand Amazing.
 
@Zane I lived there for 23 years, so I experienced those emergency rooms first-hand.
I also experienced shoddy care from all three main medical facets - my impression was that they couldn't give two f*cks because they got paid the same whether they filled a cavity or really examined my eyes, or not
I am sure that is not true of all medical care professionals in Canada (never mind in countries with socialized medicine where I have zero knowledge/experience), but that summarizes pretty much my entire family's life journey in Canadian medicine
 
@PaulWhite @AaronBertrand someone just told me something and i'd like a confirmation (if you can) that LEFT JOIN forces order. the rationale makes some sense
 
No.
 
thanks
i almost got sucked into wrongheaded thinkin'
 
Paul is too fast
 
7:04 PM
It is true that the optimizer has fewer tricks up its sleeve when working with outer joins, but that's nowhere close to saying it forces the join order.
It is also possible to write queries such that moving outer joins around would be incorrect, but again, separate kettle.
 
ok. thanks for the clarification
 
On the healthcare thing, I suppose it's fair to say there will always be more demand than supply, but that doesn't mean we can't avoid gross unfairness.
And yet, in many places in the world, that's exactly what we do see.
 
@PaulWhite It is impossible to make it perfect, but not hard to make it better.
 
Like I said if I had not moved as far up in the world as I have I would still be crushed by this mass of debt.
 
@AaronBertrand Quite so. I guess it is just low on many politicians' list of priorities. For complicated reasons that mostly just make me cross, frankly.
 
7:10 PM
I can't even imagine how boned I would have been if my condition had gone full blown cancer back then.
 
@Zane but hey if you were lower on the totem pole, you could claim more of those against taxable income. Oh wait...
We paid $20K+ out of pocket both years our kids were born, and got to claim about $1600 of it each year I think.
 
The numbers are insane.
 
@PaulWhite they aren't small.
 
At least the money goes to a good cause.
Oh.
 
i think that the problem may actually be less about the healthcare and more about the overall burden handled by which members of the strata
 
7:14 PM
Yeah, again, I think the 1% could afford to pay a lot more than they pay now, without noticing.
 
without even something as extreme as "wealth redistribution"
 
Unfortunately the line an individual draws between capitalism and socialism is all over the place, and heaven forbid the government do anything to cost their biggest donors a cent
 
i agree
 
I don't even know much extra there would have to be.
 
@AaronBertrand the problem is that anything that confronts how we've (re)defined capitalism is now rebranded as "socialism" ... it's like mccarthyism
 
7:16 PM
I've long argued that big oil shouldn't get massive tax breaks, or be able to charge whatever the f they want for gas. "But it costs more to produce!" yet every quarter they have record profits and their executives get 8- or 9-figure bonuses.
 
Yes neither extreme socialism nor extreme capitalism (oligarchy) has a good solution. You'd think we'd be evolved and smart enough by now to make a reasonable compromise.
 
@PaulWhite via media is never accepted. it doesnt sell to an entertainment-centric society
 
Yes it's offensive.
 
 
We're afraid to demand an extra $1 from the rich
 
7:18 PM
Our government spending per capita is already higher than most countries with some form of universal healthcare or another.
 
@Zane It's not just about the $$$ though. It's how you spend it.
 
Indeed.
 
@Zane Mind blowing eh.
 
I'm just saying we are already spending more and getting less.
 
Right. No argument there.
 
7:19 PM
Yeah wasn't there some funny stat a long time ago about how much the US government pays for hammers and toilet seats
 
Inevitably I should think.
 
Of course we know where the money is really going; that's just a front
 
@Zane but it really isnt any different than any other market in the US economy
in almost every arena, we're progressively paying more for less
 
You're doomed :)
 
consumer intelligence is dropping.
consumerism itself is up
 
7:20 PM
Perhaps Donald Trump will fix it all for you.
 
if he's elected i'll move
 
It's probably because they're in opposition right now, but it often seems from here that the republicans have a large number of people with scary views on things.
 
@swasheck that's true and to be expected as we are a wealthy nation. However even if you adjust for that it's insane.
 
@swasheck Surely it can't happen. Not even in America.
 
@swasheck to where? Grass is greener, my friend. Most of the cool countries you want to move to don't just let you waltz in and plop down.
 
7:22 PM
@PaulWhite of course. and don't call me shirley
 
@Zane A wealthy nation in what sense though? Average person's standard of living?
It certainly helps when you can print unlimited amounts of the world's reserve currency.
 
@AaronBertrand true. i dont want a cool country. and i'm just saying that because i have a family to consider. but ...
 
But I don't pretend to understand economics.
 
@PaulWhite any metric can be twisted to prove one's point.
 
@swasheck I guess.
 
7:24 PM
@PaulWhite they are in a moment of redefinition. They are a party trying to decide exactly what kind of crazy they are.
 
Ha ha ha
 
@Zane @PaulWhite there's even a division within the "Republican" party ... moderately crazy and teabag crazy
@AaronBertrand turkey ;)
 
@swasheck there's even divisions in that. Libertarians, religious nuts, war hawks, and hillbillies who think they are libertarians.
There are just as many kinds of nutty liberals don't get me wrong. However they all seem to just "Get behind the leader"
 
@swasheck No doubt I only get to see the finest they have on TV here. Ted Cruz is one I often enjoy. Oh and that speaker person with the strange name.
 
@Zane yep. they just seem less ... vocal
 
7:29 PM
Although I will says this. The lefties had the all time best nut bar candidate of all time.
 
@PaulWhite boehner
:D
 
Yes LOL
 
i'll say it for you
 
@Zane Who?
 
@swasheck Ha! Apparently you've never been to Tumblr.
 
7:30 PM
@Zane what's a tumblr, precious
 
Single greates campaign commercial of all time.
 
WTAF.
I just watched the whole thing.
 
Hahaha!
Sorry if I mislead you into thinking that was going somewhere.
 
Now watching "Mike Gravel Explains "The Rock" video"
Nut bar.
 
@swasheck pregame?
 
7:37 PM
@MikeFal can't
 
Lamer
No, I'm sorry. Lamest.
 
Queued. Still watching the rock explanation.
 
@MikeFal board meeting at 1630. steve really likes meeting
 
@PaulWhite only presedential candidate to openly discuss alien conspiracy.
 
7:41 PM
ain't skeered
 
So I see from the youtube links.
Ok I'm never clicking another video link from you guys.
 
Lol
 
@PaulWhite are you telling me you don't want to wach mike gravel stare at a fire for 7 minutes?
 
Geez I'm 3 minutes in and losing the will to live. I hope the end is spectacular.
 
7:46 PM
@PaulWhite I would bail. It's never going to leave that frame of fire/gravel 2008
 
Seriously. Wow.
I skipped to the end. Nothing happened. Words fail me.
 
hahaha
 
very therapeutic. some people pay money for a fire loop
 
It's popular TV in Norway or something. A whole channel. IIRC.
Slow television, or slow TV, is a term used for a genre of live "marathon" television coverage of an ordinary event in its complete length. Its name is derived both from the long endurance of the broadcast as well as from the natural slow pace of the television program's progress. The concept is a modernization of artist Andy Warhol's slow movie Sleep from 1963, which showed poet John Giorno sleeping for five hours and twenty minutes. The concept was adapted to local TV broadcast in 1966 by WPIX, to VHS video tape in 1984 by the British company Video125, to satellite TV in 2003 by Bahn TV, and...
 
I told you. He's the most looney tunes of all the candidates.
Although Ted Cruz is giving him a run for his money.
 
7:50 PM
Watching his Viewpoint interview about UFOs now.
I like to watch Fox Faux when I'm in America.
You know, for the giggles.
 
You misspelled Faux
 
Clever.
 
He probably saw it on a bumper sticker.
 
Harsh.
 
My dad watches that nonsense.
It's infuriating.
@PaulWhite ???? Don't they have things to do in Norway?
 
7:56 PM
Well now they do :)
 
8:11 PM
Egads, do we really need Management Studio to support drag and drop, which would copy, say, a procedure from one server in Object Explorer to another? Is this really something that is so hard to do we need to invent a new, easier way to screw it up?
I think SQL Server needs higher barriers to entry, not lower...
2
People have the strangest f'ing ideas about what would make a product better
 
Ohhh yeah. Got Sentry back. I'm almost back to full strength on this new lappy.
@AaronBertrand it's also an odd point to invest as it's one of the area's where they are hands down ahead of the competition.
SSMS is already an infinately more enjoyable exerience than any of it's competitors.
 
well, they are making huge investments there, actually, since even though it's good, it has a lot of flaws and has been largely ignored for a decade
You've seen the start of that with the independent release cycle, there's much more coming this year, I promise. All good.
 
I'm hoping for progress in the query build tool.
Kidding! Don't hit me.
 
@AaronBertrand this is the biggest thing that oracle advocates have against sql server ... that it was designed for the lowest common denominator
 
8:31 PM
That just sounds like an excuse for sqlplus not being up to the standards of a terrible shell
Even the mysql client is better
 
Gah! The code these business monkeys write.
it's so impossibly procedural. Hundreds of line of code for a simple report. I don't understand.
 
@AaronBertrand That's like giving a child matches and then expecting them not to light something on fire.
 
meh. aaron's still better at wacky analogies
 
1444 lines of code for a report dataset.
Why?!
Do a little bit of work. Push it into a temp table. Join that to some things. Put it into a temp table.
Do a little more work. Then into a temp table.
 
you lost me at "work"
 
8:35 PM
/wrinse repeat for 1400 lines until you have the slowest report on the planet.
@swasheck Essentially apply logic/or predicates.
There are more lines of code in these two report datasets than I have in our entire codebase...
 
@Lamak you around?
 
I'm pretty sure that owl is starting at me.
 
9:42 PM
@AaronBertrand No indeed, it's a bizarre suggestion.
 
10:40 PM
@AaronBertrand where was this suggestion
 

« first day (1654 days earlier)      last day (3215 days later) »