« first day (881 days earlier)      last day (4285 days later) » 
03:00 - 21:0021:00 - 00:00

 
2 hours later…
05:41
Hi guys
Do you think this question could get more attention from this here crowd?
2
Q: GUID vs Identity for use with tags

bendataclearI know this subject has been discussed at length (I have read lots of posts here and all over the web) and I don't like to flog a dead horse but I have a question about a more specific aspect of Integer ID vs GUID: I am writing out a schema which is going to have a tagging ability similar in use...

Seems to be addressing an issue that's more on topic here, but I realise that the open bounty it's got is probably not transferrable
So maybe someone with enough expertise could answer it now and we could move it over here later?
05:54
only one more vtc needed
-2
Q: Can't login phppgadmin

OTARIKIWhen I am trying login in phpgpadmin, always shows login failed, yesterday (and in past days) phppgadmin was working good, but now I am can't login. If use same username and password via php code, it connects to postgreSQL DB succesfully, but in phppgadmin can't login. What may causes this prob...

06:43
good morning
gbn
gbn
07:02
@FreshPrinceOfSO Living the dream, eh?
Howdy folks
 
6 hours later…
12:33
@gbn i'm too young for this sh!t
JNK
JNK
12:55
I have maybe the ugliest execution plan I've ever seen
13:40
So Brent has cornered the DBA market and is trying to generate mass appeal among the developers now, eh? Good for him
@swasheck im not smart enough to understand what you says, but i wants to workz for him
@AaronBertrand I'm probably late to the party, but congrats on that diamond!
@AaronBertrand can't that wait or make a SQL Server ME ?
gbn
gbn
@AaronBertrand How was your column trip?
JNK
JNK
13:48
uggghhhh why am I getting a stack dump when I added an xml index to a table
gbn
gbn
Or am I late to the mod bait?
@JNK Take the rest of the week off. Monday morning and the week is always down the toilet
@gbn my column trip was excellent. Alaska had row temperatures (75 and sunny in every port).
gbn
gbn
@AaronBertrand 24 in global temperature units. Warmer then here. Unseasonally chilly now
well, no more then 22 or so.
@JNK Ugh. XML; don't remind me. Failed that on the exam
Brent has some good descriptions of the features that are otherwise marketing-buzzwordy:
JNK
JNK
13:56
So, can someone help me real quick
I can put this as a Q if needed
We added XML indexes to two tables that are pretty much identical
it works perfectly in DEV
in QC, when we query either of those views we get: Msg 0, Level 11, State 0, Line 0
A severe error occurred on the current command. The results, if any, should be discarded.
What version? Many "severe error" things are fixed as soon as Microsoft gets wind of them.
And I mean specifically @@VERSION
JNK
JNK
10.50.2500.0
Microsoft SQL Server 2008 R2 (SP1) - 10.50.2500.0 (X64)
Jun 17 2011 00:54:03
Copyright (c) Microsoft Corporation
Enterprise Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) (Hypervisor)
Dude you need to haz a service pack 2 at the very least
gbn
gbn
Agree
JNK
JNK
Microsoft SQL Server 2008 R2 (SP1) - 10.50.2500.0 (X64)
Jun 17 2011 00:54:03
Copyright (c) Microsoft Corporation
Developer Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) (Hypervisor)
that's dev
gbn
gbn
14:01
in other news, CU4 for SQL Server 2012 SP1 came out. Fixes this: support.microsoft.com/kb/2830400
I chased my tail with log growth on a little used DB in simple recovery a few months ago
Grrrrr
JNK
JNK
hmm so SP2 is the answer, or at least first step?
I don't administer these I just write the SQL
gbn
gbn
@JNK quite often, Check out the release notes for the SPs
I skip CUs quite often unless I have an issue to be fixed. But never an SP
I'd say SP2 + SP2 CU6. You can check all 6 CUs for references to fixes to severe errors, but note that not all fixes are publicly documented (depends on who reported/found them and what impact they have).
@JNK the individual CU KB articles are listed here: support.microsoft.com/kb/2730301
JNK
JNK
can a low memory ceiling be an issue?
looks like QC is set to 6GB max memory
@JNK possibly but that shouldn't lead to severe error, maybe a spill or different plan choice
JNK
JNK
14:14
hmm
im at a loss
I can't query most DMVs in QC b/c of my rights
gbn
gbn
@JNK this error has several questions on SO
@gbn unfortunately it's a rather generic error that masks a lot of issues, like 18456.
gbn
gbn
@AaronBertrand true
Multiple AFTER INSERT triggers
-1
Q: Wrong queue of events in TRIGGER

