« first day (402 days earlier)      last day (4481 days later) » 
01:00 - 21:0021:00 - 23:00

1:27 AM
Is it reasonable to say "I want data exactly like my sample answer so I'm not going to upvote you?" e.g.
1
Q: Easily show rows that are different between two tables or queries

ErikEImagine you have two different tables/queries that are supposed to have/return identical data. You want to verify this. What's an easy way to show any unmatched rows from each table, based on every column being exactly the same? Assume there are 30 columns in the tables, many of which are NULLabl...

Also is it okay to edit someone else's answer to expand it slightly, or should I post a seperate answer?
 
2:27 AM
I think it's quite reasonable, @SimonRigharts (of course I'm the one that did it). But are we really criticizing now for "explained nonvotes" as opposed to everyone's past pet peeve of "unexplained downvotes"?
If people are just going to toss off replies that don't really answer the full question, they deserve fewer points. Post your own answer if you can do better! Don't help reward someone else's laziness!
I updated my question to be more explicit about needing a result exactly like the example. Thanks for the tip that folks needed some handholding. Done!
 
 
2 hours later…
4:12 AM
@ErikE I think you're being a bit unreasonable, the answer posted had the solution to your primary problem (needing to join on every column). Saying "folks needed some handholding" is a bit rich when you're essentially asking to be handheld to your exact solution.
 
5:08 AM
@SimonRigharts Take a look at Jeff Atwood's blog post on asking your own questions and this Microsoft Connect item (notice the name of the submitter). I'm giving away easy rep here. If no one answered, I was going to answer it myself. But no one has answered to my satisfaction. So yeah, "handholding!"
Actually, I'm not mad. I'm not even feeling snippy. I wasn't even really serious about handholding in the sense of knowing the answer, just in having the quality of answer documented that I came here to get done. I thought your response to my very friendly and lighthearted "hint hint hint" in the comments to be a bit misplaced.
Quoting Jeff:

> So …
>
> - if you have a question that you already know the answer to
> - if you’d like to document it in public so others (including yourself) can find it later
> - it is OK to ask, and answer, your own question on a relevant Stack Exchange site.
>
> To be crystal clear, it is not merely OK to ask and answer your own question, it is explicitly encouraged.
Is it wrong of me to want it be a truly thorough answer, and to be willing to guide others to earning the rep I want to give away, when I could have just answered it myself? You can't judge my "dba" ability by how much rep I have.
 
5:40 AM
Phone ate my last reply, looks like
Anyway, bearing in mind I had no idea about that Connect item (good idea, by the way), I read your comments as "I want the answer without having to do any work for it". My apologies for that, since that's obviously not the case.
@ErikE, that said, why bring rep into it at all? I never mentioned it and it' not an issue for me. Hell, with <1k rep myself, I'm in no position to be a rep elitist or whatever.
 
6:14 AM
@SimonRigharts I brought rep up just to answer back your own charge about me needing handholding. I don't mean to be a pill. I wasn't trying to trick anyone. I just wanted a good answer to a good question that could really help people (it has saved me so much time and really helped me prove that a modified query gives the same results).
 
 
3 hours later…
9:44 AM
@ErikE I've put a comment on your Q. If you want thorough answers, ask a thorough question i.e. provide DDL and sample data INSERT scripts
 
10:07 AM
Morning gents
 
Morning
 
10:34 AM
Quiet morning, everyone trying to get their work done by lunchtime to take Friday afternoon off?
 
@SimonRigharts New iSCSI SAN to test (play) with
 
Ooh. Shiny.
Althought I guess "Glowy" might be a better term with the number of lights typically on those things
 
 
1 hour later…
11:43 AM
hi
 
 
2 hours later…
1:55 PM
@MarkStoreySmith Can I benchmark an ETL process on it, pretty please?
With a cherry on top?
 
@ConcernedOfTunbridgeWells Locked up in the clients lab room unfortunately
 
@MarkStoreySmith Pity.
What spec is it?
 
Its an eval IBM unit, 24 disk I think. 2 tics
 
Any chance of punting a DW benchmarking exercise to its owners?
 
If you could get the necessary software on VM, I might be able to run it up at some point
 
2:08 PM
Maybe I could. Do you have the option of frigging the disk layout?
 
Prior to it going into production yes
 
What hypervisor are you using?
 
This is intended for a new HyperV environment, to support TFS/VS Lab Management
 
@MarkStoreySmith And you've got a server using HyperV to go with it?
 
How very IBM... there is an option in the storage manager software to "Enable high performance tier controllers", which requires further $$ I suspect
@ConcernedOfTunbridgeWells Yup, single hyper-v host for test purposes currently.
 
