« first day (910 days earlier)      last day (3973 days later) » 
00:00 - 19:0019:00 - 00:00

12:14 AM
WTH
1
Q: Question preview tooltip is right justified

ElazarThe preview for question in SO is right justified on my browser (My locale is Hebrew) as in this image: Is it possible to fix that?

"My locale is Hebrew. Stop your stupid tooltips from reading right-to-left!"
Uh, or change your locale
 
JNK
1:09 AM
is hebrew a place?
 
1:28 AM
Apparently
 
2:49 AM
Dropping in with a couple of basic Oracle questions...
 
It's a sysadmin invasion!
3
 
Indeed... I think everyone wants to see how quickly I receive the mod hammer
 
I can mod hammer you in any chat room. But I really want to see what actual DBAs who know what they're doing make of this.
 
@MichaelHampton Wait, who said we know what we're doing?
 
@SimonRigharts What! I thought this was Yeehaw Answers!
 
2:54 AM
Well, are there any Oracle gurus handy?
 
@SimonRigharts We assumed that like us you might hide your incompetence that totally doesn't exist ...
 
My question relates to Oracle AMM.
 
What's DB stand for again?
 
@ewwhite Since I'm the only non-sysadmin here and I don't do Oracle I'd suggest you might be a bit out of luck
 
oh poo...
 
2:55 AM
@ewwhite It's a cool story... tell it anyway.
 
@Jacob Incompetence? No idea what you're talking about :D
 
I'll wait until there's a bigger crowd.
 
@ewwhite The other option is to post the question on the site itself instead of in chat, a bit more permanence that way
 
Ask a question on the main site?! HORROR!
 
@SimonRigharts Yes, but I can't be too public with the implementation's details...
 
2:59 AM
@SimonRigharts He just doesn't want to tell you that he works for the NSA...
 
@SimonRigharts Don't believe a word of it. @ewwhite actually works for a porn site.
 
The Oracle guys are away running a meat raffle to extend their licences for another week.
8
 
3:11 AM
@ewwhite This is about as big a crowd as we get
We really wanna hear the story
 
Well, Oracle has a feature called Automatic Memory Management (AMM). I'm a Linux engineer, so I'm just reacting to the existing setup...
The client's site has a number of DB servers running Oracle with this feature enabled.
192GB of RAM... however, the AMM leverages the server's /dev/shm Shared Memory...
by default, /dev/shm == 50% of physical RAM.
Client has forced this to a much higher percentage... so I have 192GB RAM. 165GB in a ramdisk, basically... and little for the OS to live in.
So the server begins to swap...
 
@ewwhite Did I mention that whoever set that up is a complete idiot?
 
top - 23:30:50 up 28 days, 52 min, 10 users,  load average: 9.12, 8.57, 8.59
Tasks: 9875 total,   6 running, 9869 sleeping,   0 stopped,   0 zombie
Cpu(s): 11.2%us,  6.8%sy,  0.0%ni, 58.8%id, 22.8%wa,  0.0%hi,  0.5%si,  0.0%st
Mem:  197953280k total, 171872272k used, 26081008k free,   462768k buffers
Swap: 16777208k total, 11692540k used,  5084668k free, 108516084k cached
# free -m
             total       used       free     shared    buffers     cached
Mem:        193313     167864      25449          0        452     106085
-/+ buffers/cache:      61326     131987
Swap:        16383      11418       4965
So I did some research, and it seems like Oracle AMM is not a common thing... and is certainly being abused here.
But I wanted to get a DBA's opinion...
That is all.
 
 
3 hours later…
6:14 AM
good morning
@PaulWhite: here it is xkcd.com/221
:-)
 
@Marian Ah, thank you.
They in-line :)
 
unfortunately I didn't really like their version of random.. I would've added a 2.
but maybe it's just V1 of their implementation :)
 
 
5 hours later…
11:09 AM
@AaronBertrand he looks like a real pleasure to work with.
Some wiser man would just create a f_ing blog and maintain that jewel there, if it's that important.
if all he's got is a hairy thread on a forum, I wouldn't blame anyone for not finding the proper version
 
