« first day (888 days earlier)      last day (3996 days later) » 

5:40 AM
OKAY it's working you're kinda kind guys I kiss you everywhere — bidezdzeiojdzehj yesterday
 
6:26 AM
Awkward
 
gbn
7:09 AM
Morning all
@ConcernedOfTunbridgeWells Not bad. I'm not on the PC at weekends generally. I appear here because the heap is one of my start up pages
 
7:53 AM
good morning
@PaulWhite still writing? nothing new on the blog, yet :-)
 
8:29 AM
I could just fix the code for him but hey, it's Monday and if you ask for a "best way" of doing something I think you should provide something that actually works.
Ok, there is no way to not use a while loop but I still don't understand what you want the parameter to your SP to be. You are trying to fetch an int value from the XML but your text says you want the child element. What is it? Why do you have both @ChildItem and @childXML? Do you need both? Where do you populate @childXML? If you want the XML for a child instead of a value you should use .query() instead of .value(). — Mikael Eriksson 2 hours ago
 
swasheck is now SQL Server/Sybase Database Administrator at OppenheimerFunds
did I miss the announcement?
 
gbn
@dezso LinkedIn told me
 
@dezso I guess you missed it, it was starred few days ago
 
@gbn the same here - just as I'm a rare bird now on The Heap, I was wondering if swasheck himself told it to the public
@Marian ah OK
 
gbn
@dezso I'm here when at work
Out of work I'm AFK mostly. Just surf on the phone
 
9:04 AM
@gbn Well, you have good reason for that.
 
gbn
@ConcernedOfTunbridgeWells true
Friday was a public holiday, went to a quiet beach
 
@gbn Is there such a thing in Malta?
 
gbn
9:17 AM
@ConcernedOfTunbridgeWells off the beaten track, but yeah. No easy tourist access
Ġnejna Bay (pronounced ) is a popular tourist destination located about 1 kilometer from the village of Mġarr on the western coast of Malta. The beach surrounding the bay is mostly sandy. A secluded strip of shore under the steep cliff on the northern side of the bay is a popular nudist beach, although the practice is technically illegal in Malta and frowned upon by the conservative Catholic population. Ġnejna is notable for its striking clay slopes and limestone cliffs. These serve as the headlands for one of Malta's few remaining perennial freshwater springs, that runs through Wied il-...
Not popular with tourists, really
 
@gbn Looks nice. Bit of a hike up and down the hill, I guess.
 
gbn
@ConcernedOfTunbridgeWells bloody is. we got a lift
 
Ha: A secluded strip of shore under the steep cliff on the northern side of the bay is a popular nudist beach, although the practice is technically illegal in Malta and frowned upon by the conservative Catholic population
 
@ypercube Mullets and nudists. Trying to erase... Need eyebleach.
 
 
1 hour later…
10:30 AM
> SOLVED Yes, thanks to all of you. Really users.id,users.picture is the problem, when removed, everything goes smoothly
^^ but that isn't the issue
-1
Q: MySQL returns infinite number of values

Aleksandar PetrovI am trying to build a autocomplete input for suggesting users to page. I have a table called 'users' with fields 'id', 'fullname','username', 'picture', a table 'project_admin' with fields 'id','project_id', 'user_id4 and a table 'project_member' with fields : 'id','project_i...

 
11:13 AM
@bluefeet Infinite = 10 ...
 
gbn
@ypercube At the limit of number of fingers. Are there higher numbers?
 
0
Q: Full text search in postgresql on multiple tables

indagoProblem: I have several tables that have related data. i want to have a search input box on the dashboard of the system that will search for anything(client,invoice,delivery note,...). Is it possible to have a FTS implementation in postgresql that will get the item searched and look in more than ...

 
11:51 AM
@gbn are you playing football for Malta's national team? :)
they had their first victory in 7 years (in official matches)
 
gbn
@Marian I'm too shit to play for Malta. Even too shit for Scotland
 
