Viewing 15 posts - 871 through 885 (of 8,416 total)
DECLARE @xml xml =
N'<?xml version="1.0" encoding="utf-16"?>
<TBL_FACTOR>
<RD_FACTOR>
<ID>1</ID>
...
January 31, 2012 at 4:32 am
karthikaug18 (1/31/2012)
Does the indexed view will update periodically on commit like in oracle.?
Any data modification query that affects an indexed view maintains the view directly in the query plan that...
January 31, 2012 at 4:07 am
shah.simmy (1/30/2012)
i have a table Product like this CustomerId,Product,quantity
...
January 31, 2012 at 4:00 am
Expressing this sort of requirement using a logical (anti-) semi-join using EXISTS, INTERSECT, or EXCEPT seems more natural to me than introducing NULLs with an outer join, and then filtering...
January 31, 2012 at 3:32 am
Loundy (1/31/2012)
January 31, 2012 at 3:14 am
Rob-350472 (1/31/2012)
Running that query against a large set of customers appears to prevent others from adding a communication until the...
January 31, 2012 at 2:19 am
Rob-350472 (1/31/2012)
Are there any implications for database storage and or disk use of going down the snapshot route? That's what seems to be ringing some bells?
Yes you might need to...
January 31, 2012 at 1:55 am
Try this too:
SELECT
[Name1] = MAX(CASE WHEN tp.RowNum = 1 THEN tp.Name END),
[Name2] = MAX(CASE WHEN tp.RowNum = 2 THEN tp.Name END),
...
January 31, 2012 at 1:49 am
A second option:
SELECT
c.CategoryId,
c.NameCategory,
Top1.NameDetail
FROM dbo.Category AS c
CROSS APPLY
(
SELECT TOP (1) *
...
January 31, 2012 at 1:39 am
elogen (1/30/2012)
Well what do you know, the inline string split has resulted in a parallel execution plan!
Cool.
If you look at the query plan attached, even though it is very quick,...
January 30, 2012 at 7:59 pm
GSquared (1/30/2012)
It will potentially save the CPU overhead of establishing a shared lock. On a seriously overloaded system, that could be beneficial.
The Read Committed isolation level guarantees two things:...
January 30, 2012 at 7:43 pm
Viewing 15 posts - 871 through 885 (of 8,416 total)