@AaronBertrand It might be better to just ignore him.
3
 
@ypercube he might be TomTom's step brother.
 
Sure, but if he starts adding more complaints on the original blog posts (or gathers another lynch mob to help him), I won't be able to ignore him. That's work.
 
11:25 AM
Yep, dealing with trolls is sometimes hard.
 
So I commented on SO to try and thwart any attempts to go interfere further with a blog post he'd forgotten about...
 
12:11 PM
Was that guy really the first to say RBAR?
 
@James I would've preferred RBFR anyway :-).
 
hah
 
12:26 PM
@Aaron Can you ignore my flag at dba.stackexchange.com/questions/45577/… ?
It seems the OP was following advice by @Mark Bannister:
Have you already decided which database management system (such as relational DBMSs like Oracle, SQLServer etc) you intend to implement this on? Also, have you considered asking this on dba.stackexchange.com (which may be a better site for this question)? — Mark Bannister 59 mins ago
 
JNK
oh jeez not this shit again with Moden
 
Or another mod. I thought you were away @JNK :)
 
JNK
im awayish
Is this string splitter like Jeff's biggest accomplishment in life? He defends it like a mother hen.
 
@JNK It's many people's concerted effort, from what I hear.
That said, I don't really see why would I be so touchy about it
 
JNK
I guess I'm confused about why he wants to pick fights about it. It's OK if it's not perfect in every situation, this is SQL after all.
 
12:32 PM
He did seem to make his point a year ago, why raise it once again...
 
12:43 PM
@ypercube done
@AndriyM no idea. And his wording just annoys the crap out of me. "see what else you did wrong" FU
 
12:59 PM
Is it just me or is this font really unnecessary?
 
@FreshPrinceOfSO Is that comic sans?
@FreshPrinceOfSO This is one of those things that makes people (well, OK, me) think DBAs hate the web
 
@FreshPrinceOfSO it's really something
 
`<span style="font-size:14.0pt;
font-family:"Comic Sans MS";mso-fareast-font-family:"Times New Roman";
mso-bidi-font-family:"Times New Roman"">`
 
Well, I'm back... Are there any Oracle folks on now?
 
These aren't the DBAs you're looking for
 
1:04 PM
@James The comic sans... I just feel like I'm in 8th grade
 
@AaronBertrand No?
 
ping @JackDouglas for that. He's pretty familiar with Oracle.
 
@ewwhite Oracle? The whale?
 
I may have to go to the main site... But wanted to try to get an opinion first.
 
@ewwhite we have some Oracle folks on the main site, but not many of them stand on the Heap :).
 
1:06 PM
I gotcha... I'll go back to my Server Fault corner...
 
@FreshPrinceOfSO That'd be orca (if I know what you mean).
 
@ewwhite But my main site, we usually mean DBA.SE, not SO :)
 
Indeed.
 
@FreshPrinceOfSO dude, there are about 10 distinct variations of fonts there :). That's a big no-no in UX design.
 
@AndriyM that is what I meant!
So.. they're not the same?
 
1:10 PM
@ewwhite not needed, we're friendly. We're just a subset of the DBA.SE crowd. The chatty ones :).
 
@AndriyM Oh it is comic sans. Sorry, I forgot about the power of looking.
 
I understand. I'm wading into the world of Oracle systems support, and it makes my eyes bleed...
 
On a scale of poor to extremely poor, how would you rate this question?
0
Q: (re)creating MSSQL database - include schema?

kneidelsi am duplicating an MSSQL database, for another client to use (to be completely separate from the other). I am doing this via Tasks -> Generate Scripts. i am copying all the tables. Should i copy the schema too, or just the tables? (The schema has the old database user name) thanks

 
@FreshPrinceOfSO nice catch :).
 
move this one to dba?
0
Q: Dealing with identity ranges for transactional replication

JezI've noticed that when you set up a transactional replication, SQL Server will set identity range management to manual. What this means is that in my subscription database, when I try to insert a new record into a table whose PK is an identity column, it will give me an error and say that it tri...

 
1:16 PM
@FreshPrinceOfSO looks appropriate for our site.
 
