mockney piers Posted March 6, 2009 Share Posted March 6, 2009 Ok, figured it's a chance to get EDF on the google knowledge base map.For the most part in my job (IT development) I can just google a class or error and get a wealth of useful information.But recently I've started upgrading stuff to reporting services 2008, SQL 2008 and I'm getting an average of no hits and no information, clearly I'm the only one doing this or no one can get anything to work and talk about it.Yaw yawn etc.Anyway, I figured we have thousands of intelligent people working in all sorts of professions and we might be a good resource to help each other in times of need, and mayhap a room to share this stuff might (or might not, fine fine, let it sink out of sight) be a good idea.So when in need...is there a legal precedence for...how can I use linq to...dovetail joint the wrong way of going about...should I use butter or is a water based lube... etc this is the place to ask. Link to comment https://www.eastdulwichforum.co.uk/topic/5542-professional-enquiries-cos-were-good-at-what-we-do/ Share on other sites More sharing options...
mockney piers Posted March 6, 2009 Author Share Posted March 6, 2009 oookayyyyyso can anyone tell me why, in SQL server, when trying to randomly get the Nth row from a table with[pre]WITH sentence AS(SELECT stuff, row = ROW_NUMBER() OVER (ORDER BY Id)FROM SentenceType )SELECT sen.stuffFROM sentence senWHERE sen.row = (ABS(CHECKSUM(NEWID())) % 100) + 1 --random 1-100 this aint cryptography[/pre]and [pre]DECLARE @row INTSET @row = (ABS(CHECKSUM(NEWID())) % 100) + 1 --random 1-100 this aint cryptography;WITH sentence AS(SELECT stuff, row = ROW_NUMBER() OVER (ORDER BY Id)FROM SentenceType )SELECT sen.stuffFROM sentence senWHERE sen.row = @row[/pre]they behave so very, very differently with the former utterly barmy and the latter working fine (but not how I want to do this)? Link to comment https://www.eastdulwichforum.co.uk/topic/5542-professional-enquiries-cos-were-good-at-what-we-do/#findComment-178100 Share on other sites More sharing options...
Keef Posted March 6, 2009 Share Posted March 6, 2009 Yeah, I should have bought you a 4th pint! Link to comment https://www.eastdulwichforum.co.uk/topic/5542-professional-enquiries-cos-were-good-at-what-we-do/#findComment-178103 Share on other sites More sharing options...
karter Posted March 6, 2009 Share Posted March 6, 2009 looks like he's had one too many already. Link to comment https://www.eastdulwichforum.co.uk/topic/5542-professional-enquiries-cos-were-good-at-what-we-do/#findComment-178108 Share on other sites More sharing options...
mockney piers Posted March 6, 2009 Author Share Posted March 6, 2009 OK, got it.In my first post it's calculating (ABS(CHECKSUM(NEWID())) % 100) + 1 against each row in the CTE, thus you will get as many (or as few) returned rows as you get coincidental matches between the (ABS(CHECKSUM(NEWID())) % 100) + 1 and the ROW_NUMBER.Interesting I always thought the where clause was considered a static value applied to each row, not a row level value applied to each row. Hmm beware of any getdate() type stuff on a long running query I reckon.One for the memory banks. Link to comment https://www.eastdulwichforum.co.uk/topic/5542-professional-enquiries-cos-were-good-at-what-we-do/#findComment-178115 Share on other sites More sharing options...
*Bob* Posted March 6, 2009 Share Posted March 6, 2009 Your wife is certainly one lucky lady Link to comment https://www.eastdulwichforum.co.uk/topic/5542-professional-enquiries-cos-were-good-at-what-we-do/#findComment-178118 Share on other sites More sharing options...
Brendan Posted March 6, 2009 Share Posted March 6, 2009 Very, very sad. I?ve seen so many go this way. The ambulance has been called. Perhaps we could whip together to send some flowers. Link to comment https://www.eastdulwichforum.co.uk/topic/5542-professional-enquiries-cos-were-good-at-what-we-do/#findComment-178120 Share on other sites More sharing options...
mockney piers Posted March 6, 2009 Author Share Posted March 6, 2009 Thanks for your help everyone.Right, I'm trying to write a romantic ditty with my own fair pen to get some violinists to play at my wife's romantic birthday dinner. Should I go with a minor scale for that romantic/melancholic intimacy or go with the majors for that get up and go celebratory tone of which she's so beloved?Also should I learn how to play/write music too? Link to comment https://www.eastdulwichforum.co.uk/topic/5542-professional-enquiries-cos-were-good-at-what-we-do/#findComment-178134 Share on other sites More sharing options...
Jah Lush Posted March 6, 2009 Share Posted March 6, 2009 Can you sing though Mockers? Link to comment https://www.eastdulwichforum.co.uk/topic/5542-professional-enquiries-cos-were-good-at-what-we-do/#findComment-178140 Share on other sites More sharing options...
*Bob* Posted March 6, 2009 Share Posted March 6, 2009 Ah.. I know this one. Waltz in F major, modulate to the dominant (finishing with a rallentando) - and then undo her bra strap and hope for the best. Link to comment https://www.eastdulwichforum.co.uk/topic/5542-professional-enquiries-cos-were-good-at-what-we-do/#findComment-178141 Share on other sites More sharing options...
mockney piers Posted March 6, 2009 Author Share Posted March 6, 2009 Excellent advice, much indebted to you *Bob*.See it wasn't a wholly terrible idea :-/ Link to comment https://www.eastdulwichforum.co.uk/topic/5542-professional-enquiries-cos-were-good-at-what-we-do/#findComment-178162 Share on other sites More sharing options...
Brendan Posted March 6, 2009 Share Posted March 6, 2009 Try thisOh and don't forget The minor falland the major lift(Shamelessly plagiarised from the Daily Mash.)EDIT: In accordance with the Prophecy. Link to comment https://www.eastdulwichforum.co.uk/topic/5542-professional-enquiries-cos-were-good-at-what-we-do/#findComment-178174 Share on other sites More sharing options...
Mikecg Posted March 6, 2009 Share Posted March 6, 2009 Brendan thats a piano piece, I prefer Dm it's the sadest of all keys you know. Major keys are too up beat, minor keys envolke emotion Im not a developer more of a unix sys admin/engineer if you ever get a problem with Solaris Linux networking disk managment Veritas or LVM clustering or shared storage patching ipmp basic scripting etc then I may be able to help you out Link to comment https://www.eastdulwichforum.co.uk/topic/5542-professional-enquiries-cos-were-good-at-what-we-do/#findComment-178198 Share on other sites More sharing options...
Peckhamgatecrasher Posted March 6, 2009 Share Posted March 6, 2009 made me laugh Brendan Link to comment https://www.eastdulwichforum.co.uk/topic/5542-professional-enquiries-cos-were-good-at-what-we-do/#findComment-178201 Share on other sites More sharing options...
Huguenot Posted March 6, 2009 Share Posted March 6, 2009 You punk sh*t you. ;-)Some of us had to write bubble searches when there was nothing but assembly. We wrote the bloody code.Don't imagine I was always a logical recidivist. The models you use to reduce data factories now were written by me and my peers in between writing 'Tron' for 'Computer & Video Games' Magazine, 1984. (Yes, I know, CVG now, you p*nces).You go off to these blinking exam courses in '95 and think you own the debate.I laugh in the face of your language compiler trap, if only because in my day you'd be staring at one million data points without a clue at rationalising them. Sod it. You'd be going 'load the stack...skim the stack', it's binary dontcha know?Incidentally, you'll never find the result by potting code. You have to feel the result. Stroke the knowledge. Numbers are an art, not a science.Signed Grumpy B@stard Link to comment https://www.eastdulwichforum.co.uk/topic/5542-professional-enquiries-cos-were-good-at-what-we-do/#findComment-178226 Share on other sites More sharing options...
ruffers Posted March 7, 2009 Share Posted March 7, 2009 Can we ask "Corpus Christi, Trimble!?" Link to comment https://www.eastdulwichforum.co.uk/topic/5542-professional-enquiries-cos-were-good-at-what-we-do/#findComment-178337 Share on other sites More sharing options...
bignumber5 Posted March 7, 2009 Share Posted March 7, 2009 ELECTRICAL TYPES PLEASE HELPreplacing halogen down-lighter bulbs with LED's. Bulbs flicker but then go out, think I might need something called an LED driver - what is an LED driver, how does it work and where do i put it? Link to comment https://www.eastdulwichforum.co.uk/topic/5542-professional-enquiries-cos-were-good-at-what-we-do/#findComment-178410 Share on other sites More sharing options...
woofmarkthedog Posted March 8, 2009 Share Posted March 8, 2009 Try LDL 0870 350 0080www.ldlonline.co.ukProduct LDLDR01 or 02Or Mister Resistor based in FulhamW**F Link to comment https://www.eastdulwichforum.co.uk/topic/5542-professional-enquiries-cos-were-good-at-what-we-do/#findComment-178816 Share on other sites More sharing options...
bignumber5 Posted March 8, 2009 Share Posted March 8, 2009 Cheers woof, but I still don't really understand what I do with one of these driver things - does it need wiring into the light fittings? the ceiling? the fuse box? I'm an electrical numpty, so please can someone walk me through this?! Link to comment https://www.eastdulwichforum.co.uk/topic/5542-professional-enquiries-cos-were-good-at-what-we-do/#findComment-178833 Share on other sites More sharing options...
woofmarkthedog Posted March 8, 2009 Share Posted March 8, 2009 Ok ...now don't take offense are you a DIY a "Don or Dunce"it goes in between the fittings ( LED downlighters ) and the main supply, a bit like a transformer does on L.V so say 6 lights can run off the main feed, they are small enough to push through the hole cut out for the fittings. they do need to be accessible in case of later failure. Also they won't heat up like LV's See inclosed instruction supplied with the items(Don) or hire a sparks (Dunce)W**FPS. Turn off power at the mains before starting any electrical work Link to comment https://www.eastdulwichforum.co.uk/topic/5542-professional-enquiries-cos-were-good-at-what-we-do/#findComment-178835 Share on other sites More sharing options...
bignumber5 Posted March 8, 2009 Share Posted March 8, 2009 cheers again - sounding more and more like something i need to get a man in for, rather than do myself... Link to comment https://www.eastdulwichforum.co.uk/topic/5542-professional-enquiries-cos-were-good-at-what-we-do/#findComment-178852 Share on other sites More sharing options...
snorky Posted March 8, 2009 Share Posted March 8, 2009 bastard internet explorer keeps freezing and fading.. windows says it will see what the problem is , but invariably I hve to Ctl/Alt/Delete and kill the puppy - any ideas ? Link to comment https://www.eastdulwichforum.co.uk/topic/5542-professional-enquiries-cos-were-good-at-what-we-do/#findComment-178959 Share on other sites More sharing options...
Mikecg Posted March 8, 2009 Share Posted March 8, 2009 Yes, you have a classic case of Microdross SolutionDownload Mozilla FireFoxImmediately if not sooner Link to comment https://www.eastdulwichforum.co.uk/topic/5542-professional-enquiries-cos-were-good-at-what-we-do/#findComment-178965 Share on other sites More sharing options...
mockney piers Posted March 9, 2009 Author Share Posted March 9, 2009 I'd do a scan for any malware, bots etc, just in case; maybe time for a defrag too? What OS are you?Although I love Firefox I find it more memory intensive than IE on the whole, and blows up more often, but then I suppose I have more extensions than most, some of which, like firebug, get under the covers somewhat.I've found Google Chrome the quickest and lightest so far, but it's still in Beta form. Link to comment https://www.eastdulwichforum.co.uk/topic/5542-professional-enquiries-cos-were-good-at-what-we-do/#findComment-179078 Share on other sites More sharing options...
Asset Posted March 9, 2009 Share Posted March 9, 2009 My computer was doing same thing snorky, after a few months of this behaviour it completely died. Couldn't economically be fixed as it was the 'motherboard' (isn't it always) so had to buy a new one. Beware imminent meltdown. Link to comment https://www.eastdulwichforum.co.uk/topic/5542-professional-enquiries-cos-were-good-at-what-we-do/#findComment-179080 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now