2:13 PM
Dell and HP make things like this. They're sort of a cross between entry-level SAN and direct attach storage with an external RAID controller. You can get SAS versions of them.
HP and Dell publish white papers on Microsoft's fast track data warehouse site using similar arrays, but with SAS interfaces. They claim pretty good (1600MB/sec) throughput from them.
Are your iSCSI ports 1Gbit or 10Gbit?
 
We're stuck with 1Gb network in the lab currently. Hyperv host has quad port bonded, waiting on the config for device to be checked as I'm only getting .5Gb to it currently
device has 10Gb ports, waiting on switch to be ordered
 
@MarkStoreySmith Could be the stripe size on your array. A 64k stripe would max out at 240MB/sec unless it had an agressive read-ahead policy.
360MB/sec if it had 15k drives.
Do you have a PDF of the configuration or admin guide for it?
 
2:32 PM
I've literally just got my hands on it today
 
I think this type of system might be quite fast potentially, especially with SAS connectors.
Any idea how much it costs?
 
I'll enquire when I cross the building next
 
That would be good. I imagine the equivalent systems from Dell and HP will cost about the same. Pretty much all larger DW-on-SAN configurations (at least the credible ones) go with multiple mid-range SAN controllers like Clariions or something like that, rather than a big monolithic system.
I think these systems are a bit pricier than straight direct attach systems, but the SAS ones are quite a bit cheaper than Fibre channel variants. The case studies all configured them with SAS controllers.
Given that you've got MS and vendors punting this type of configuration in white papers, if they actually perform it might be an easier sell.
 
This does support fc apparently. not sure if its default config or an option. Quick eyeball of the back of the kit earlier suggests a modular approach to the ports i.e. they might be chop and changeable
 
Yes, you can get different controllers with different interface ports. Acording to the blurb they have SAS, F/C, 1Gb iSCSI and 10Gb iSCSI. Maybe they do FCoE as well.
The SAS ones are a bit cheaper, apparently. A bit of google-fu found someone punting a bare SAS one for about £10k.
Although I saw others from about £2,900, so it's a bit hard to say. I'd believe £10k for a SAS one with on-board RAID, though.
If the on-board RAID actually peforms it might be a reasonable bit of kit.
The cheaper ones may just be JBOD expansion units with no local controllers.
Need to get the actual part numbers for the specific confits.
 
2:49 PM
Oy, yay meetings.
 
@ConcernedOfTunbridgeWells Do you want eyeballs on the SQLIO tests when done? I'm running the standard battery over a 16 drive R5 at 64 and 128 stripes.
 
Wouldn't hurt.
I think a HP P2000 with SAS controllers and 24x146GB drives seems to be about £16K.
A bit dearer than equivalent spec DAS, but not outlandishly so. As I said, if they perform half-decently they might be a goer.
Can you do a streaming I/O test? - are the drives 10k or 15k?
480MB/sec would be about right for an array of 16x15k disks with a 128KB stripe.
Actually about 512MB/sec. You'd get 128KBx250 = 32MB/sec per drive.
 
 
1 hour later…
gbn
4:02 PM
@ConcernedOfTunbridgeWells: LinkedIn invite sent.
'afternoon all.
 
howdy @gbn
 
@gbn Can't see it through the firewall. I'll take a look when I get home.
@MarkStoreySmith - any chance of giving me the data dump before tomorrow?
Does @JackDouglas have a linkedin account?
 
gbn
@ConcernedOfTunbridgeWells yes
 
Maybe I'll stalk him and see if I can find it.
 
I should put my linkedin in my profile...maybe then I'll have a reason to use it
 
gbn
4:14 PM
@ConcernedOfTunbridgeWells he's a connection of mine
 
OK.
I haven't used it fo rmuch - I set it up a few years ago and then never did anything with it. I've really only just started setting up connections on it quite recently.
 
gbn
@BenBrocka I'm a fan of it. I got a job offer through it a few weeks (but took another). And folk do look you up
 
Honestly twitter has been a better job finding tool for me than linkedin, but I think they actually found me via UX.SE
 
gbn
I've also used it to check up on "who knows this candidate" when I was a hiring bod
@BenBrocka My SO+DBA profile has also opened doors for me in Malta
 
I just wish SO.Careers was a bit more general. not set up well for UX, though my sorta-relevant programming experience fits in there well
 
4:17 PM
So, looking up JD took about 4 minutes. So if I can connect to him, you lot should be able to easily
 
I gess there's nothing too unprintable in my SO stuff. I could start slinging it around as a reference.
 
@BenBrocka Then you should post a Meta Stack Overflow Q about it
 
gbn
@BenBrocka it's pants for non-US, or non-London
 
@jcolebrand It's already been addressed, sort of.
 
I'm US so that's not a problem. It didn't seem country specific though, do you just mean not many employers outside there look on SO careers?
Most of our traffic is US but there's lots of international as well
 
4:20 PM
@TimStone but it's NOT :p
 
