Viewing 15 posts - 1,366 through 1,380 (of 1,957 total)
tzanouch (5/27/2011)
TO: MMActually my way was 2 times faster than yours
(my execution was 8sec and yours 16s).
How can this be??
I was sure that yours would be faster!!!!!
Probably down to...
May 27, 2011 at 5:28 am
tzanouch (5/27/2011)
ex. From the following table I want all those who have value='y' for every...
May 27, 2011 at 2:40 am
Craig Farrell (5/26/2011)
It's because of the uniqueness of this: ORDER BY new_id,base.id,base.colidThat uniqueness doesn't let it cache.
It's all about the uniqueness of the input into the Applied structure.
Thanks Craig,
Yes, I...
May 27, 2011 at 2:36 am
Craig, Thank you - that explains a lot, incredibly well!
I have taken that on board and now see why it was working like that.
Now for the *twist*.....
I just tried it...
May 26, 2011 at 3:21 am
Ninja's_RGR'us (5/25/2011)
It was closed as "by design" and if it is the same issue then any of...
May 25, 2011 at 5:13 pm
Craig Farrell (5/25/2011)
mister.magoo (5/25/2011)
Craig Farrell (5/25/2011)
May 25, 2011 at 4:59 pm
Craig Farrell (5/25/2011)
May 25, 2011 at 4:56 pm
@Lamprey13 - yes that is probably the same thing as this - or at least they must be related.
So, I need to watch out for this one then.
I guess I...
May 25, 2011 at 4:30 pm
mazzz (5/25/2011)
May 25, 2011 at 12:46 pm
Michael Valentine Jones (5/24/2011)
May 25, 2011 at 12:41 am
sandor.pakh (5/24/2011)
After some deliberation I've ended up using the XQuery solution.
Main reason being that I am not a fan of...
May 24, 2011 at 5:12 pm
Have you tried setting NOCOUNT ON in the proc?
I have seen instances of client code using ADO that does not behave as expected due to the presence of row...
May 23, 2011 at 4:37 pm
Borrowing Eddie's excellent sample data...here is an alternative method without the pivot
DECLARE @doc XML
SET @doc = N'<?xml version="1.0" encoding="UTF-16" ?>
<root name="TABLE_NAME_1">
<row action="U" timestamp="2011-05-18 17:14:21.000">
<column name="CRCUSN">86831</column>
<column name="CRSYER">111</column>
<column name="CRSFPD">1</column>
<column name="CRTSLD">3004.81</column>
<column name="CRTCRS">39.71</column>
<column name="CRFGAWD">148.21</column>
<column...
May 23, 2011 at 4:28 pm
Arjun Sivadasan (5/23/2011)
Ninja's_RGR'us (5/19/2011)
Any special way to make your trick work when there are negatives numbers too?
use tempdb
go
if(object_id('tempdb..#test') is null) create table #test(ver varchar(50))
truncate table #test
insert into #test(ver)
values
('10.00.1600'),
('10.00.1763'),
('10.00.1779'),
('10.00.1787'),
('10.00.1798'),
('10.00.1806'),
('10.00.1812'),
('10.00.1818'),
('10.00.1823'),
('9.00.4315'),
('9.00.4317'),
('9.00.4325'),
('9.00.5000'),
('9.00.5254'),
('9.00.5259'),
('9.00.5266')
select * from...
May 23, 2011 at 7:41 am
Jeff Moden (5/23/2011)
May 23, 2011 at 2:54 am
Viewing 15 posts - 1,366 through 1,380 (of 1,957 total)