The OP has 31 accounts in the SE network, which is about to be revealed to be one too few.
 
@FreshPrinceOfSO That was the only method the guy could use to caution the world.
 
@AndriyM guessing by his nationality (polish) seems like something we would do
 
@FreshPrinceOfSO He could be a Czech.
 
1:31 PM
@AndriyM I've never met a Czech named Marek
 
@FreshPrinceOfSO Ah, but of course, that settles it. :)
 
@AndriyM Glad you understand ;)
 
Jeff has been running around crapping on people all over the place.
No! Don't do this. It uses a recursive CTE to "count" and it's generally worse than a While loop for performance and resource usage. There are a lot of ways to effeciently generate a sequnce of numbers and this isn't one of them. — Jeff Moden Jun 26 at 5:41
All on old questions. I wonder what is stirring all this up.
 
Who cares, I'll just keep finding dumb comments to respond with
 
@AaronBertrand As in "Who might be stirring..."?
 
1:37 PM
@AndriyM well, not necessarily. Apparently he is really bored but I'm wondering what is drawing his attention to certain questions, given that other than his, there's been no activity on them in months or more...
It may be a person, it may not.
 
@AaronBertrand Does it seem like he's targeting people from the Heap?
 
@FreshPrinceOfSO no I'd be very, very surprised if that were the case.
 
@AaronBertrand just keep feeding me his comments
 
Well I'm reluctant to do that now, he'll wonder why you're targeting him. :-)
 
Kin
1:54 PM
Hello All
 
hi
 
hi @Kin, welcome
 
@AaronBertrand Perhaps he finally realizes that forums are dead for Q&A
And he's just looking for tally table questions...
 
gbn
2:19 PM
One for here?
0
Q: On which machine should TCP Chimney Offload be disabled?

d3vidI am advising someone on how to disable TCP Chimney Offload, which is enabled by default by Windows Server 2003 SP2. [1] We are working in an environment with multiple server machines, namely the application server machine which communicates with the database server machine. On which machine sho...

 
@gbn sounds like it would fit better on diy.stackexchange.com
 
@PaulWhite wow, very nice. Thanks, I'm stealing that code for the future
 
@gbn I remember @MarkStorey-Smith was hit by this problem some time ago.
so either our place or SF, but not really for SO.
 
gbn
@Marian SF guys don't care,. They'll port anything to here
 
@AaronBertrand Yup, he seems fixated on questions that need loops or tally tables. Though my answer was lazy (but also very old)
 
2:28 PM
@Lamak what a sad and narrow world he is living in
 
@Marian More than once. "£$%"£$% BROADCOM!
 
hi @MarkStorey-Smith, sorry for the ping, you were faster than the question :-).
it's still on SO..
 
@AaronBertrand I remember receiving a similar comment on a DBA answer in wich I used a CTE for generating 12 months (I mean, lazy, but hardly inefficient for 12 rows)
 
@Lamak from him? Or me? :-)
 
2:30 PM
@AaronBertrand ha... him
 
Another more recent WTF was finding that its enabled in some VMWare vnet drivers.
 
Recursive CTEs that count are absolutely horrible for performance compared to just about any other method even for a piddly 12 rows. Why would you intentionally use something slower and much more resource intensive even if it's just for 12 rows? Avoid recursive CTEs like the plague when it comes to counting. — Jeff Moden Jun 4 at 6:40
 
@AaronBertrand yup....kinda exaggerated for 12 rows.
 
PS I hate the term "tally table" - it's a table of numbers, not a table of tallies
tally table sounds like tattle-tale
 
@AaronBertrand I hate it too. But, I thought that it was an "english" thing, so I started to use that instead of "numbers table" (which I used before)
 
2:34 PM
@MarkStorey-Smith the question is here. Do your magic :).
 
@Lamak oh I didn't even know you used that phrase. I just see it from anyone who worships Moden
 
@AaronBertrand I use it when op uses it. If not, I go with numbers table
 
@Marian Done. CC of previous answer but closing as dupe didn't seem appropriate as the question is different.
 