Yeah, but the answer was "One day...!" :P
 
@TimStone that is distinctly not six-to-eight weeks
 
2
A: Is Careers for system administrators, too?

Tall JeffThe primary focus of the Careers services at this point is on programmers and programming jobs. The job listings are "syndicated" both on Stack Overflow and Server Fault because of the overlap in the audience and also because it's not uncommon for system administration jobs to be posted by employ...

Solution: Get really big and attract a wide-audience for your topic-specific site, then wait six to eight weeks.
 
My sum total of achievements for this week: one dimension and one fact table mapping. Most of this week spent waiting for permissions to get set up so I can deploy to my development environment.
I'm also beginning to recover my deeply repressed memories of OWB development.
The clowns! The clowns!
 
One dimension? I've had 3 for years!
 
gbn
4:24 PM
@ConcernedOfTunbridgeWells Friday. Get wankered, Fuggetaboutit.
 
@gbn Pretty much. I can make a cube on monday.
I guess I've brought at least a modicum of intelligence to the business this week.
 
@ConcernedOfTunbridgeWells a rotating cube, I hope
71
Q: Is this rotating cube interface user-friendly?

Peter OlsonI'm working on a prototype for an innovative form interface, where different parts of the form are shown on different sides of a cube. The cube rotates, and the user can fill it out as the cube spins. Here is a working example. To me, it seems like a pretty robust solution to our problem (i.e., ...

 
@BenBrocka I think 3D user interfaces were invented by people who had the same level of insight as the people who invented light pens.
Well, 3 spatial dimensions anyway - 2D + stacking order is still a 3D user interface.
Unfortunatly I think most of my intelligence is dribbling out of my ear these days.
 
Light pens were brilliant!
Sketchpad (aka Robot Draftsman) was a revolutionary computer program written by Ivan Sutherland in 1963 in the course of his PhD thesis, for which he received the Turing Award in 1988. It helped change the way people interact with computers. Sketchpad is considered to be the ancestor of modern computer-aided drafting (CAD) programs as well as a major breakthrough in the development of computer graphics in general. For example, the Graphic User Interface was derived from the Sketchpad as well as modern object oriented programming. Ivan Sutherland demonstrated with it that computer graphics...
 
@BenBrocka Beware the gorilla arm
 
4:28 PM
you just mean pen input in general? The actual first light pens were a massive breakthrough in graphics and direct manipulation
Of course in the 50s and 60s ergonomics weren't the first thing to come to mind when discussing computers
Besides, you had to have a working light pen to discover gorilla arm, it was a completely new interaction
 
There's quite a good cartoon about the hologram user interface on Minority report with a caption that went something like 'Lady you've got all the qualifications but I'm afraid you just haven't got the upper body strength to do the job'.
Using light pens for 8 hrs a day was actually quite hard work.
 
Which is why modern pen inputs generally let you rest your arm, like Wacom tablets or tablet PCs that fold flat
 
Easier to do with flat screens.
 
True, CRTs are silly
 
They haven't been a mass-market technology all that long, though. Outside of laptops they've really only been a mainstream technology from the mid 2000s.
 
JNK
4:37 PM
CRTs has a good long run
 
They were the only available technology ca. 1970 when the first CAD systems came out. CAD is a surprisingly recent technology.
 
The pace of technology :P In only 10 years CRTs have become ancient and absurd
 
It got a lot of fanfare in the 1970s-80s but the first practical CAD kit really only came out in the very tail end of the 1960s.
CATIA started out as an in-house system made by Dassault and it's still a market-leading product.
@BenBrocka I couldn't really afford a high-spec LCD screen before I came to the UK in 2004. They're much cheaper now.
 
@ConcernedOfTunbridgeWells I've been trying to fit that in between other jobs today... I'm on it
 
@MarkStoreySmith Cool. I'll try to take a look at it tomorrow. I take it you've got my email address.
 
4:42 PM
Is there some way I can make SSMS not display the rows when I perform a select? That seems to be throwing off my query times for large selects
 
select into a temp table?
 
@BenBrocka Theres a "discard results" option somewhere
 
Ah, that's better, thanks
 
I don't think SQL Server has a /dev/null equivalent.
 
query options, results, discard results after each execution
 
4:44 PM
Query->Query Options->Results.
There's a discard results check box
 
ah, yep just found it
 
@ConcernedOfTunbridgeWells Just looked it up on linkedin
 
Surprisingly displaying 3,000,000 rows graphically ads to query time
 
@MarkStoreySmith great way to troll on your co-workers
 
@NickChammas lol
 
4:45 PM
Oh noes!!!11! The DB lost all its daterz!!!
@BenBrocka and SSMS memory consumption
 
@NickChammas or they think it updated/deleted instead of selected, it still returns the affected count
@NickChammas don't really care about that. just care about accurate query times
 