12:09 PM
@gbn well they aren't too far as I see :)
 
 
1 hour later…
1:25 PM
First post this hour.
 
@FreshPrinceOfSO second post of this hour and one of the only posts I will probably have this week.
 
busy with work?
 
week long training
 
@Marian Damn. I was fully expecting to see a photo of someone on the Malta team with a luxuriant mullet.
 
@ConcernedOfTunbridgeWells :)) nah, I'll leave @gbn with his locals on the beach, no sharing is needed.
 
gbn
1:33 PM
@ConcernedOfTunbridgeWells More of a Swiss/German thing
 
week long training? sounds fun
 
@gbn Was looking for 'football player mullet' and found this gem instead.
 
2:01 PM
@FreshPrinceOfSO design patterns in c#, not so sure
 
@bluefeet oh, was thinking like you were gonna start waking up at 1 AM and exercise harder :-).
 
@Lamak that would be more fun.
 
gbn
I can't be bothered to register there. Can we move it to her or SO please?
 
JNK
@gbn checking now
 
gbn
ta
 
2:07 PM
So, a quick question for the SQL Server gurus. A coworker asked me how much he should expect the log of his database to grow if he wanted to create a clustered index on his ~ 260million rows table (30 GB). The table has no indexes as of yet. Any quick way to answer?
SQL Server 2008R2
 
gbn
@Lamak well, the table will be rebuilt in situ requiring 36GB free data space
 
@gbn So, when I said that he should expect the around same space that the table is currently using, was kinda correct
 
gbn
Not sure about log space. It may just log the allocations of new space rather than actuakl row movements
 
@gbn I get it
 
gbn
@Lamak yeah, the old rule of thumb was that the MDF should have (1.2 times largest table) free space for an index rebuild
the table could be bloated space wise too because of fragmentation
 
2:12 PM
@gbn ok, thanks.
@gbn yeah, and should the extra space used by this rebuiling of the table reclamed back? (so to say)
 
gbn
@Lamak well, the "old" 30GB will be deallocated. SO yes
strictly speaking, if they are the type to shrink the DB so there is no free space, it will grow to hold this 36GB
the 30GB free will in somewhere "in the middle" of the MDF
logically that is. The MDF could be fragmented on disk
 
@gbn Ok, that's good info, thank you very much
 
2:27 PM
@gbn your account isn't merged with the SO/DBA one :-)
 
gbn
@Marian this site is "free to play". No registration needed per se
I hope the Q migrates
 
holy crap, no. Just NO
0
Q: What is full trust and how does it relate to SSIS packages

Gregory WilliamsCould someone please tell me what full trust means? I am looking to add functionality to an SSIS package to convert html files to pdf and merge them together into one pdf file and the components that I am looking at Essential Objects PDF 2012 and ExpertPDF MergePDF both require full trust to run...

 
@billinkc I have read that as full thrust..
 
@Marian of course you have :-)
 
@billinkc looks as though SO is blocked this morning.
 
2:33 PM
@Zane Probably the one time web filtering is valid. Place is a cesspit
 
gbn
Bugger me how to link accounts on codereview.se and the rest
 
2:57 PM
@gbn Not sure if this helps: dba.stackexchange.com/contact/edit-logins
 
gbn
3:09 PM
I used the same OpenID. Can't merge. Email sent anyway
 
@billinkc you nver left a comment on that post. Also it's unblocked now.
 
I didn't comment as I didn't want to trip the profanity filter.
 
I didn't evan know that was an option.
 
@bluefeet i would call in sick
 
3:26 PM
@MaxVernon hi there!
how's the job hunting going?
 
@mrdenny Where does this "99% of IO in 64k blocks" notion arise from? Bob Dorr indicates otherwise, as does Wes Brown. Even if we were to ignore those two comprehensive articles, surely common sense dictates that you're going to see 8K IO on a platform that uses an 8K page size. — Mark Storey-Smith 16 secs ago
2
Fair?
 
@MarkStorey-Smith fair
 