2:52 PM
need moar pivots
0
A: SQL Pivot - Multi-row multi-column

bluefeetIn order to get the result you will have to look at pivoting and unpivoting the data in your table and since you want to do this for any two years, you will have to look at applying dynamic SQL. First, let's start with the initial query to get the data for the 2 years. You need to join on your ...

 
@MarkStorey-Smith is "a-n-other" a weird hyphenation issue or does it have meaning I'm unaware of?
 
@AaronBertrand English/brit phraseology I guess I'd call it
 
PerformancePalooza stream is now available. Now's your chance to watch @AaronBertrand fly through the slides
 
@swasheck hey I was only a little fast.
 
@swasheck I watched him doing it live :).
 
2:56 PM
that was a funny flag
 
@Lamak yes it was
@AaronBertrand biting my tongue ... but i'll just say that i'm going off of second-hand information
@Marian well isn't that special
 
@swasheck going back to your roots on your gravatar?
 
@Lamak that's very odd. i didnt change it.
 
@swasheck the matrix did it for you.
 
@swasheck I'm seeing the "Kebab Time" one
 
2:59 PM
@Marian i dont think that @PaulWhite cares about my gravatar
@Lamak yeah ... me too
 
we have only one chameleon here, you should stick to one avatar :).
@swasheck he's Neo, not the Matrix.
 
@Marian we do?
 
@AaronBertrand some people are just a-holes
 
@Lamak Da Prince ;).
 
@Marian it's not me, man. i did nothing. i wanted to keep dj yoda
@Marian oooooooohhhhhhhhhhhhhhhhhhhhh
 
3:01 PM
@swasheck read the Cube's starred comment.
 
@Marian right
 
@Marian i know. i was there when it happened
 
3:15 PM
Jesus effing christ man, can't you do anything on your own?
Hi Lamak, the microseconds have been trimmed. However I have just noticed that the time has not been adjusted 4 hours behind in the output. — omar K 6 mins ago
 
@Lamak no because it is SO, spoon feed it
 
seriously, how many days can you be working on the same simple thing?
 
@Lamak commented
 
Kin
Is it best to use sequence table for generating unique id or there is another better way of doing it ? I am writing a stored procedure to allocate unique integer ids. sqlblog.com/blogs/paul_white/default.aspx?p=4 Any suggestions ?
 
@Kin define "better"
 
Kin
3:23 PM
efficient in terms of locks that might lead to blocking or possibly deadlocks
 
@Lamak he works with microsoft seconds, so maybe it's a different timezone thing..
 
@Kin what version of SQL Server? SEQUENCE in SQL Server 2012 is going to be more efficient than anything you would roll yourself. If you're not on SQL Server 2012, IDENTITY is pretty close - any reason you don't want to do that?
 
Kin
@AaronBertrand Unfortunately, 2008R2 .. I wish we could use sql server 2012
 
@Kin so what is wrong with a simple table with an IDENTITY column?
 
@Marian that maybe the problem
 
3:26 PM
It only ever has to have one row
And unless you really need to maintain a contiguous set of values, there should be absolutely no reason you should have to worry about deadlocks. Those should only come in to play if you feel you need to generate a new sequence value in a transaction, then go do other things, and return the sequence value to the pool if it goes unused.
 
Kin
@AaronBertrand so you mean, create a table with bigint datatype and Indentity property ?
 
And even then it would usually only be an issue if you acquire locks in different order in different transactions.
@Kin bigint only if you really think you'll generate more than 2 billion values.
Though if you're on Enterprise Edition you can use compression so that you don't pay the bigint price until you exceed 2 billion anyway.
 
Kin
@AaronBertrand Thanks let me give a try. Yes its a datawarehouse application and changing a datatype latter would be an issue
 
DECLARE @nextVal BIGINT;
BEGIN TRANSACTION;
  INSERT dbo.IdentityTable DEFAULT VALUES;
  SELECT @nextVal = SCOPE_IDENTITY();
  DELETE dbo.IdentityTable WHERE IdentityColumn < @nextVal;