I wonder if you can frig the setting through group policy - I bet SSMS squirrels it away in the registry somewhere.
 
shudder the registry
 
I love the registry
I just don't care for how most people bastardize the use of it
 
@jcolebrand I'd just like to see the registry on my computer here so I can troubleshoot an ODBC connection. Supposed to have local admin rights, but the local definition of this seems to be at odds with the conventionally accepted meaning. Yet another access request.
 
4:51 PM
@ConcernedOfTunbridgeWells yoy
 
@jcolebrand Welcome to the home of overreaching, dysfunctional I.T. policy.
 
I'm so effing lucky at my job.
 
@DTest i just copied the value for socket in my.cnf to php.ini for mysql_socket and it worked
 
I'm glad we don't have that, we have an overzealous web filter though
The W3C site was blocked for I forget why
 
@lovesh great news!
 
4:53 PM
triple widescreen HD monitors, 22" and larger, a quad Z with 6GB of RAM waiting on me to ask for 6GB more or 18GB more ... whatever my pleasure is when I need it (which will likely be soon now that they're working on perfecting the MS SQL deployment automations)
 
You get this at this type of racket - Every time it takes quite a while to get a dev environment up that's even remotely fit for purpose.
 
@jcolebrand jealous
 
@DTest you know but i tried to set the default value for sockets in my.cnf and they dont work.
any clues?
 
probably the same reason setting datadir didn't work, but it worked when you set it in /etc/mysql/my.cnf
 
@jcolebrand I don't think I've worked anywhere that furnished kit with as high a spec as my own desktop for some years now.
 
4:55 PM
When using an aggregate function do I need to Group By all columns in my where clause too (I'm not SELECTing them). I get an incorrect comparison if I don't group by
 
@ConcernedOfTunbridgeWells seeing as how my "desktop" is a 3 year old laptop, I'm glad I don't have that problem.
 
gbn
@ConcernedOfTunbridgeWells my new place is a new company., top of the line HP kit: they haven't skimped
 
@jcolebrand Actually I've had quite a lot of trouble getting servers that were as powerful as my desktop.
 
gbn
apart from the SSD
 
@gbn I like my XW9300 - a bit long in the tooth now but quick I/O still. Occasionally I think about geting a Z800, but I haven't really felt like shelling out quite that much money.
Never had a work site that would furnish kit of that spec though.
 
4:57 PM
@ConcernedOfTunbridgeWells I've been working out a local development process based on your answer...the theory of it is turning out nicely. Will wait to see what the actuality of it is. Thanks!
 
gbn
@ConcernedOfTunbridgeWells I duuno what model it is. Whizzy though for a corporate
 
Will probably offer a bounty on it when I can to get some more notice or other opinions on what others do, or have done...before accepting your answer.
 
@DTest I've made it work with a data warehouse and an insurance policy admin system. It should work with a web app.
@gbn Probably written on the case somewhere, but it doesn't really matter. I think my next generation of kit can be quite a bit less big and clunky than what I'm using now.
Anyway, got to go and catch a train back to Woking now. Toodle pip.
 
i love brit phrases
And I won't stop saying that as long as you guys keep using them :)
 
Toodle pip is quite an archaic phrase - not really current vernacular any more.
 
5:01 PM
@DTest in /etc/mysql/my.cnf the socket variable is set 3 times once under [client] then under [mysqld_safe] and then under [mysqld]. i changed those to default under all 3 but now mysql does not start
 
gbn
@ConcernedOfTunbridgeWells TTFN
 
@DTest You could try saying something like 'Y'all come back now, y'hear', I suppose.
 
@ConcernedOfTunbridgeWells and I do...often
@lovesh then turn it back and see if it starts. If you got it working in php, revert so that it works again in php and call it a day!
 
5:14 PM
@DTest one last favor. can you forward me to some link which explains what is this socket stuff that mysql uses. i tried googling most talk about the cant connect to mysql error. Thanks
 
0
Q: Single Identity column and composite key, which to make primary?

Ben BrockaI've got a table that's a working copy subset of a base table. The base table has a composite key with a clustered index. However I need a single column unique identifier for my framework to work with the table. Both keys are completely unique, and I'll need to make a clustered, unique index on ...

 
@lovesh the best I can do is give you a link describing socket option but it's a Unix file that allows mysql connections without going over TCP. You could begin your search by researching Unix sockets
 
ok
 
@ConcernedOfTunbridgeWells I confess to using "toodle-oo" still
 
5:45 PM
Are people generally getting dumber, or lazier, or both?
And no, I am NOT talking about anyone in here. :-)
 
gbn
5:58 PM
@AaronBertrand all of the above. The internets what does it
 
@AaronBertrand Both. Although I sometimes wonder if those traits are very closely related
Dumb looks lazy, lazy looks dumb
 
