|
Not really the correct forum for this - I'd post it as a question if I were you.
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
It's hardly a question, given he's already found the solution. This is precisely the correct forum.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Oh, maybe it is:Quote: Why do I always have to learn that the hard way instead of remembering it immediately? And how can I be prevented from throwing a LostMyMindException ?
|
|
|
|
|
Bernhard Hiller wrote: And how can I be prevented from throwing a LostMyMindException ? Obviously, with a missing mind, you won't throw any exception any more - you would have to implement a sane observer to take care of that!
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson
|
|
|
|
|
Indeed - note to self, read more carefully before commenting.
Apologies Bernard.
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
And what was the developer who came up with this smoking at the time?
How on Earth is this a good idea?
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
|
|
|
|
|
Well you could have resorted to doing it in an unsafe manner because the managed wrappers are really slow. That way you would have successfully screwed with the memory
|
|
|
|
|
Bernhard Hiller wrote: Bad Things (TM)
I think Winnie the Pooh already trademarked that.
Marc
|
|
|
|
|
SQL Server at its best.
Guess the output:
CREATE FUNCTION dbo.WTE ( @ID UNIQUEIDENTIFIER )
RETURNS TABLE AS RETURN
(
SELECT @ID [ID]
UNION ALL
SELECT @ID
UNION ALL
SELECT @ID
)
GO
DECLARE @ID UNIQUEIDENTIFIER = NEWID()
SELECT [ID] FROM dbo.WTE ( @ID )
SELECT [ID] FROM dbo.WTE ( NEWID() )
DROP FUNCTION dbo.WTE
This wasted a few hours today.
|
|
|
|
|
Knowing absolutely nothing about SQL, I have no idea, although I guess the output was not what was expected (and possibly wasn't even logical, having heard various stories about SQL Server).
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
|
|
|
|
|
Wow! Never seen this before. I tested with RAND() and FLOAT and it's the same behavior. Did you find any explanation?
|
|
|
|
|
Interesting.
I wouldn't have guessed that!
I'd suggest that's worth a quick tip (and possibly a list of what it does in various versions?)
For the record, I tried it in SQL Server 2012:
Microsoft SQL Server 2012 - 11.0.5343.0 (X64)
May 4 2015 19:11:32
Copyright (c) Microsoft Corporation
Express Edition (64-bit) on Windows NT 6.3 <X64> (Build 10586: )
And
Microsoft SQL Server 2012 (SP1) - 11.0.3156.0 (X64)
May 4 2015 18:48:09
Copyright (c) Microsoft Corporation
Web Edition (64-bit) on Windows NT 6.2 <X64> (Build 9200: ) (Hypervisor)
And got the same results
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Now, that is weird and wonderful!
I wonder what else I can do with that...
|
|
|
|
|
Function pointers FTW
"There are three kinds of lies: lies, damned lies and statistics."
- Benjamin Disraeli
|
|
|
|
|
Wow, that is truly horrible.
I'd describe that as a bug, pure and simple.
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
This is crazy - how is this possible! It's as if the NEWID() call is passed as a paremeter into the function and called three times?????
|
|
|
|
|
That function should be called WTF....
|
|
|
|
|
|
this deserves a trophy
=====================================================
The grass is always greener on the other side of the fence
|
|
|
|
|
Just going through and doing an email clean-up when I thought I'll clear the cobwebs outta the spam box too.
So I select them all, hit delete and am greeting with message
Your Spam folder is empty
Here are some great videos for you to watch
Which is then immediately followed by an autoplaying flash video. Huh? Wut. Close the (disabled plugin) video only for the text to change to:
Your Spam folder is empty
Why not take a look at some great videos from Yahoo7?
If I wasn't attached to my 15yr old address, I'd have dumped them a long time ago.
|
|
|
|
|
Is it any wonder they are doing so poorly?
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
|
|
|
|
|
enhzflep wrote: Your Spam folder is empty Spam folder: an internet artist folding spiced ham.
You cannot get enough of his great works.
|
|
|
|
|
|
|
Decrease the belief in God, and you increase the numbers of those who wish to play at being God by being “society’s supervisors,” who deny the existence of divine standards, but are very serious about imposing their own standards on society.-Neal A. Maxwell
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|