COMMIT TRANSACTION;
Missing error handling of course, you just have to be prepared to throw away that @nextVal if your real work gets rolled back.
Also you can just delete the entire table (but don't truncate), though I find it useful to leave the last-used value in there.
 
Kin
@AaronBertrand thanks ... let me give it a try ..and yes I will put error handling as well
 
3:40 PM
i'll ask in here ... if it's a "theory" question that needs to be handled on the site then i'm fine with that
"What is a tempdb allocation and what causes them to occur?"
i'm assuming any work done in tempdb causes allocations, but how does the engine determine what to allocate?
or is there a standard allocation unit?
 
Allocation occurs when tempdb needs to use space. Usually this occurs one extent at a time (an extent is 8 8K pages), but will be repeated until the estimated space required is made available. At least that's my working knowledge.
What causes them? All kinds of things. Spills, spools, sorting, certain cursor types, worktables, #temp tables, @table variables, row versioning, checkdb, online index operations...
 
@AaronBertrand nevermind
@AaronBertrand right ... thanks
 
@swasheck hmm, not sure, it may be possible to use free pages in an existing extent, again depending on what caused the need, who asked for it (user or system), and how much they asked for.
This probably explains it better than I could - I've never really dug too deep into this. I'm sure Paul Randal has written about this too, hold on...
 
@AaronBertrand no worries. i'm actively googling too but just didnt know if i could save myself some googletime. thanks. you've already done more than enough
 
3:50 PM
@swasheck searching for trace flag 1118 will lead you to lots of articles on tempdb allocation, the problems and myriad solutions
 
Actually extent at a time only happens under TF1118
I hate my memory
@AndriyM yes.
 
Aye, its a mixed extent otherwise which was the source of the PFS/SGAM woes
 
I think everyone knew what I meant. :-)
 
@AaronBertrand mmhmmm. like paul's post the other day where every comment was "THAR'S AN ERROR OVER THAR!!"
@MarkStorey-Smith hm. indeed.
i was just thinking through sp_whoisactive which has "tempdb allocations" in the result and i was wondering, "what is that thing?"
thanks for chiming in, everyone
 
@swasheck I have not a clue of what you are all saying. It's like, listening to the Elves language. Nice in the ears but that's about all.
 
4:02 PM
A commander @Keen reference. It's been a while since I've see one of those.
 
@ypercube you and your relational algebra and surreal numbers are the same to me
 
Maybe I should change my profile to dangerous dave.
 
wow
0
Q: I need this query to be optimized ( it currently takes 10mins to return results )