it's the parenting
(dunno what you guys are talking about, but I'm sure the WSJ has the answer)
 
@MarkStoreySmith i'm for it; pushes the quality and completeness of answers up through gentle prodding
 
He's missing the point and I'm lost as to make it clear.
 
6:19 PM
@MarkStoreySmith I saw the sql server tag and declined
 
@DTest Its a kind of meta issue around the Q and OP, rather than the topic
@DTest have a read of the comments
 
JNK
@AaronBertrand yes.
@MarkStoreySmith I like that he thinks he can hold everyone hostage for 15 rep
 
@Mark I left a comment against the question.
 
JNK
HintHint nobody is working as your consultant
 
@AaronBertrand ta muchly
 
6:25 PM
"Do i just edit his answer the way I want it"...i'd say yes and be done with it :)
thoughts?
 
@JNK Yeh I'm lost as to the thought process at work here
 
JNK
i think he means well
but is really confused
 
@AaronBertrand Your last comment was exactly the thought I was having! :)
 
JNK
and maybe is a little wrapped up in himself
 
Give me that hellban button now please!
 
JNK
6:27 PM
@AaronBertrand - I pitched SSPS today but had to delete the answer
thought you would appreciate it til it was gone
hola Erik
 
@JNK I didn't see that, which question was it?
 
JNK
@AaronBertrand deleted it, but I'll post it here
@ErikE - it is but not in the way you went about it
 
@ErikE You do seem to be missing the point on what makes a good question, a good answer and a good contributor to a SE site
 
JNK
the perception I think most of us had is you were being more than a little condescending and misleading with the Q
 
6:30 PM
@ErikE I totally agree with the others. Why do you need to point out how someone was close but not good enough?
 
"My question is of very high quality" is your opinion and to be honest, its not shared with the majority of the old hands sat in here
 
I love this technique, I've used it a lot lately, it is really slick and saves me a lot of effort and time. I wanted to share it with the community, but this isn't a blog, it's a question-and-answer site, so I asked the question. The answers I got back weren't what I was looking for, and the difference between the two was minor. I thought a friendly "hint hint" (was THAT the problem--did that come across wrong?) would fix it in two shakes of a rabbit's tail.
 
JNK
@AaronBertrand on this q:
2
Q: Do operations on indexed views happen in parallel?