gbn
@MarkStorey-Smith yes. The phantom mod does tend to act like a biblical burning bush at times
5
 
@gbn Like the locking one we had with him a long while back
 
3:41 PM
@gbn "the phantom mod", how fiting
 
gbn
these also show 8k or 64k based on what op is happening
the latter less so, just mentions sparse files
and old articles too
 
"The issue is that when compression is used, the actual file data is handled by the operating system in large chunks (64 KB for example)"
@MarkStorey-Smith maybe that Netapp storage is doing compression?
 
@Marian That doesn't alter the context of "SQL Server does 99% of it's IO in 64k blocks."
 
gbn
ok folks
end of my work day
 
@MarkStorey-Smith aaa, right. I've read it in the context of the question, didn't generalize it.
 
gbn
3:52 PM
See y'all tomorrow
 
cheerio
 
bye!
 
4:08 PM
@MarkStorey-Smith Evening all
 
@Lamak I see it
 
@MarkStorey-Smith why didn't that comment expanded on chat?
 
No idea, I'm not very pro at chat
:)
 
@Lamak sometimes oneboxing times out, though I've always put it on a separate line
 
JNK
4:10 PM
ok off to the gym
 
@JNK crush it
 
JNK
@AaronBertrand your recent tweets about high sticking led me down a youtube spiral of hockey fights
 
@AaronBertrand I normally do that too, but I though that it'll work
 
@JNK sweet, sorry about that. Tie Domi was awesome.
Kasparaitus, Brashear, man some good memories when fights were fights
 
JNK
@AaronBertrand there was some game in like 2011 between the penguins and someone (bruins or islanders maybe?) that had like 10 fights
 
4:11 PM
Islanders, definitely, I remember it
 
JNK
that was bonkers
 
JNK
I just watched the movie Goon on netflix so I was already interested
 
This means we may be seeing a new Mac Pro for order very soon. Anyone streaming the WWDC keynote at 1:00 Eastern?
@JNK Goon was surprisingly good.
 
JNK
ok gymming back in a bit
@AaronBertrand yeah it was great
it kept recommending it to me and I kept being like "no thanks, netflix!"
then I finally watched it and was like "thanks, netflix. You were right!"
 
4:14 PM
Yeah sometimes recommendations work. I watched A good day to die hard this weekend on a similar premise. It was about as good as I would have expected; I really liked some parts of the plot, believe it or not.
(Intentionally non-specific to avoid spoilers)
 
@AaronBertrand like...a blog?
 
Spoiler alert: Things blow up
Guns are shot
 
The Verge, Engadget
......and even Gizmodo
 
Apple's streaming it if you want official feed, use the others if you want commentary etc. (which I prefer).
And if you don't give a rip, ignore. :-)
 
@AaronBertrand Engadget had a great streaming for the past I/O from Google
 
4:18 PM
I need some popcorn.
 
@AaronBertrand do you know who "the guy that writes the code that is the storage engine in SQL Server" is?
 
@Lamak I don't think there's one guy, but essentially, yes. Why?
Would you like me to pass along a thank you note, or punch him in the nose?
:-)
 
@AaronBertrand haha, I was just wondering about the comment from the phantom mod
 
@JNK my two favorite youtube hockey clips of all time are Brian Cambel hitting Umberger(no clue how his name is spelled) and Domonik Hasek upending Marion Gaborik.
 
@Lamak I don't know if it's accurate or not. Let me do some recon.
 
4:22 PM
@AaronBertrand ok, thanks
 
@Zane @JNK you guys need to get the Don Cherry videos from every year. There are some awesome fights and hits.
 
@AaronBertrand does your apple store sorry we're down sign change languages constantly?
 
@Zane yes, that is by design
 
Good
 
