Viewing 15 posts - 721 through 735 (of 8,416 total)
alexms_2001 (3/13/2012)
The statement in MSDN, and I quote, is: "... while expressions involving COALESCE with non-null parameters is considered to be NULL" remains a mystery, to me at least.
That entry...
March 13, 2012 at 8:09 pm
atchristian (3/6/2012)
March 6, 2012 at 5:30 pm
CELKO (2/21/2012)
Then why does UPDATE Foobar SET a = b, b = a; swap the values of a and b? Answer: rows appear all at once!
The other interpretation (by Ken...
February 21, 2012 at 11:04 pm
SQLKnowItAll (2/20/2012)
February 20, 2012 at 10:13 am
For what it's worth, I didn't really see what Joe was driving at with his example either. It's pretty easy to do what the OP was asking for with...
February 20, 2012 at 9:47 am
drew.allen (2/20/2012)
Well, quoting from your own link [...] It seems pretty clear that a table hint is a type of query hint.
Well, before SQL Server 2008, there was no TABLE...
February 20, 2012 at 9:33 am
This demonstrates the problem and solution:
USE tempdb;
GO
CREATE TABLE dbo.Test (col1 integer NULL, col2 integer NULL, col3 integer NULL);
GO
CREATE VIEW dbo.V WITH SCHEMABINDING AS
SELECT
t.col1,
...
February 20, 2012 at 12:58 am
azhar.iqbal499 (2/18/2012)
Cannot create the clustered index 'v_CR_WriteOffReceiptWise_Rpt_Ind' on view 'PRSP_Live_010909_190112.dbo.v_CR_WriteOffReceiptWise_Rpt'...
February 20, 2012 at 12:47 am
Rowles (2/18/2012)
IS
IS NOT
=
<>
I'm assuming that all four of the above are equivalence...
February 20, 2012 at 12:35 am
Jeff Moden (2/19/2012)
February 19, 2012 at 9:50 pm
Cliff Jones (2/17/2012)
Interesting but I don't think I want my developers to discover the FORCESEEK hint.
This is completely the wrong approach, in my opinion. I prefer to work with...
February 17, 2012 at 9:22 pm
SQLKnowItAll (2/17/2012)
February 17, 2012 at 9:04 pm
msurasky-905715 (2/17/2012)
February 17, 2012 at 8:58 am
The seek with no indexes:
USE tempdb;
-- Partitioning stuff
CREATE PARTITION FUNCTION PF(integer) AS RANGE RIGHT FOR VALUES (NULL);
CREATE PARTITION SCHEME PS AS PARTITION PF ALL TO ([PRIMARY]);
-- Partitioned heap
CREATE TABLE #T...
February 17, 2012 at 8:43 am
Viewing 15 posts - 721 through 735 (of 8,416 total)