Viewing 15 posts - 1,741 through 1,755 (of 4,081 total)
March 24, 2010 at 7:27 pm
The main reason why I try to avoid SQL_VARIANT is the need to cast it again once you need to use that column in a join condition.
Fair enough, Lutz. ...
March 24, 2010 at 7:12 pm
OKAY... once more from the top. In the example below, there are either one or two rows in the source table, but each have the same GUID...
March 24, 2010 at 6:45 pm
MUCH clearer, to me at least. I'm glad you found a workable solution. 🙂
March 24, 2010 at 6:24 pm
There is nothing wrong with the NOT EXISTS syntax that the LEFT JOIN is going to cure. That's just another technique for doing the same non-existence test....
March 24, 2010 at 6:02 pm
Eric, in the absence of sample data, I'm going to hazard an opinion. You have a join at some point that is causing multiple rows with the same...
March 24, 2010 at 5:36 pm
Yes you are doing something wrong. You are failing to punctuate. This makes your questions and comments all run together and is discouraging to people who are...
March 24, 2010 at 5:26 pm
Here it is. Like the pivot, it avoids the index seek required by the NOT EXISTS. The execution plans appear to be close, if...
March 24, 2010 at 12:35 pm
Did you not even look at my example casting an integer as SQL_VARIANT datatype?
March 24, 2010 at 12:22 pm
This one is more basic. It only shows the list of patients. However it produces a nice execution plan if we can assume that there...
March 24, 2010 at 10:06 am
Just to be cruel... go into query options (on someone else's machine) and change the batch separator from "GO" to "SELECT".
March 24, 2010 at 7:02 am
Latin1_General_CI_AS is an example of a Windows collation.
SQL_Latin1_General_CP1_CI_AS is a SQL collation.
Latin1_General_BIN is a binary code point collation.
This is exactly what I needed to know. Thanks for bringing...
March 24, 2010 at 6:32 am
GilaMonster (3/23/2010)
Changing the subject (if there is one), any art critics here?
The world is grey, the mountains old.
The forge's fire is ashen-cold.
No harp is rung, no hammer falls.
The darkness dwells...
March 24, 2010 at 6:23 am
We still don't know what results you are expecting, so we are unlikely to be of any more assistance. At this point, I don't even know why you...
March 24, 2010 at 6:07 am
Paul, I have to ask just when is Windows collation used?
I would assume that since all the work is being done inside SQL that some default SQL...
March 24, 2010 at 6:06 am
Viewing 15 posts - 1,741 through 1,755 (of 4,081 total)