« first day (589 days earlier)      last day (4577 days later) » 

07:48
@CadeRoux I find it pretty amazing how SE manages to connect all the dots - thanks for posting the question on CS. I don't understand the maths at all but I'm assuming if it was wrong someone else would have shot it down :-)
Exactly, if $fl(N) > N$, then $fl(R\times fl(N))$ may be larger than $RN$. — Pedro 10 hours ago
Yo
presumably this means it could go wrong iff N can't be represented exactly as a float
Hi @Phil
morning guys
I'm considering opening another bounty to reward this one:
3
A: Can spatial index help a "range - order by - limit" query

Erwin  BrandstetterSetup I am building on @Jack's setup, firstly because that saves time (kudos to Jack) and secondly to make it easier for people to follow and compare. Tested with PostgreSQL 9.1.4. CREATE SCHEMA x; SET search_path = x; CREATE TABLE lexikon ( id serial ,word text ,frequency int ...

now when I am to choose a rep amount, 100 is the lowest
do you know the reason of this?
08:04
33
A: "Abusing" bounties for unlimited profit

Marc GravellAs noted by Robert, this has come up recently. Posting a bounty is a perfectly reasonably thing, a good thing (with badges too!). However, when applied repeatedly to a question it does start to represent abuse. To help minimise this, but while leaving open the option of offering a subsequent bou...