Rafael - Junior MVC DeveloperI have got table person which have got 2 triggers (if data is inserted, triggers make update) all triggers are after insert later I insert information about events to other table and I get (Update, Update, Insert) but should be this (Insert, Update, Update) do you know why? I have got problem w...

I've seen a table with a before and 3 after triggers. They didn't like my "use a stored procedure" reply when they had problems with circular updates
@FreshPrinceOfSO: what are you smoking today?
14:32
@gbn starbucks iced raspberry mocha
JNK
JNK
Jw posts like 100+ answers a week
@JNK that's just... not healthy
JNK
JNK
its how he chooses to spend his time
14:55
@FreshPrinceOfSO probably time spent more wisely than I've been spending mine.
@Zane highly doubt that
JNK
JNK
wow I can't even get an estimated exec plan without a severe error on this
@JNK did you try rebuilding the XML index (or better yet, all indexes)?
JNK
JNK
we dropped and recreated it
this index is brand new
the error just started coming up when we built the index
How about the rest of the indexes?
15:06
Why is there no mention of MSSQL or Oracle? databasemonth.com
JNK
JNK
don't think they've been touched
So I'm suggesting: try rebuilding those, too.
JNK
JNK
> NoSQL & NewSQL
@FreshPrinceOfSO that's why
@AaronBertrand ok
@JNK well that's horse doo doo
@FreshPrinceOfSO what the heck is this?
what an ugly site
15:07
@Lamak apparently they're trying to promote crappy platforms
JNK
JNK
it's not fair to say NoSQL is crappy in general
it has a place
@JNK in the garbage can?
Yeah I'd say "less popular" or "niche" are probably better descriptors than "crappy" :-)
JNK
JNK
we get pissed about it because php monkeys who don't understand RDBMS think NoSQL is a replacement for RDBMS
@JNK there's gotta be a dba reaction for this
15:09
They learn eventually. Let them suffer in the meantime.
JNK
JNK
theres several nosql ones
hello
I need some help with SQL server 2008 r2 auditing?
@Saladin According to today's market index, we're charging $79.14/hour
2
come on :(
JNK
JNK
15:14
@FreshPrinceOfSO play nice :)
@saladin if it's quick we can try to help you, but if it's a "real" question is needs to go on the site
I'm already stuck and life has been sucked out of me
its on the site already
@Saladin link?
0
Q: How to enable auditing on Sql server 2008 R2?

asadzI'm stuck in this. In my enviroment, i have tmg 2010 running which is feeding logs into sql server 2008 r2. I have siem solution which uses jdbc through views gets logs from Sql -server. This configuration has already been done; but somehow no logs are getting through; I think I'm missing someth...