Sx3SELECT DISTINCT SM.sales_date, (SELECT SUM(gross_sale) FROM sales_main AS INTERNAL WHERE INTERNAL.sales_date = SM.sales_date AND INTERNAL.vehicle_name=SM.vehicle_name) AS TGROSS, (SELECT SUM(net_sale) FROM ...

 
@bluefeet wow, that's bad
 
@MarkStorey-Smith i wish i could upvote this one again
13
A: How to find the SQL statements which caused the tempdb grew huge?

Mark Storey-SmithThere are three DMVs you can use to track tempdb usage: sys.dm_db_task_space_usage sys.dm_db_session_space_usage sys.dm_db_file_space_usage The first two will allow you to track allocations at a query & session level. The third tracks allocations across version store, user and internal object...

@MarkStorey-Smith i'd throw a bounty at it but i'm trying so hard to get to 3000
 
4:07 PM
on an unrelated note, does anyone else see the "should" on the vote to close reason lower than it should?
 
@swasheck "caused the tempdb grew huge" is now how I will refer to temp db size for the rest of my careeer.
 
 
@swasheck Very kind but the query isn't a creation of mine. No idea where I boosted it from though.
 
this happens when there are people that already chose that reason
 
You may also find these useful
7
Q: DDL contention on TempDB

David GeorgeI have a SQL Server 2005 Standard x64 that is experiencing issues with TempDB DDL contention for the past few months. The server will experiencing contention on wait resource 2:1:103 (the wait type being PAGELATCH_EX). The issue appears to happen sporadically when the server is under decent load...

6
Q: How to identify which query is filling up the tempdb transaction log?

prasanthI would like to know how to identify the exact query or stored proc which is actually filling up the transactional log of TEMPDB database.

 
4:10 PM
@AaronBertrand thanks. i'm exploring tempdb and all of the useful information i can get is helpful. for right now we're not having any problems but i'd like to be prepared.
 
@Lamak Funny, yes. I get the same in this Q: stackoverflow.com/questions/17425344/…
 
@ypercube yup, me too.
 
@Lamak You can post this at meta.
 
@ypercube oh yeah, post that to meta. Something bad with the CSS.
 
4:17 PM
@ypercube Maybe. I just.....kinda dislike participating on meta. I visit the site almost every day, and read about new politics and decisions, but I try to avoid actively participate. They are so.....kind of "hive-minded"
 
Ok, I'll post it
 
@AaronBertrand thanks for the sacrifice. Do you see the same behaviour
?
 
@Lamak yes, not as drastic on my screen, but still present
 
@AaronBertrand ok, thanks
 
as an aside ... is there anything that punks a server out of the box any more than scarepoint?
i really dislike the thing
 
4:23 PM
@Lamak Maybe if you guys used heinously outdated browsers like me you wouldn't have that problem
 
0
Q: Italics on Closing > Off-Topic dialog oddly suspended

Aaron BertrandIf you go to a question that has a pending close vote for a custom off-topic reason whose text includes italics on a line that coincides with the pending close vote count for that reason, the italics get dragged down to the margin-bottom of the count. This sounds pretty obscure, except that it h...

 
@Zane seems like a good solution
 
Bring on Internet Explorer 2.0
2
Or better yet Lynx
 
@AaronBertrand Hold on now I'm at least on IE 6
 
Lamak what browser / OS
 
4:26 PM
@AaronBertrand Windows 7, Chrome 27
so, it was a dupe, sorry Aaron
 
@Lamak no worries
 
Is that entire site in bright red text for you guys as well
 
I think that is a mistake - she probably added a span with color red and forgot to close it/
I let her know
 
@Zane it's your ancient browser ;-)
 
4:35 PM
an issue at a slightly different position
 
@AndriyM ooh, what OS/browser is that?
 
Firefox 21.0, Windows 7 SP1
 
@AndriyM thanks, added it to the dupe
 
@AaronBertrand it's old. i just thought she was passionate about her stats
 
@swasheck I think she might have edited it recently though.
 
4:46 PM
hm. well. ok. i just took it as absolute truth to enable Auto Create and Auto Update stats on my 2008 instances :) i loved her MCM sessions on stats so i just took her as authoritative and this as reminding me of her authority :)
so sharepoint can control its own statistics, thankyouverymuch
 
Yeah ShareCrap is the exception to the rule.
Turning on auto-stats actually voids support, I think, because their schema is so terrible
 
and then there are all of these add-ons that you can purchase and install that you can use to pour salt in the gashes that scarepoint has inflicted
i'm looking at you, NewsGator
 
Funny, Glenn Berry used to work at NewsGator, now he works for Kimberly
 
@AaronBertrand Sharepoint is an MS product, right? How can this be explained, the same company that produces SQL-Server not making a decent db design in another product?
 
@AaronBertrand apparently the quality declined when he left. we just installed a brand new version for some social site and MAN it's further crippled the installation.
 
4:58 PM
@ypercube different teams. Like blaming SQL Server for Office mistakes.
0
Q: Calculating and Creating Columns for Previous Months. Do Loops?

user2270911I am very new to MS SQL Server (I have always been using SAS to pull). I have program which identifies children which where not seen in a particular month - the criterion is in bold below. When I run the program this is a example of the result: Children which were not seen in the month of May...

Do loops what?
 
@AaronBertrand I think he means "Do" as in "Should I use loops?"
 
@AaronBertrand is SP homegrown, or was it an acquisition? Dynamics (Great Plains) was pretty awful when they first brought it into SQL Server
 
@Lamak I think he meant "do...while" loops
 
@AaronBertrand that doesn't mean that its pequliar how they chose to do their DB design.
 