@Lamak this is old but telling (these approaches haven't changed): blogs.msdn.com/b/sqlcat/archive/2005/11/17/493944.aspx
 
4:28 PM
Anyone here own a ps3?
 
@AaronBertrand very interesting
 
@Zane the last game system I bought was a Wii when the black one was released. Don't plan to buy another until my kids can spell it and contribute.
 
@AaronBertrand lol. I'm of the opinion it's best to start kids off on the NES.
 
@Zane or an Atari
 
@Zane I own one, but didn't open it since the winter vacation :)
 
4:37 PM
@Lamak the problem with that is having a TV that you can even hook up an atari to.
 
@Zane and founding a working Atari too....with games
 
@Lamak you'd be surprised how easy that is to do in the States.
It seems like once a year I come across someone who found an atari or a comadore of something like that in imaculate condition in their grandma's attic.
Then they sell it to their local comic book store and crazy people like me buy them.
 
@mrdenny Mine must be broken then, should I call support? I'm sat here looking at data file IO activity with process monitor and while there is the expected 64K read in abundance, there is plenty of other 8K multiple reads and of course lots of 8k write. Log activity is as expected, 512 byte multiples ranging from single 512 byte writes through to 60k. — Mark Storey-Smith 11 secs ago
 
@Zane Oh, you are right, I forgot not to extrapolate my perils on to US citizens
 
@Lamak I'm just saying check online they come around more often than you think
 
4:51 PM
@Zane Yeah, though online shopping from other countries isn't so attractive because of the extra charges (the shipping, taxes, etc)
 
That's right. I didn't think about that.
 
@Zane that's what I get for living on a third world country
@AaronBertrand it's about to start: engadget.com/2013/06/10/apple-wwdc-2013-liveblog
 
Last minute prediction: Apple Xbox.
:O
 
JNK
5:12 PM
@RemusRusanu is here!
edits anything bad he said about service broker
 
@RemusRusanu Just responded to your comment... does it make sense in that context?
 
5:28 PM
@AaronBertrand Didn't you use already multiple displays with your Macs? Is this announcement a big deal?
 
@CadeRoux there has always been multiple display support. But only one could ever be primary - dock + menubar only ever on one screen.
Also you can have AirPlay monitors that allow you to put stuff on displays that aren't physically connected to the computer.
Think wall-mounted displays with one less cable...
 
@AaronBertrand Is that new or old?
 
I had never heard about it before.
 
5:59 PM
@Marian Mostly finished. One thing is ready and go and just waiting to be scheduled, the others I still need to tweak a little bit.
 
> New Intel Xeon chip, up to 2x the CPU performance, fastest memory ever, 1866MHz DDR3 on 4-channel controller, 60GB per second bandwidth
I'm ok with this hardware
 
@jcolebrand what about that price tag? lol
 
haha, it's coming, I'm sure
 
6:14 PM
hmmm So the new mac pro is a garbage can?
 
recycle bin
 
looked more like a jet engine to me
 
> More than a third of Android users are using an OS that was released in 2010, says Cook.
That's been my #1 complaint on Android for a while
 
How am I supposed to get any work done when E3 and WWDC are going on?!
@AaronBertrand I've never really been impressed with their desktop design. It's the laptops that look gorgeous.
 
6:34 PM
@AaronBertrand A few months ago I was looking into these but never bought one: startech.com/AV/Extenders/VGA/… Was looking for a simple way to to place a monitor anywhere and send a video signal to it from a (virtual) server in the cloud, nothing to plug into the (virtual) server and nothing but TCP/IP and power to the monitor.
 
@CadeRoux he's probably busy pre-ordering a new Iphone atm :)
 
new mac pro
ios 7 works on iphone5 :)
 
Nothing available for order now.
New Airs available now, sorry.
 
@DerekDowney I didn't see that. I saw that AirDrop works on iPhone 5.
@CadeRoux Developers can get iOS 7 and Mavericks later today IIRC
 
6:49 PM
you think they'll backport airdrop into ios6?
 
(And all you need to be a "developer" is $99)
@DerekDowney no.
 
neither do I
 
@DerekDowney I didn't see anything that led me to believe the rest of iOS 7 would be available only on iPhone 5.
 