bluevoodoo1When I'm inserting into a table that has a view with a clustered index, the estimated execution plan appears to do the table insert and the view's clustered index insert operations in parallel. Is this true? Why do the %s not add up to 100%? Below is somewhat of a contrived example. /* DROP ...

 
I suppose I felt resistance to just fixing up someone else's answer to satisfy me (that felt wrong somehow)
 
JNK
I had this to answer the second part:
This is a known bug with the SSMS execution plan module. Basically it has issues doing math sometimes. I've had exec plans with individual operators showing in the 100,000,000% range. There's a good (free) utility called SQL Sentry Plan Explorer that Aaron Bertrand will come by and plug shortly, I'm sure. It fixes most of the known issues with the SSMS version and adds some new ones.
 
6:31 PM
Apologies, I'm due at the pub for a leaving drinks. Have a good evening folks
 
JNK
there was a link there
 
"hint hint" is condescending. And why not just blog it? Why did you have to ask the question here? If nobody else was asking the question, do you think people would suddenly care?
 
JNK
see ya mss
 
Perhaps the "I won't give you the answer until you satisfy me" is the wrong attitude. But then, I wouldn't have accomplished what I had asked the question to accomplish, so now what? Just answer it myself and piss on other people's contributions that came so close?
 
JNK
@ErikE "Hint Hint" was condescending
 
6:32 PM
@JNK why did you have to delete your answer?
 
Evidently it was.. I didn't mean it that way.
 
JNK
a better approach would be: Post the Q, post YOUR solution right afterwards as an answer, then see if you got any different/interesting alternatives
 
Nobody cares about the 15 rep points. You treated a bunch of people with disrespect IMHO.
 
SHIT
 
JNK
@AaronBertrand - first part was wrong, since it wasn't a parallel operation. I totally misread the original exec plan, and martin pointed out it was sequenced which I missed
@ErikE - no need to freak out. Deep breaths :)
 
6:34 PM
@AaronBertrand idk, the whole point of asking a good question while knowing an answer is to generate traffic to the site. But, I don't know if the question was worded right to get people asking a similar question to the site.
 
@ErikE no worries brah; just focus on the question and delete any comments you feel were misinterpreted
and bam, everything is right as rain
 
JNK
@AaronBertrand also notice martin uses SSPS in his answer :)
 
gbn
@MarkStoreySmith ciao
 
forgive me if I'm skeptical on the no worries bit, but thank you.
 
@DTest that just seems wrong to me. If I have a solution to share, I'm going to blog about it, I'm not going to dupe people into believing I am asking for help, unless I really am genuinely interested in seeing if anyone has a better approach or can spot any issues with mine.
 
JNK
6:35 PM
@ErikE - seriously it'll be OK.
@AaronBertrand - it could be good to have on SO or DBA though, since the google-fu is so high. It could reach more folks than if a commoner such as myself or Erik posts ir on our blog.
most folks are happy to get a dozen hits a day on a blog post like that
 
@jnk agree completely, both on google-friendliness of the SE sites, and wanting the hits on a blog post :)
no reason you can't do both!
 
I still feel like if you have a question and you know the answer, it's quite misleading to post only the question and wait until a bunch of folks have invested time and effort before you tell them you already know a better answer. Now that makes it tough to down-vote the question because you didn't do your research, but there's a difference between doing your research and being up-front about it.
 
@AaronBertrand No duping required. As already noted, asking and answering your own questions is okay and encouraged. Erik should've posted his own answer alongside the others before the commenting etc, but apart from that it's ok.
 
6
Q: What do people think about answering your own questions here on dba.se?

Jack DouglasSince asking this question and answering it myself (having read Jeff Atwood's take on this on mSO), I've done a little more reading and realized it is somewhat controversial. I guess each community decides for itself how it feels about this practice. How do we feel about it here on dba.se? Do w...

 
@AaronBertrand how do you know your answer is better before you see others? others will also have something to learn from the "inferior" answers
 
JNK
6:41 PM
@AaronBertrand agreed, which is why i think he should have put up his own solution right away
 
for example: alex posted this answer dba.stackexchange.com/a/12389/2660
the question was already solved, but he posted it anyway because others may find the technique useful elsewhere
 
So is the primary purpose of this site to help people solve problems, or to generate traffic?
 
JNK
to help people solve problems
 
solve problems
 
JNK
both current and FUTURE people
 
gbn
6:43 PM
@AaronBertrand the former. The latter will flow from that via Search Engines
 
JNK
you may help more people in the long term by putting it here
instead of on my measly little blog
 
@JNK exactly
the asker is far and away NOT the only person who will benefit from asking the question
 
JNK
if it were just about helping the op solve their particular prob we wouldn't have a too localized VTC reason, or allow edits to clarify, or anything else like that
the wikification features are all to make the Q and As artifacts that hold up over time
 
@JNK exactly. that's why many people will post helpful answers long after the original asker as accepted a solution
 
JNK
yep, or post a new answer to an old Q if a new version or something makes a new solution possible
 
6:45 PM
@JNK wikification and editing too
 
gbn
Traffic is coming too, not least IMO because we've done a lot of migrations of Qs. Folk are learning to come straight here to ask stuff. And they get a better class of eyeballs and more considered answers.
 
Still think if that's what you're trying to do ("help the little people") you should put your answer as part of the question, not as another element that other people can vote on. Then your intentions are clear up front. If you have a great question that happens to include a good answer, then the question should get voted up. Now you are preventing potential responders from duplicating work and having answers that are very similar just because you weren't up front...
 
I am really sorry I did it so badly. You can be sure if I ask a question again that I know the (an) answer to I will post it immediately. I thought it sportsmanlike to give others a chance to get the points.
 
JNK
@AaronBertrand I agree in concept but I think to make it more readable it's good to have them separate
then the Q and the A are obvious
 
@ErikE you still seem to be assuming that nobody will come up with a better answer than you, and that everyone who is voting on all the answers has the same opinion as you about what answer is "best" - this is quite subjective.
 
JNK
6:47 PM
as opposed to putting it all in one post. But I do think it would be good to have: This is my issue.....blah blah blah....I'm posting a solution I used but am interested to hear other thoughts
 
@AaronBertrand I disagree that the answer should be part of the question body. The OP can say they already have an answer in a comment on their question and then post their answer, you know, as an answer as soon as they can (there are time limits on when you can answer your own question).
 
JNK
@ErikE - @AaronBertrand makes a good point. It seems a bit egotistical to think that nobody else will have a superior solution. that's the wrong way to go about it
 
@erike that meta question i linked, the most upvoted answer gives the OP the option to answer or wait. I tend to agree with that, but also put in the question (if you choose to wait) that you have a solution but want to see how others would accomplish it
 
JNK
you're starting with a process already chosen. That's a great way to miss out on learning new things :)
 
gbn
@ErikE Interesting comment, given the quality of folk posting and answering here. Especially if you look at the profiles across all SE sites
 
6:49 PM
@Nick what is wrong with having the OP's answer as part of the OP's question? Other than making the question slightly longer this makes it clear immediately that the OP has already tried x, thinks it's the way to do it, but is looking for you to poke holes or come up with something better. If the answer is separate, I am highly unlikely to notice that it's the same person.
 
gbn
@AaronBertrand I agree. Shouldn't be separate
 
JNK
I just think it makes it more readable to have them separate
but add a comment to body of Q to indicate you are self-answering
 
@AaronBertrand The OP should definitely say in the question "I tried this and it didn't really work. I also looked at these things that helped." If the OP has a full answer then that should be a separate answer to preserve the semantics of the post. You can link to the answer, you can edit the answer, etc. It's a separate entity from the question so it should be posted separately.
@AaronBertrand And if you don't notice the answer is by the OP, so what? What are you losing there? If you like the answer upvote it. If you still feel inspired to post your own solution then go ahead. If the answer is good enough then you're done.
here's a question jack asked
to which he already knew the answer
 
JNK
@NickChammas could be misleading, I see his point on that
 
@JNK I think I just have different readability expectations / requirements. I also can't believe how much teeth pulling I have to do to get people to post sample data, desired results, table structure, etc. And then how many people respond with a screen shot of their grid results in SSMS <facepalm>
 
6:53 PM
@NickChammas i like that distinction. if it's a full answer that works, should be an answer. Community can bash it full of holes by comments on the answer/downvotes
 
actually, to which there were already several answers, but for a different platform
14
Q: How to implement a 'default' flag that can only be set on a single row

Jack DouglasFor example, with a table similar to this: create table foo(bar int identity, chk char(1) check (chk in('Y', 'N'))); It doesn't matter if the flag is implemented as a char(1), a bit or whatever. I just want to be able to enforce the constraint that it can only be set on a single row.

 
I figured that the answer I was looking for would be trivially easy for people here and they would get it, or even surpass it. I had no idea I was setting anyone up in a bad way.
 
JNK
@AaronBertrand yeah that makes me nuts too
 
@AaronBertrand right, or posting contents of error logs :(
 
JNK
@AaronBertrand hopefully you are aware of the excellent canned comment scripts you can get?
to allow you to select from a list of editable pre-written comments for very common things
 
6:54 PM
@Aaron I'm pretty sure the admins of SE have said that asking a question with the answer in it is not welcome.
 
@AaronBertrand I'm all for posting full DDL and code where appropriate in the question, and have recommended many times people use gist to post large blocks of code without cluttering the q. Dunno how that responds to my point about splitting the question and answer for similar readability gains.
 
@Nick the reason I think it's important to distinguish or make it obvious is that I am more likely to help the OP with his version of the answer than other people who post answers that I think are OK. I tend to point out obvious flaws in others' answers, but I spend more time on the OP's code.
 
JNK
I have one which basically says "Welcome to stack overflow. What have you tried? If you want to do code-by-request please hire a consultant. This site is for specific help with specific programming issues"
 
@Nick I was responding to JNK.
@ErikE what do you think is the difference between "here is the sample code I've tried that returns an error or the wrong results" and "here is the sample code I've written that I think is super awesome"?
 
JNK
So everyone agrees we should ban ErikE then right?
gavel
Meeting adjourned
 
6:56 PM
Ok good, I have real work to do
 
@AaronBertrand I see your point.
 
JNK
Me too unfortunately
what do you do there Aaron?
internal consulting?
 
You mean what do I not do? :-)
 
JNK
lol
 
Yes, mostly. Public face, testing, features, testing, blogs, testing, speaking, validating, evangelizing, testing, etc.
 
6:58 PM
@AaronBertrand Ah, I wasn't sure. (Did you know you can click on the return symbol to the far right of each chat message to respond to that specific message? The message you're responding to becomes highlighted to others to hover over your response.)
 
@NickChammas @Nick no I didn't, that is far from intuitive but I'll try it. Yesterday was my first time in this room.
 
JNK
do you do any testing though?
 
Look at that, I already messed it up.
 
JNK
hehehe
 
@JNK I don't do a lot of testing, no. We have varying cycles of build/test/build/test. I help mostly with SQL Server 2012 compatibility.
 
7:00 PM
@AaronBertrand Oh, well welcome! I use you to tell people on SO that we have good developers on DBA.SE. :) (And yes, that :number gets converted for you to the name of the person you're responding to.)
 
JNK
good deal
 
@NickChammas I try to be active here but quite frankly there's a whole lot more action on SO (though that comes with a lot of undesirable behavior too, such as the random drive-by voting I was whining about yesterday, which doesn't seem to happen here).
 
@AaronBertrand You're in RI, right?
 
@NickChammas yes Woonsocket
 
JNK
7:01 PM
it's easy to be active on DBA.SE since you basically just refresh the main page every 15 mins or so
to see if there is a new Q
 
i went to high school in Providence
 
JNK
not like on SO where I need to save all the custom filters and stuff
 
@JNK I just have a bookmark on my toolbar that points to newest sql-server-* questions. I get some filler in there (like the CE nonsense) but that works pretty well.
 
later y'all. time for lunch
 
JNK
@AaronBertrand I filter on SQL Server, SQL, and Powershell
 
7:03 PM
i'm gonna head out too
 
@NickChammas I moved to Newport from Ontario, Canada when I was 23.
 
JNK
buh bye
 
@AaronBertrand Very nice place, that Newport. The mansions are beautiful. I'm up in Boston these days. Anyways, catch you later around these parts.
 
@NickChammas I worked in Charlestown for three years. That commute SUCKED.
@NickChammas luckily I only did it two days a week.
 
JNK
we have an office in boston area i had to go to once
nightmares still about the drive
 
7:06 PM
@JNK everybody says they're traffic is the worst. I've experienced quite a bit and aside from LA I would say Boston is the next worst.
Wow their not they're
 
JNK
you can hit up arrow to edit your last post :)
i would imagine LA is worse
ive also heard terrible things about atlanta though ive only ever passed through
i deal with NYC outskirts traffic here in CT though which is also no picnic
 
95 through CT is bad, especially since it is two-lanes and everyone drives 45 in the left lane. Atlanta isn't so bad, they actually have a nice loop, I think congestion is caused when people stay on the loop too long, miss their exit, and get confused when the highway changes from N to E to S to W to N again
ok really leaving this time
where's the exit button?
 
JNK
HOLD ALT- and press F4
it'll get you right out
* wave *
 
7:24 PM
@Aaron do you think there's anything wrong with asking a question that you think you know a super awesome answer to? I am excited by this technique. I want to add value to the site by sharing it. I'm not seeing any problem that I asked without feeling that I was stuck in any way... ?
 
JNK
@ErikE I know you asked aaron, but I would say as long as you disclose in the Q that you are going to be answering as well its OK. Just don't prejudge other answers because they differ from your own solution. They could be perfectly valid as well.
 
@ErikE It's in our FAQ that ut's cool to ask and answer your own question
The site just doesn't let you accept your own answer for a little bit so other people can answer too, they might have an even better answer.
 
8:18 PM
@gbn Wot no mullet?
 
@ConcernedOfTunbridgeWells I've got data! Will send an email when I get back tonight. Honestly, I won't be offended if you look at it and think "WTF am I supposed to do with this!" :)
I'm really not sure there is anyway to present this with whizz-bang
 
@MarkStoreySmith I'll take a look at it. Do you have any idea of the actual content?
BTW, if it's >65536 rows can you make a CSV. Just realised I don't have XL2007 here either.
 
I've trimmed it down to 2009-2012-02 data, which is 60k rows (csv)
 
@MarkStoreySmith OK. I can do a larger CSV, but i've only goot XL2003 here, so I can't read an XLS with more than 64k rows.
I should really upgrade to a more modern version of office, I think.
 
Got the pie-in-the-sky doc from a BA which includes screenshots from the green screen app they use now
@AaronBertrand I think you're on to something there. In this case the Q would of been better if it was phrased in a "I do X using technique Y, what alternatives are there?" style
 
8:26 PM
@MarkStoreySmith Send it through. It might be possible to discern some of the requirements from it, and make up a POC that approximates a few of them. Are you OK with demoing on Proclarity?
 
Cross that bridge when we come to it :)
 
As in doing a demo showing setting up some charts and crosstabs off the cube live - 'whipping it up quickly'.
 
Honestly, there isn't much to work with here
 
@MarkStoreySmith Generally the thing that puts jaws on the floor with OLAP is whipping up a report in a couple of minutes in front of them.
My notional strategy is to try and abstract some of the requirements from the doc and then work up a script where you can build a couple of the reports - or something fairly close - on the fly.
Basically a pre-sales demo. - 'look how easy it is to make reports'
 
Remember this is unfortunately rolled up data. What we've got is the summarised data which is produced by an ancient cobol prog and dumped to a table. I've explained we could do more with the underlying dataset but it can't be provided at the moment
 
8:32 PM
That's OK, as long as there are a few dimensions we can extract from it.
If we've got date and 2-3 dimensions we can demonstrate slice and dice. Bonus points if there's something with a hierarchy that you can drill into.
 
Train heading into mobile blackspot... will email later. Cheerio folks
 
@MarkStoreySmith OK.
 
8:50 PM
'allo @Rachel ;-) ~ Need to distract the non-regulars :p
 
JNK
:)
 
5
Q: Why is IDENTITY_INSERT ON only allowed on one table at a time?

Ben BrockaIt is the case that IDENTITY_INSERT can only be set to ON in one database table at a time, but why? Since IDENTITY columns aren't globally unique I can't think of any dangerous situation that could be caused by inserting identities into more than one table at the same time (at least not more dang...

 
01:00 - 21:0021:00 - 23:00

« first day (402 days earlier)      last day (4481 days later) »