@swasheck SP was acquired I think very early on.
 
4:59 PM
@AaronBertrand that could be it
 
@Zane I just meant that the folks who "designed" the schema weren't database folks.
 
Gotcha.
 
And yes, I meant to put "designed" in quotes, because it is not a design.
It is more like throw crap over the fence and clean up whatever doesn't make it.
-2
Q: Syntax error for try and except

Moushumi MitraI used try and except in this program for the first time: def ScienceSearch(): query = SearchTerm.get() address = ("http://www.google.com/search?q=%s&num=100&hl=en&start=0" % (urllib.quote_plus(query))) request = urllib2.Request(address, None, {'User-Agent':'Mosilla/5.0 (Macintosh; Intel Mac OS ...

booooooooo
 
@AaronBertrand i was on a conf call with their guys. he was nice but admitted the code was released too early (and clearly we adopted too early). i'm not sure how Glenn would feel about the proliferation of virtualized sql servers that we have here in production
 
@AaronBertrand On a totally unrelated note (and sorry if it's already been brought up, I might have missed it then), why is your reputation shows as 0 in the chat?
 
5:04 PM
@AndriyM It doesn't for me
 
SharePoint scares me... 2013 won't even install unless you set maximum degree of parallelism to 1.
 
@AndriyM shrug wish I knew, sorry
 
Your'e is off for @swasheck as well.
 
Interstingly, @swasheck's is also less than I would expect it to be. But at least his "main" profile shows as discuss.area51.stackexchange.com, where he does have 151 rep. Yours is DBA.SE and 0? Strange
@Zane Exactly, I've only just noticed that
 
JNK
5:09 PM
@AndriyM it could be a caching issue on your end
 
@AndriyM It should be a tally of all rep across the SE network.
 
@Zane That's what I know too
 
Yeah maybe there are API issues currently...
 
Ugh this remove special characters fuction is apparently destroying our DB. It takes like 3 hours.
 
@JNK I'm currently at home and the chat was open at my work too until early this morning. When you said "cache", I remembered that and reloaded the page and vois la!
 
JNK
5:13 PM
@AndriyM yay
 
I am wrong that I VtC this?
0
Q: Generate random names in sql

user2471553I have 5 random names each for male and female. I need to insert random names based on the gender. But how can we insert names in random from a set of 5 names in SQL. Is it possible?

 
5:33 PM
Tough call. It's answerable. However I don't feel theirs enough criteria there to give it a good answer.
How many possible name choices does he want? How does he determine what's a boys name and what's a girls?
 
@bluefeet i vtc
 
If I wanted to ask a question regarding digitally signing a PowerShell script...would that be asked on Super User or SO?
 
@ShawnMelton mmm...not sure. I know that @MikeFal is good with powershell, though.
 
It is more of a general question on using certificates with PowerShell scripts, not really how to actually sign a PS script
 
JNK
5:46 PM
@ShawnMelton SO I think
 
@JNK Thanks.
 
JNK
there's a few folks who really really know their stuff on SO that monitor PS tags
I'm all sorts of confused today
 
@JNK Are you one of these creatures?
2 hours ago, by Marian
http://www.sqlfail.com/2012/05/25/undead-creatures/
 
JNK
thankfully no
 
You were talking about ORDER BY RAND() and NEWID() last night.
Why do these produce different plans? sqlfiddle.com/#!6/dc46b/11
 
JNK
6:10 PM
@ypercube that's a Q for @PaulWhite I think
I suspect it's because SELECT NEWID() gets run once and NEWID() gets run once per row
 
6:26 PM
@JNK I think you are right.
 
6:46 PM
@ypercube to quote Matin Smith:
There isn't a guaranteed way. It is non deterministic how many times it will be evaluated even for SELECT N AS N1, N AS N2 FROM (SELECT NEWID())T(N)Martin Smith Jun 19 at 21:26
 
6:57 PM
@Lamak Huh? What?
Oh, certs and PoSH. I am NOT good with that. I need to get good at it, though.
 
00:00 - 19:0019:00 - 00:00

« first day (910 days earlier)      last day (3973 days later) »