@AaronBertrand I let that expire.
 
@CadeRoux me too.
 
6:51 PM
@AaronBertrand I didn't say 'only on' iphone5, just that it will work on iphone5
 
@DerekDowney ah, ok. Not sure why anyone would think it wouldn't. :-)
 
They dropped the kitty cat names :(
 
@Zane what cat names were left?
 
Sabertooth
 
Siamese
 
6:54 PM
@AaronBertrand point taken. I sure hope google never runs out of deserts.
 
JNK
Fluffy
 
Mavericks seems a little too codenamey to me. Like Intel and Microsoft.
 
The pluralization seems weird to me.
 
@CadeRoux you mean like Durango?
 
@CadeRoux it's plural in basketball..makes sense to me!
 
6:57 PM
@DerekDowney that only works because you refer to them as The Mavericks.
 
@AaronBertrand The surf spot is know as Maverick's or Mavericks, named after a dog from the 60s.
 
"I just picked up a copy of Mavericks" sounds a little funny.
 
@CadeRoux I know, still seems a weird adaptation for the name of an operating system
 
No one knows what that is. May as well pick an obscure river in Timbuktu. Obviously OSX is the brand, but...
 
Who would have guessed apple and google would have been the last one to get into this? engadget.com/2013/06/10/apples-debuts-music-streaming-service
 
7:10 PM
I'm taking the google music for a trial. Seem meh thus far and I'll likely keep my calendar appointment of "cancel this"
 
@PaulWhite nice, good luck!
 
@billinkc it's my prefered service atm. I like it more than the others also I have all my cloud drive songs so that's nice.
 
I let them store my music in the cloud. Just their service for radio streaming thing seems underwhelming.
 
7:38 PM
@billinkc I don't necessarily care so much about raido I usually listen to full albums so I like having acess to albums I don't own is nice.
 
7:49 PM
@billinkc The UX is not the best - there's no obvious distinction between what you own and what you have temporary access to. I prefer to just buy and upload - I've got 16000 tracks in Google Music. They need to sort out the family account thing properly, though. Two people could't play music at the same time - one time I got a message about that. Not sure if they've fixed that.
 
8:20 PM
If I were creating a synonym for a database name on the same instance, I would expect CREATE SYNONYM DW FOR DWDEV; to handle it. However, when I write SELECT * FROM DW.dbo.MyTable it blows chow with invalid object name DW.dbo.MyTable
Am I doing something wrong?
 
You can't create a synonym for a database.
I asked for this functionality in 2007: connect.microsoft.com/SQLServer/feedback/details/288421/…
 
balls
 
Posted by Miljan Radovic on 6/9/2013 at 8:38 AM
Microsoft, your motto for this site is "Your feedback improving Microsoft products", but is it really or this is just marketing trick? This would be very useful for many people and you are doing absolutely NOTHING regarding this for years... Why don't you just shut down this site and leave us in the dark instead of giving us false hope???

Miljan Radovic,
Microsoft BI Developer
 
Synonyms are object-level only. It would be nice to be able to call a database whatever you wanted to (some kind of alias) instead of having to hard-code it. You may still get away with what you want using synonyms, but it is obviously more tedious.
 
8:24 PM
They change the name of the database to reflect the environment, thus DWDEV, DWSTAGE, DWPRD (PRD not PROD because the O would result in an additional license cost). A synonym to at the DB level would be helpful.
 
@AaronBertrand that is an angry thread you got going.
 
Also my ability to read BNF would probably be useful msdn.microsoft.com/en-us/library/ms177544.aspx
 
@billinkc you can pretty easily automate the changing of the object-level synonyms. Actually that sounds like a good MSSQLTips tip.
Work around the inability to alias the database~
 
But I don't wannnnna, I just want it to work like a sane person would expect.
Also, I'd like a pony and an ice cream cone
 
@AaronBertrand pretty popular request
 
8:34 PM
@Marian more so than I thought - seems to have taken a life of its own since I last checked on it
 
@AaronBertrand well it is nice following common sense, so I would say you were right with it.
though Connect seems more like Disconnect from the complaints
 
@Marian I think that's just a matter of volume. Try to count the number of requests. If they spent time talking to every single person who complains, they'd fix even less.
And you can't outsource a dev's job to someone less qualified to provide face time, because they won't have any clue what you're talking about.
 
@AaronBertrand of course, it's just that some answers require months before they are written back to the poster. I've looked at the difference between the initial request and some answers and some took lots of time before an answer was given.
Looks a bit odd in this fast communication century, that's all.
though it's still better than a fast NO :-).
 
@Marian understood, but I would much rather they spend time now fixing the things from last year they've committed to fix, than dealing with the people making new requests now.
Even Microsoft is not made of limitless resources, and the money the SQL Server team spends has to be justified by SQL Server income. They can't just borrow billions from Office revenue to hire 80,000 developers and train them on the ins and outs of SQL Server just so they can sit down and keep up with Connect.
I don't like the lack of communication any more than you do, but I understand it.
 
@AaronBertrand well, it's curious that after so many years it's still good old Office that rocks the MS boat.
it was the same 10 years ago
 
8:50 PM
@Marian well think about it, let's say a company has 100 employees, that's 100 Office licenses, but probably still only one SQL Server (and maybe a SharePoint on top). And hardly ever the most recent version. It takes a lot of SQL Server licenses to match the consumer end user side.
And we know they won't be able to rely on Windows as a current cash cow. :-)
 
Over 300 up-votes now, that is surprising. I must admit I didn't realize 4-part synonyms were possible.
 
@AaronBertrand well a good old db server uses the same license some years, that's right. But not sure that 100 Offices will match one Standard edition license of SQL Server. But big companies don't even need SQL Server, they have Access as database.
 
Kin
Hi All, is this too localized dba.stackexchange.com/questions/44252/… and can be voted to close ?
 
@Marian I don't even know what Office costs, I wasn't trying to be super accurate. Also Standard is pretty cheap especially as CAL.
 
@AaronBertrand I was just picking the wrong example. Too bad MS didn't invest in Palm devices some years ago. Now they would've been the lead OS company. Now I guess Apple and Google outnumber it wildly with the small devices.
I remember they had opportunity to invest in that company, but didn't trust the market to grow.
@Kin seems a bit too localized for me. Only someone with the tool might know the answer.
 
Kin
8:59 PM
@Marian thanks .. I have voted to close it .. doing it for 1st time .. so better ask here first to get correct advise
 
@Kin mod hammer :).
 