@Saladin don't worry, he is joking
i went to stackexchange chat room and someone recommended me this site
15:16
Morning (or afternoon, as appropriate) everyone.
so i have big hopes:)
@MaxVernon morning
JNK
JNK
It's only been 5 minutes
sometimes, @JNK, 5 minutes is a long time...
@JNK Well...
15:17
@JNK and having read it twice, I've no idea what the question is.
JNK
JNK
@MarkStorey-Smith me either
well what so hard to understand....please ask me directly
so I got back from a month-long vacation last Thursday and got laid-off on Friday... bit of a bummer really but I'm going with "one door closes and another opens".
JNK
JNK
@MaxVernon yikes sorry man
That happened to me a couple of years back. Took 2 weeks to go see family, first day back they let me go
@MaxVernon That's awful
15:20
@JNK ouch!
@MaxVernon You're in Canada?
I didn't know Canadians were so mean
@FreshPrinceOfSO I guess you haven't met me
@AaronBertrand you're domesticated
I believe you were once nice, then crossed the border
15:21
@AndriyM I am going to delete my old answer because nobody has upvoted it and my answer handles ties and consecutive ranking differently from the others. Thus, I am migrating that answer away from that old question. — RolandoMySQLDBA 10 mins ago
the 'merika effect
@AaronBertrand lol. Us Canadians can be complete bastards.
Is there really a point in moving an answer away from a question simply because the question was old?
JNK
JNK
boom now it's upvoted and he will (probably) leave it
@MaxVernon @AaronBertrand I was struggling with the pump at a gas station in Mississauga once; friendliest Canadian I've ever met helped me figure out what the 8 different hoses were for
@JNK boom x2
15:23
@RolandoMySQLDBA why do you always think that because an answer hasn't been up-voted it should be deleted? Answers can still be useful to people - especially yours, since they're so detailed - including to people who come here anonymously or don't yet have enough reputation to vote. — Aaron Bertrand 11 secs ago
OOOooohh ahhhhh... you has a diamond
JNK
JNK
this is the one he is referring to
1
A: Get the rank of a user in a score table

RolandoMySQLDBAWhen multiple entries have the same score, the next rank should not be consecutive. The next rank should be incremented by number of scores that share the same rank. To display scores like that requires to rank variables rank variable to display rank variable to calculate Here is a more stab...