maybe someone else could do it - probably not me on this one for obvious reasons :-)
@dezso have you had a good look at the answer? It really is superb
yep
but I had to try this and yours as well
have no time at the moment :(
@JNK are you willing to drop a bounty on Erwin's answer on @dezso's behalf?
when you are up that is :-)
08:37
I can give a bounty.
@ypercube of course - I should have asked you - sorry @JNK
and I get a badge. Hm.
can I start a bounty here, using my SO rep?
09:01
@ypercube you are joking right?
:-)
also - as Erwin's answer is clearly more complete than mine and includes everything I did, it would be useful to switch the accepted answer to his. I may revisit mine and try and improve it at some point when I have more time but I might not get round to it...
Not really. Perhaps I should ask on meta.
@ypercube it's never going to happen :-)
smaller sites would get flooded with SO rep
09:20
yes, that would be a problem.
JNK
JNK
09:57
im up!
ok yper already did a bounty
well im always open to it
10:26
Why don't we default to <!-- language-all: sql --> everywhere on this site - is there a good reason?
6
@JackDouglas: Thanks, added it. Certainly improves the format. Normally, SE sites pick the default syntax highlighting from the tags, AFAIK, so I didn't think of it. — Erwin Brandstetter 5 mins ago
10:44
Morning all
@JackDouglas Funnily enough I had to force a language to sql for an mdx answer in order to get it to format correctly.
@ypercube Perhaps you can get some of your old answers migrated ;)
11:17
morning all
@AaronBertrand thanks for the back up on my comment stackoverflow.com/questions/11961205/…
12:17
@bluefeet sure, his comment shouldn't have been directed at you anyway. You were rightfully pointing out that the query needs an ORDER BY, and he thought you were saying an ORDER BY would make it (or prevent? I'm not sure now) short circuit.
(I agree wuth blueefeet, TOP without ORDER BY is meaningless)
I have no idea when an if such a short-circuit is applied but an `ORDER BY`would have prevented it, wouldn't it?
I mean: TOP without ORDER BY is like TOP with ORDER BY NULL. If you specify another ordering, then no short-circuit can be applied as the rows have to be ordered
I suppose, I haven't tested that, probably because I've never had a need for "SELECT TOP 10 [arbitrary rows] from some_bigass_table"
I wanted to ask another thing. YEAR() is not sargable?
If you add an order by on a non indexed column you will have a Top N Sort in the query plan. Also if you do a top query the table scan (or what it is using) will terminate when there are enough rows found.
@ypercube no, YEAR() is not sargable. Forces a scan.
@MikaelEriksson thanks Mikael, I really haven't done any testing here. But the short circuiting wasn't really the point of bluefeet's comment - she wasn't trying to answer the question.
12:31
I learned new things today.
In this case the short circuiting (if it happens) may not really help depending on how far into the scan it took SQL Server to find 10 rows that matched the where clause. I haven't done any real experimentation on this.
So even in cases where it does short circuit, that query can still take a long, long time.
yeah, if you search for May-2011 and the table has dates from 1969 ...
@AaronBertrand True. You will only benefit from the short circuit if you find your rows. If you use a where clause that will give you no rows you will have a full table scan before you get nothing back.
I've updated my answer slightly.
Thanks for the discussion, I think it led to a better answer.
3
13:06
I've got this in crontab: * * * * * root mpop -aqC /etc/mpop.conf - any linux guru know what I need to do if I want mpop to run only if another instance isn't still going?
cron can't do that. your script will have to handle it
(ie: you'll have to write a wrapper)
ok, ta :-)
I thought there might be a 1-liner with ps or something
14:08
Quiet in here today
14:31
@Phil how much have you earned from hmmftg today? (notice the lack of "@")
15:10
0
No doubt I'm on call and haven't been told, though :D
@Phil do you do consultancy?
I mean does your employer allow you to moonlight?
Hi @AlexKuznetsov has jcolebrand spoken to you about the blog?
15:23
@JackDouglas Yeah
@Phil emergency work? in the middle of the night? there was an incident a couple of years back when we wished we had someone to call. What would you charge for that sort of thing?
In the region of 50UKP/hour
If you wanted me to just be on call, I'm sure an arrangement could be made for a certain fee
@JackDouglas Done plenty of on-call stuff before. I enjoy fire fighting :)
15:53
@Phil It would be good to have your number - not sure I'll ever need to call it, but I'm sure the client would have paid a multiple of that amount without blinking if we'd had someone to call. No need for any formal arrangement - I'll just keep your number handy just in case and make you an offer you can't refuse if the need arises :-) Would your mobile wake you up at 3am? If you are happy with that please text me your number:
@JackDouglas Okiedokie
@Phil masochist
@swasheck getting to the root cause of something that's gone pear-shaped as quick as possible is really good fun! ;)
@Phil i can see how that would be the case. i guess i just don't feel enough of an expert to be able to authoritatively declare something is the root cause ... or how to truly resolve it.
16:10
i love postgres, really...it just makes me happy
@rfusca howso?
@swasheck stuff like writing a function that takes a table type as a parameter, to encapsulate some logic on several fields ..and then when I call the function, it inlines it and shows as such in the explain
just simple stuff but it works the way that I think it should
i don't find myself going 'wtf'
also ... is the CLUSTER command on postgres always manual or does the engine somehow perform it automatically at some time
@swasheck always manual
i believe
i dont see how it could be anything but manual, based on the docs ... but i didnt know if there was some sorcery in the background
16:15
I daily recluster certain tables
once you cluster on the index once though, you just need to type "cluster <tablename>" and it reclusters on the previous index the next time
@Phil nothing received yet?
@JackDouglas Sorted. (iMessage says delivered)
@rfusca yeah
No worries
Drop me a mail if you ever need anything
16:44
@JackDouglas I'm assuming you're not a serial killer ;P
you know what they say about assumptions
17:31
I'm not sure the OP cares any more, but I said I'd post a plain SQL method with no whacky perl scripting :P
@JackDouglas Good effort. Will be very slow though
@Phil that rather depends how big his 500,000 blobs are ;-)
very true
Hi @Mr.Brownstone, how are you?
You taught @AaronBertrand something he didn't know the other day, which is impressive in my book :-)
17:59
@rfusca what do you have on this one?
2
Q: Can I get the union of the a Postgres fulltext index?

JoeI have a fulltext index on a table. Is it possible to retrieve the set of terms used in the index (gist or gin)? With weights if possible?

@swasheck I just haven't done hardly anything with fulltext stuff. Its just not in the scope of stuff I do
@rfusca fair enough
This is a no brainer, isn't it?
1
Q: Can we have <!-- language-all: sql --> applied by default

Jack DouglasI mean can we have <!-- language-all: sql --> applied by default to all posts where no highlighting is specified of course. I note this would make us different from the rest of SE, but on a site like this I think a SQL default makes sense. The alternative is we go through and set the defa...