I closed it as off-topic. It's a very specific support question for their product, and some of the vendors actually have very good support forums where they're likely to get both a faster and official response.
 
9:54 PM
hola friends ...
is SQL Server licensing MAC dependent?
OSX Mavericks ... cool name, btw
 
10:17 PM
@swasheck you mean MAC as in the network card ID thing? Not to the best of my knowledge (with the caveat that I don't really have any knowledge)
 
@swasheck don't think so, but I've always had enterprise license keys without any machine bond. But @MarkStoreySmith could tell you better, he studied licensing to the bones.
 
10:32 PM
thanks. how are you guys doing?
 
@swasheck we have being lost since you left
 
Seems like the quickest way to devolve people from the site is to make them a mod or a Heap room owner :)
 
or get them a new job
 
Right
@swasheck How's it going?
 
it's going well. it's a nice change. things are different (as you'd expect) and i see that i actually have value on a team. that's nice.
also ... less time on the heap makes me feel a lot smarter than i was. :)
mostly because the people on the heap are so smart i'd feel dwarfed :)
 
10:55 PM
evening all
 
greetings
 
11:27 PM
@swasheck what was the licensing query I see above?
 
11:51 PM
@JackDouglas I don't understand the question you posted earlier. Is it a test/trap? :)
 

« first day (888 days earlier)      last day (3996 days later) »