i undeleted and upvoted, it's a good answer with lots of explanation
He deleted his other answer to that question too. shrug
I would have simply overwrote the earlier answer with the later one, if eventually I'm just going to delete them both anyway.
JNK
JNK
That was back in April
@JNK sure but he could have edited the April answer then undeleted it.
He has enough rep to know the clutter it leaves for 10k
JNK
JNK
15:26
Rolando is very fastidious about maintaining his own posts
I'll leave it at that
@JNK all the more reason he should be tidier than leaving two deleted answers on a post. :-)
Is there a benefit of closing a question as a duplicate over its being linked to another question or questions?
@AndriyM to prevent new answers on the duplicate, sure
I mean, perhaps I shouldn't have bothered in the first place once I posted a link to a similar question in a comment
JNK
JNK
Yeah the dupe closure is a lot more obvious
15:30
@AndriyM ideally you would concentrate all of the answers on a single post, instead of splintering them among several posts, even if in some cases it will take users an additional click to get any answers.
I see
then why is no-one voting to close?
Not only does this focus most of the discussion in one place (think Google-icious) it prevents duplicate answers, too.
I mean, to close that question
@AndriyM are you talking about specific questions or are you talking about in general?
I would if I could
15:32
@AndriyM perhaps you're the only one so far who has identified them as actual dupes?
@AndriyM I realize both have rank in the title but I haven't examined the questions/answers nor do I know MySQL well enough to be sure they are dupes on first glance.
@AaronBertrand That's possible, as is the fact that I might have been too hasty in considering them similar enough to VtC
Kin
Kin
Hello All ..
Hi @Kin
@Kin guten Tag!
JNK
JNK
15:49
@FreshPrinceOfSO do me a favor and flag a comment
on a question
This is a bad comment. — JNK 7 secs ago
like that one
any particular reason?
JNK
JNK
testing something
JNK
JNK
i just asked you b/c you were most recently active
i feel honored
JNK
JNK
15:51
perfect thanks
16:03
hi @Kin
hi @MaxVernon! sorry for the news.. best of luck!
Hi @Marian - thanks!
JNK
JNK
well im buggered on this stupid xml index
Apparently if we eliminate two columns from the view it works fine
Can't wait for the next SQL Server to come out. That way we can get 2012.
16:24
Walk into the chat like "What up, I gotta big log."
@MikeFal I've seen your log. It shows signs of being backed up regularly
Welcome back btw
My sake never arrived
Yeah, I didn't buy any
Made up for it by drinking my ass off on the cruise.
16:44
@MikeFal ha, I knew I saw a picture of you in Aaron's blog
so you've been to the cruise, too
Yeah, the cruise was pretty awesome. Great learning and a really nice vacation.
@MikeFal yeah you picked up a lot of things I guess. :-)
@AaronBertrand I'm guessing empty cans of beer
17:00
@MikeFal great combination of work and fun time
17:35
Is it correct that I cannot index a calculate column such as DATEPART(dw, otherCol) ?
No, that is not correct. You can't index a computed column that isn't deterministic, though.
The problem with DATEPART (and nasty shorthand) is that it depends on DATEFIRST settings, which can't be guaranteed to be the same for every user of the system.
@AaronBertrand if the otherCol here is a date col, that would be deterministic, no?
No, try this:
SET DATEFIRST 7;
GO
SELECT DATEPART(WEEKDAY, GETDATE());
GO
SET DATEFIRST 1;
GO
SELECT DATEPART(WEEKDAY, GETDATE());
GO
How does SQL Server make that deterministic?
It can't store the output values in an index because the output values could be different for different users.
Anyway why do you think you need a computed column like this anyway, never mind an index on one?
I see.
For an application. They're using the day of the week and in my mind I'm thinking that it would be better to join on a computed column versus DATEPART
Computed column doesn't really help you here since it will have to be calculated at runtime based on user's setting anyway.
17:43
that makes sense
so it would be easier to just join on the datepart then?
@FreshPrinceOfSO Calendar table?
@Zane got one... just add day of week to it?
Don't see why not. I usually have that on all mine. I also like to keep BusinessDay of the week on there as well.
@FreshPrinceOfSO yes, because that you could populate once and make deterministic. Though you will have to test whether the join is actually more efficient than just running DATEPART inline.
@AaronBertrand i was just under the impression that an index won't ever be used when using any function on the predicate
17:48
@FreshPrinceOfSO an index might still be used, just likely won't be able to seek. Still an index scan can be much more efficient than a table/CI scan if the index is covering. You should try it out. :-)
@AaronBertrand mind blowing
The only case I know of where a seek can still happen is applying CONVERT(DATE,) to a datetime column. Now forget I told you that because it's a dangerous exception to rely on (I don't believe it's documented and it could lead to assumptions about other scenarios that don't behave that way).
Lol
Okay. Already forgotten
18:21
Is it poor practice to use reference a calendar table in db1 from db2, db3, etc? Or should I have a calendar table on db2, db3, etc?
I use a synonym. You really shouldn't have more than one true copy of your calendar table. How would you guarantee they stay in sync?
@AaronBertrand synonym?
2nd thing i've learned today
CREATE SYNONYM dbo.CalendarTable FOR OtherDatabase.dbo.CalendarTable;
Lets you reference a remote object using a 2-part name.
Or a 1-part name if you like getting yelled at by me. :-)
that's sweet-titty-mazing
JNK
JNK
synonyms are fun
18:24
Until you want to do something they don't support
JNK
JNK
yeah like trying to make one of another synonym
or creating a constraint
JNK
JNK
we use them a lot
Yeah they're very useful, but they have their limitations.
JNK
JNK
we have two versions of a lot of databases, one is like a sandbox for end users to mess around in
18:25
i literally have this big smile on my face
JNK
JNK
we use synonyms to point to the same reference tables
can't believe i didn't know about this
@FreshPrinceOfSO in the end it really just saves you a bit of typing. And actually can mask external dependencies if you're not careful.
JNK
JNK
it's nice for code reuse though
@AaronBertrand i can definitely see that
but my level of excitement just jumped 300%
I'm guessing that I can't reference a synonym table?
18:29
@FreshPrinceOfSO define "reference" - do you mean a foreign key? No.
yep. figured as much
4 mins ago, by Aaron Bertrand
or creating a constraint
Should have been more explicit - on or against
@AaronBertrand was too excited to read between the lines
You can't create a foreign key across databases anyway. If you need to validate you can use an instead of trigger.
@AaronBertrand How is the mod job doing?
18:33
@Lamak pretty quiet, I've handled 5 flags to date.
Well, more flags than that, but 5 flagged posts.
nice. The quality difference of the content with SO is abysmal
Which is why I would never run for mod on SO
Those people must need a two-week vacation every other week. I would need to take several showers every day.
JNK
JNK
they mostly have a grim good cheer
like trash collectors on the day after christmas
I'm getting to a point where I can barely even look at SO. Just about every question is a duplicate.
(Either a duplicate of a good question, or an RTFM that has been asked before.)
@AaronBertrand that is true, sadly
18:38
Not all of it is their fault... I don't think there's enough enforcement of "search first" and I don't think the search is terribly good in any case.
JNK
JNK
I don't go there much anymore honestly
I feel dumber every time I visit
I'd say 90% of my visits are because of a link in here
@billinkc This seems like a good question for you:
2
Q: "Access is denied" when connecting SSMS to Integration Services