@JackDouglas how are you? My first time on The Heap :)
@JackDouglas how? is this a request for the SE admins?
@Mr.Brownstone glad to have you
18:05
Thank you
@Mr.Brownstone hi and welcome - thanks for dropping in :-)
No problem at all, work is strange I can answer questions on forums no problem - can't come here though until I get home! :)
@JackDouglas Yes, syntax highlighting SQL by default makes sense
We were very grateful for your answer on the CLR question - there was some argument about whether it should have stayed on SO so we wanted to show we could give it a better home.
I assume there aren't RDBMS specific formatters available & that's the only one?
18:09
@Phil follow the link in my post to mSO for a list
@Mr.Brownstone how is the MCM coming along?
That's kind of you to say so, I just remember when I was the person who needed to ask those questions. I was just glad that I could help.
not too many of those around in the UK, are there?
No not at all - plus my company won't pay for it:(
To be honest I am wondering whether it is worth continuing on at this point as I am doing the 2008 MCM but it retires next year so I was thinking of just doing the upgrade exams and then sit the 2012 MCM.
What do you think?
I only know the little I remember Martin discussing once. One of these guys might be able to give good advice if they are around: @MarkStorey-Smith, @gbn, @AaronBertrand, @ConcernedOfTunbridgeWells
@Mr.Brownstone I imagine it is expensive if you are paying your own way - do you mind me asking what your motivation is?
Ha, well you may laugh but the honest answer is that I just felt like it :)
I guess I want to see if I can
18:16
Yes, I laughed when I read that :-)
So do most people when I tell them why, it's OK. I thought about trying for the MCA but that sounded like a bridge too far :)
Thanks for your contributions on the site so far - I love to see users who have higher rep over here than on Stack Overflow ;-)
I have to be honest - I didn't even know that this site existed until I joined SO
yes, we are tiny in comparison - but I think we have much higher quality for database contributions over here - particularly SQL Server (and I'm an Oracle guy btw)
5
When you google a SQL problem this site isn't one of the top hits, I must remember to pester my friend at google about that now I'm on here! :-)
18:20
you know Mr Schmidt?
Lol, no - that would be good!
actually, Google is pretty good to us - I wrote an answer earlier today that is the 5th link in this search
just ahead of the highest SO answer :-)
Heh, my comment appears as the link summary :D
@Phil hilarious, and a little bizarre don't you think?
I think the answers on here are good quality answers to be honest. That was the main reason I joined
Hi @Phil
18:24
Hiya
@Phil I see you are an Oracle DBA too! I must admit my only foray into Oracle (which was a home installation) was a complete disaster, I have a lot of respect for DBA's who work with Oracle.
@Mr.Brownstone not all of us are experts ... but the quality and collective weight of the experts here dwarfs the number of people like me. this is a great place to spend some time for different reasons ... 1) if you're a gamma (like me) then you can learn from a wide variety of awesomness, 2) if you're an alpha then you have a chance to rub shoulders with people as smart as yourself
It's not as gruesome as people make out. The fact that it
SQL is easy in comparison! :-)
is hard to learn is a myth
18:28
@Phil right ... like making sure your listener is functioning properly
I guess the big difference is that SQL Server is presented to you using Windows-style tools from the get-go, making it appear easier
5
@swasheck you don't need to even configure it these days. DBs auto-register. It's only if you're using DHCP or need ot do something crazy that you run into problems
@swasheck thank you for the compliment, however I would never consider myself an expert. I am learning all of the time, the first thing I ever learnt was this: You learn by failing!!!
@Mr.Brownstone hah! i've done a lot of learning in the last month
@swasheck replication?
@JackDouglas replication was the easy part. clustering ... evicting nodes ... rebuilding system databases
it was an epic journey
18:34
I'm glad you made it
@swasheck we have all been there. Like I said in an answer that I posted, one of our data centers was flooded when we had all that rain in the UK; I spent 72 hours (no break) rebuilding servers and restoring databases. I would prefer not to do it again but at least it was an experience ;-)
not out of the woods yet. i still have a crippled cluster that is almost un-salvageable (without tremendous downtime). the decision was made to recreate it with new hardware and updated OS and SQL server edition. also, we're going to shed some of its varied workload. all good stuff (and stuff i've been wanting to do since i got here), but it's become a project unto itself and i also run the risk of failure on the primary (read: only) node
@Phil as far as I remember (it was back in 2001) I had no problem with the listener - when I did everything properly. The bigger concern was that I could not swap install CDs, the system never wanted to eject the first volume :)
@Mr.Brownstone indeed. in reading through the comments of @AaronBertrand, i realized that my CLR assemblies were also on a 2005 instance.
i'm ramping up for more problems along the lines of "Can't create tempdb because there's not enough space on the disk." when there's about 75GB free
hell hath no fury like SQL Server scorned
That's definitely odd to say the least! :)
18:55
@swasheck presumably you are catching your breath (and catching up on sleep) before you set that ship sailing?
@JackDouglas TPTB told me that there's no law that says i only have to work 40 hours in a week. they are also pushing for full restoration of HA (understandably so). too many things happened all at once and my head still hurts ... and it was already 2 weeks ago. but yes, we're all catching our collective breath. the real problem is that i dont have a team to whom i may farm out my service requests so that i can focus on this project
is IOPS too localized to SQL Server for this question
5
Q: Commonly Used Terminology by Database Administrators

nojakWhat are the most commonly used terms and acronyms among database administrators and what are their correlated meanings?

@swasheck as in io operations per second?
also ... ID10T and PEBKAC are almost necessary inclusions
@swasheck if you don't mind me asking - what happened?
@JackDouglas yes. as in ...
19:00
I vote for ID10T :-)
@Mr.Brownstone @MartinC is definitely worth quizing if you catch him in here. IIRC he found the exam ok but needed 2 cracks at the lab
@swasheck in which case it isn't localised to SQL Server at all, is it?
A common term in our place is "Seat to keyboard interface error" -)
@Mr.Brownstone SAN migration. data moving along nicely. i moved all of my system dbs through the appropriate methods. i even did them one at a time to be extra careful. there was a problem with model.
19:01
@swasheck If you'regoing to have a list question, shouldn't they all be kept in one answer?
so i checked the file locations and model was either corrupted or unopenable
ORM + terrible table design yields the following query:
@BenBrocka yes :-)
@BenBrocka where's the rest?
19:03
@Mr.Brownstone started SQL in "panic mode" and tried to see where things were located in master and it all went downhill from there.
that selects one row (I actually cut off the one line where clause)
It's just FROM X WHERE Y, those lines are boring
I didn't feel like being paranoid and blanking out the ID value
our backup system didnt have an actual file so i couldnt restore the sysdbs from a backup because i could only start SQL in single-user mode and that user wasnt the one owned by CommVault (backup solution)
@swasheck Ouch!!
@MarkStorey-Smith Hi Mark how are you?
@MarkStorey-Smith I'm not sure Martin has been in here recently enough to hear you - I hope he won't mind me pinging him. @martinc @Mr.Brownstone is working towards his MCM and had a question about whether to skip from 2008 to 2012 if you have a minute?
@Mr.Brownstone Cursing the lazy arse good for nothing "programmers" that designed what would be best described as a form of reverse history/archive table to accommodate name changes. Other than that, grand cheers :)
@JackDouglas Spoke to COTW yesterday, we might try grab a beer next week time permitting
19:09
@MarkStorey-Smith the joys of being a DBA, can never say it gets boring! I had a web-admin come to me today and complain that he got an "Out of Memory" error on his web server. What that had to do with me I do not know :-)
but in the interim my windows sys admin evicted one of the nodes
meh ... in the end the business is runnig and i get my request for refreshed hardware
@MarkStorey-Smith I will keep my diary clear :-)
@swasheck but do your family still recognise you?
@JackDouglas the stroke of luck was that my sis-in-law was here with her kids so she kept the fam entertained :)
@swasheck I am of the opinion that OS Admins should not go anywhere near anything that has a DB on it - I don't care what they say. Our company has the policy of separation of duties though and I have to fight hard to keep my OS Admin rights, unfortunately I think I am slowly losing....
3
someone this one?
1
Q: Restore data from Postgres data files