JamesI receive the following error when attempting to connect SSMS to Integration Services using a particular SQL Server cluster's network name: Connecting to Integration Services service on the computer 'FooDB' failed with the following error: "Access is denied." This error occurs when the c...

Well, it is a good question period, but you may know how to answer it
You would think that, but I can count on one hand the number of times I've used the SSMS integrated SSIS attachment thing after juggling a chainsaw and still have fingers left over
Plus, clusters make the things I know go out the window. They're voodoo
@billinkc crap, I haven't used it either
@billinkc I know.....the strangest part is that I had a meeting today and just called clusters as vudú (the spanish way to say voodoo)
18:49
Maybe we can go in on buying some goats or chickens and see if our sacrifices are accepted
@ypercube blocked!
Just kidding
@billinkc why buy them when we can steal them?, I bet that they'll be more accepted that way
Hey, where's @swasheck..
I think that'd depend on the particular deity. Now I need to find a person well versed in such things to find out
18:52
@StackExchange Aaraon may take my ideas but he'll never take my freedom!
ALBA GU BRA
Ha ha suckas! World domination task now 44% complete!
@FreshPrinceOfSO new job
JNK
JNK
his new jobs content filters are so tight we can't see him
I guess that he wants to make a good first impression....hopefully that behaviour will last only for today
@Lamak let's hope so.
curious how his first day is
19:04
@FreshPrinceOfSO What exactly was your point in this answer? stackoverflow.com/questions/16380613/…
@ypercube it's the accepted answer.
@ypercube umm
I don't understand this guy. I already answered him...and the comment asking about the new table
any way to easily make this a new table? — user2448666 1 min ago
But I find it kinda rude to comment back since he posted that one on another user answer
@ypercube that's a good question
@ypercube can't remove my question
@FreshPrinceOfSO No, it's the acceptance trap :)
19:20
@FreshPrinceOfSO yup, that answer seems....slightly pointless
@Lamak it doesn't answer the question
Seems as I was drunk
@FreshPrinceOfSO that's an explanation
that's better
-3
A: Benefit to LIMIT on query that searches via PK

FreshPrinceOfSOMy answer is poopy and it smells really bad.