Gareev KamilGot system with Postgres broken (a RAID is the reason) , without any backups. Trying to put data to another comptuter with Postgres (and make however backup). But always when I set up data directory and run postgres I've got message GET FATAL: database files are incompatible with server 2012-...

19:17
@dezso "without any backups" sigh
I can't really understand what he tries to do
copying failed files under a different cluster maybe?
@Mr.Brownstone that's easier to argue on Oracle I think - especially with ASM.
@dezso if his RAID has failed, how has he got any files to copy?
@JackDouglas I'm a certification-free zone, I'm afraid. Never done one in my entire life. In fact, I've never been on any product-specific training courses as far as I recall (although I did teach some Unix sysadmin courses around 1991 ;).
look like a job for calling someone in and paying them lots of money rather than DIY
@ConcernedOfTunbridgeWells ahhh - didn't know that :-)
thought you were certified ;-)
@JackDouglas Just certifiable.
19:20
Ok need to cook the wife some dinner before I get divorced! Catch you all later! :-)
@Mr.Brownstone Separation of duties is the biggest crock of shit in history. I've seen it in action and it's not a pretty sight.
@Mr.Brownstone bye - and thanks again - don't be a stranger
enjoy your dinner
@ConcernedOfTunbridgeWells I agree entirely! @JackDouglas I'll be back! :)
@Mr.Brownstone It's empire building on a stick.
@BenBrocka Oh, dear.
@JackDouglas We could do the same location in Richmond, or find somewhere that has wifi and organise a distributed shindig per @Aarthi's suggestion.
@ConcernedOfTunbridgeWells it's auto-generated and it's absurd length doesn't really harm anything fortunately. Just annoying because it's dumped to the bottom of the page in my test enviornment
takes up the full page in 1680x1050 (stupid monitor)
19:28
@BenBrocka Doesn't help in troubleshooting it, though.
fortunately it's a generic select *. Anything too complex I dump into a sproc since the auto-generated ORM crap gets ugly fast if you're doing more than simple CRUD
and flat out can't do a bunch of stuff, cursors, ctes, etc
select *?
Yawn. Thought it was 11pm or so. Dunno why I'm this tired
@swasheck technically not, but it's a select grabbing all rows
19:53
Anyone know a company that might be interested in hosting sql fiddle, as a free service?
I would need 4GB of RAM, with at least 2GB available for a windows server (or VPS)
@JakeFeasel Have you approached the stackoverflow people? Seems like a good fit...
nope, not yet
that is a good idea
@JakeFeasel are you choking, or handing off?
@swasheck nope, I just want to be able to run the site without either 1) the charity of my current employer or 2) $200/mo out of my own pocket
I need to spend some time finding sponsors (or something) to actually bring in some revenue
that would also solve the problem
@JakeFeasel Maybe you could ask @AaronBertrand's employer SqlSentry. If you put up an ad for them on the site they might come to the party for $200/month (or more).
19:58
@ConcernedOfTunbridgeWells Ok, yeah I might run that by him. Thanks for the tip
anyone in here right now use BCP for any exporting?
@bluefeet I have within living memory.
@JakeFeasel Speak of the devil.
I am having an awful time trying to get something to export
Hi @AaronBertrand!
20:01
So, you might notice the preceding discussion... any thoughts?
I saw the conversation. I will bring it up. They may only be interested in the SQL Server portion though. You know, because that's our entire customer base. :-)
@AaronBertrand Hmm, well okay we could probably work with that. Anything helps!
Of course, it kind of all comes as a package. I have thought of having some kind of "Fiddle of the Day" promoted, brought to you by X company
in this case, possibly where X = SqlSentry
@JakeFeasel $200/month should be peanuts to them. if they want to advertise on the SQL Server bits for that I'm sure something might be arranged :)
@ConcernedOfTunbridgeWells I know BCP will not work with temp tables, but I have a stored proc that uses dynamic sql to insert into a table. BCP keeps throwing an error on that part of my proc
@AaronBertrand Thanks for your interest. Shoot me an email if / when you hear something : admin at sqlfiddle dot com
20:10
Do you have accurate usage statistics available? We'll be asking for those. :-)
Sure - google analytics. Just checked - last month got 10k visits
Also can it stay where it is or does it have to be moved? Will you continue to manage it or is "might be interested in hosting sql fiddle" equivalent to "might be interested in managing"?
Is that unique or agg?
averaging about 400-500 visits each weekday
it can stay where it is, and yes I'll definitely still be managing it
7000 unique visitors during last 30 days, 10000 visits
distmdl.mdf databases ... lots of google searching, no definitive answer on how to use the db ... especially when it's not attached
Which is slightly down from the previous month
but not much
20:14
Do you track the number of queries (or visits, or both) segmented by platform chosen? If not, is this something that could be added?
@AaronBertrand I can email you an export from google analytics of any metric you're interested in
yeah I keep everything
reports like that are easily built
Hmm, would be an interesting feature of sql fiddle - a method for reading the management database
something akin to SO's data explorer
would become very meta
@JakeFeasel KICKSTARTER!!!!!!!!!!!!!!!!!!
@CadeRoux heh, yeah I suppose that's an option
@CadeRoux totally!!!
:D
20:18
@JakeFeasel Just kidding - they take a cut - you'd be better off running your own, like join.app.net. I mean you already have a site AND people visiting the site daily.
Doitdoitdoit
@CadeRoux I have a flattr account already up there
@JakeFeasel Never noticed that. Never even knew what flattr was. I guess I figured that was like a +1 or Like.
@JakeFeasel Or would you just prefer paypal?
You kids are all talking greek to me
I've been to Greece and I still don't understand!
20:20
@JakeFeasel That would be a button which would make more sense.
Yeah flattr is some European-based service that I stumbled across awhile ago
Anyway Jake I've sent an e-mail. We're definitely intrigued.
@JakeFeasel it's not the same
@AaronBertrand You should try deciphering that question I asked about IEEE-754 floating point on CS.SE for Jack.
@BenBrocka oh I know it's not the same as kickstarter
20:21
flattr is nice for tips, but Kickstarter has momentum, excitement, clear goals, rewards, gamification. You need a project but I bet you could bring in a lot more
full_name | numschemas | numqueries
-----------------------+------------+------------
MS SQL Server 2008 R2 | 11551 | 64623
MS SQL Server 2012 | 911 | 4091
MySQL 5.5.25 | 10098 | 59248
Oracle 11g R2 | 2843 | 21801
PostgreSQL 9.1.4 | 1536 | 8950
SQLite (SQL.js) | 528 | 2641
SQLite (WebSQL) | 308 | 1596
In case anyone was curious about sqlfiddle usage stats
@JakeFeasel flattr's whole sign up and funding is taking too long - send an email to [email protected] and I'll send you PayPal money.
@CadeRoux Wow, okay thanks will do
@JakeFeasel I mean - it's making me think about Euros
@CadeRoux LOL yeah - but it does do dollar conversions too
20:29
@JakeFeasel But what happens after I put money in - it says something about the money being divided up amongst your clicks at the end of the month? I'd like to just send you $50. I mean, I've supported albums and projects on Kickstarter and Pledge months ago to the tune of hundreds of bucks which are still yet to ship.
@CadeRoux Wow, well flattr works by taking a pool of money that you fund, which you then distribute as micropayments to anything you want to contribute to
lol
you know, paypal may be more appropriate in this case
admin at sqlfiddle dot com should work great
and really, wow thanks again
@JakeFeasel did i see the code for the site on github? Vaguely remember stumbling upon something similar
@JakeFeasel I use SQL fiddle every few days and it lets me answer SQL Server questions when I'm away from home office, from a Chromebook, etc. It's something I should support.
20:32
Yeah, it's out there github.com/jakefeasel/sqlfiddle
Think I saw the site linked on reddit a while ago too
@Phil it's popped up on reddit a couple times now
20:47
@CadeRoux that sounds exceedingly complicate
@BenBrocka It's not too bad once you get setup - it's certainly not ideal for a one-time use though (at least as far as I've seen)
Flattr is a relatively cool concept too. Another attempt at micropayment
I think I have a new desktop wallpaper candidate
I figured it was just a tip, like paypal donations or Kongregate's virtual currency+ tip the develoeprs program
@Phil is there a larger, wallpaper-y size available?
@BenBrocka yes, basically
20:53
But it's a tip per-transaction, out of a pool?
@JakeFeasel It would be fine if it was universal and it just tied into your Google +1 or Facebook likes.
@JackDouglas feature-request?
21:17
@JackDouglas Hi @JackDouglas yes he replied in another question meta.dba.stackexchange.com/questions/248/…
22:12
I MADE @AaronBertrand CRY!!!!!
(probably not literally)
WTH network latency
@AaronBertrand I did not know that at all!
This ain't my first rodeo man, I've been using SQL Server since ~1997 :-)
SQL Server won't complain either if you start at a higher value than possible:
Lol, SQL 6.5? I am embarrassed to say we still have a few instances! Good answer though!
22:19
DECLARE @x VARCHAR(10) = 'foo';
SELECT SUBSTRING(@x, 500, 10);
Doesn't complain, doesn't return NULL, just an empty string
LOL, sorry for language but though you all might enjoy: howfuckedismydatabase.com
@JakeFeasel yes ... that makes me laugh
NoSQL option got a chuckle out of me
@JakeFeasel You know what's funny though?
I am actually running nuclear power stations off SQL Server! Ha
That's my Job!
Ha! Funny
22:22
Did make me laugh out loud though :-)
because distributed M/R in Erlang is so much more straightforward than sql
waiting for @AaronBertrand to go nuclear when Max Vernon's answer is accepted
@swasheck on the question we were just looking at?
I want to edit that answer so bad.
yeh
take out the "lol!" at least
c'mon ....
sqlite's gotten better at this
@Mr.Brownstone i win the least-SARGABLE prize
@AaronBertrand is it making you itch? ;-)
22:25
Nope. Going to walk the beagles. Hopefully someone will sort it out before I see it again. cough
Lol, I'm off to bed! It's 11:30PM over in the UK and I'm on call. Must get as much shut-eye as possible! Take it easy.
no meltdowns tonight
No, my boss would not be pleased in the morning! ;-)
22:53
@JakeFeasel Splendid
Would I be the only person that finds answers like this, especially from a "moderator", somewhat absurd?
0
Q: Partition Function vs. Clustered Index