now it gathered 2 more downvotes. I wonder if the right way to go would be to contact a mod so you can delete it. @JNK can mods strip the accepted mark from an answer?, what's the right thing to do in this case?
I've flagged it. Feel free to help
19:26
What does "nose" means on this context?
nose, your answer was not that bad and I don't really get why it has been downvoted so much... — Sebas 1 min ago
@Lamak it's typically a part of the face
@FreshPrinceOfSO typically
For the math lovers, Knuth has pre-published a new fascicle of Volume 4B: current draft of pre-fascicle 5a (39 pages)
@JNK can you go to the mod room and ask them to delete it
kthxluvyabye
@FreshPrinceOfSO haha, nice Remus impersonation
19:36
@Lamak source or it didn't happen
May 30 at 11:44, by Remus Rusanu
Here it is, I said it: fragmentation is not the root of all evil. Measure first. http://dba.stackexchange.com/a/43429/708 kthxbye
mine is more luving
ugh, someone else upvoted it
> declined - flags should only be used to make moderators aware of content that requires their intervention
JNK
JNK
@FreshPrinceOfSO sorry I missed all that
19:55
@JNK that's okay. can you use your magic?
@FreshPrinceOfSO I think the best road is to leave a message to the OP, if you feel another answer is better.
@FreshPrinceOfSO no one can save your answer. It's trapped there eating downvotes.
@ypercube yeah a flag has already been declined. I'd say ypercube is right - if the OP unaccepts you can take there of the problem without bothering the mods again. :-)
@FreshPrinceOfSO the good news is it's pretty funny.
20:03
Glad I could entertain you
changes the title of the room to "the heap of sarcasm"
@AaronBertrand do it
or you're not a real mod
@FreshPrinceOfSO real mods don't respond to peer pressure :)
Well that's just no fun
must... resist...
20:07
@AaronBertrand can they re-call you?
@Zane Total Recall?
@Zane meaning take away my nomination? Not sure. If so I'll have to adjust my estimation of world domination percentage complete
@AaronBertrand lol
You may be impeached.
@Zane Happened to Clinton. He's still a badass
Couldn't agree more.
Going to delete that btw.
20:12
:9731898 I think he was impeached for lying about it.
@CadeRoux some other president lied about taking the country to war and he didn't get impeached
@CadeRoux still, he lied about getting a blowie and really he just played dumb with the whole what do you mean by "is" stuff.
It's kind it's funny that they were investigating him for something much worse and that was the thing they got to stick.
Plenty of other presidents have lied through their teeth about much more serious things than oral sex, and didn't face any consequences.
They were investigating white water and the part they actually to nail him on was getting a hummer in his office. Funny stuff.
JNK
JNK
20:15
Not to make this political, but I think it's important to note that nobody died from Clinton's adventures
@JNK Are you implying that people died from being lead to war?
JNK
JNK
Up to 7k in combatant deaths now
actually 8
@JNK think of how many scarred children there are from Clinton's sex-scandal.. that's why they're fighting in the middle east now
JNK
JNK
probably
20:18
well, glad this didn't turn political
JNK
JNK
we narrowly avoided it
hey we could add religion too
JNK
JNK
high five
> "President Bush said to all of us: 'I'm driven with a mission from God. God would tell me, "George, go and fight those terrorists in Afghanistan." And I did, and then God would tell me, "George, go and end the tyranny in Iraq ." And I did.
@AaronBertrand sorry.
20:19
@CadeRoux why u sorry?
@AaronBertrand The Monty Python video is indeed all about religious treatment of sperm.
@CadeRoux oh I didn't click it sorry
@CadeRoux Blocked for me
is this a good candidate for vtc?
0
Q: Import 4 million rows

HectorHi I need to import about 4 million records into my DB. The file is a csv. I have tried MyAdminphp and it times out. Then i tried Razor SQL and it's way too slow. Any suggestions for handling this many iserts?

JNK
JNK
could be a good Q if OP was coached a little
"Best way to bulk load data into MySQL", if it's not already answered
Coached?
Prison overcrowding
20:42
VtC too localized
-1
Q: Update stored procedure - SQL Server 2012

Bogdan M.I have an error and I cannot find the reason for failing of this procedure. All I know it does something I have no clue about. Does anyone have an idea what is this about? :| ALTER PROCEDURE [dbo].[updateAccountPersonJob] @department nvarchar(50), @description nvarchar(50), @personI...

Maybe the victim of IntelliSense
> WHERE Accounts.Password = @personID
JNK
JNK
@ypercube Michael Douglas?
Jack is a mod
Yes sorry. My bad. I meant Michael
Sanity check: CU N contains all the fixes in CU N-1. It's the SPs that may not contain all the preceding CUs, right?
JNK
JNK
20:44
That's why it's cumulative I thought
Yes CUs are cumulative within a branch. SP doesn't always include the fixes from the most recent CUs for earlier branches (usually one or two) because of the testing time differences.
For example, many of the fixes in 2012 RTM CUs didn't make it into SP1 until CU1 or CU2.
Even though the SP was released after the CUs for RTM, the code was checked in long before, all the lead time spent on regression testing.
Usually they get those fixes in quite quickly. For SP1 I think CU1 was out within a week or two.
03:00 - 21:0021:00 - 00:00

« first day (881 days earlier)      last day (4285 days later) »