GaTechThomasWe have a table that is clustered on identity/datetime2. It is partitioned on the same datetime2. Are there any reasons to cluster on datetime2/identity instead? I understand the reasoning behind clustering generally, but with partitioning included, do things change?

@jcolebrand Is there any chance of an un-election soon?
@MarkStorey-Smith what are you referring to?
See Q and "answer" linked above
I agree that one sentence answers usually aren't helpful, but in this case, how would you make it better? A diatribe on how the indexing works? Guy says he already knows the mechanics, just not sure if it's highly applicable in this circumstance.
@jcolebrand Diatribe? No. Explanation as to why, yes. Do I expect more of a "moderator"? Yes.
Ok, maybe diatribe was the wrong word, I just meant to impart "long winded and spirited for little reason"
23:03
I think you mean monologue
possibly, but the "without reason" part
Point being
I get what frustrates you, but in this case it's borderline.
I could convert it to a comment, but at the end of the day, it's what the guy needed to know, which is the point to the SE network
@jcolebrand Is the internet a better place for that answer? No. Am I wasting keyboard strokes yet again on an occupier of a diamond slot? Yes.
He doesn't really want to know why that's not needed.
@MarkStorey-Smith then send an email to team+dba@SE or hit @shog9 and mention it to a team member directly. And for what it's worth, in cases that I'm not sure about @Shog9 is one of three people who I ask what to do on the network.
@Mark down-vote it. When you see an answer you think is insufficient, unhelpful, or otherwise bad - down-vote it. Doesn't matter if it was posted by a new user, a moderator, or Zombie Codd - down-vote it.
You can also comment, flag, rant on meta, or ping the author in chat... But first, foremost, and if you do nothing else - down-vote it.
@Shog9 We've gone as far as flagging and removing his irksome answers in the past, behaviour doesn't appear to change.

« first day (589 days earlier)      last day (4577 days later) »