Viewing 15 posts - 271 through 285 (of 8,416 total)
alanspeckman (9/12/2012)
Is there ever a case where you would want to use a GUID as a...
September 14, 2012 at 7:15 am
The comma form parses correctly if you list Worker second:
Select M.name, F.name, B.name
From Role F, Worker M
LEFT JOIN Worker B ON M.superiour=B.nr
Where M.Role = code
It might be a limitation of...
September 14, 2012 at 7:00 am
Rather than trying to navigate all the quirks of the interpretation of strings as dates, use an explicit style:
-- Style 103 = dd/mm/yyyy
SELECT DATEPART(DAY, CONVERT(date, '13/09/2012', 103));
September 14, 2012 at 6:49 am
Usman Butt (9/12/2012)
September 12, 2012 at 3:31 pm
m.t.cleary (9/11/2012)
Can you avoid the conversion to Unicode by casting to a byte array?
Yes, but it all gets very inconvenient from there on in - for example working out whether...
September 11, 2012 at 4:21 pm
SomewhereSomehow (9/11/2012)
September 11, 2012 at 11:01 am
Usman Butt (9/11/2012)
Another thing I just noticed is the return data type for the item is nvarchar(4000). Should not it be nvarchar(max)?
Not for me, no 🙂
The source code is there...
September 11, 2012 at 10:39 am
m.t.cleary (9/11/2012)
September 11, 2012 at 5:33 am
The question didn't mention trace flag 610 (which would enable minimal-logging in this scenario) so I assumed it was off, and was rewarded with a green tick and a point.
September 11, 2012 at 5:29 am
m.t.cleary (9/10/2012)
Paul's CLR splitter has two features which mean it shouldn't be compared directly to DelimitedSplit8K based splitters.
More than two (it supports very long strings and Unicode) but overall the...
September 10, 2012 at 8:23 am
It is interesting that explicitly filtering out updates isn't always faster than performing a non-updating update either:
USE tempdb;
SET NOCOUNT ON;
GO
CREATE TABLE dbo.Test
(
Name char(200) COLLATE Latin1_General_CI_AI NULL
);
GO
INSERT dbo.Test
SELECT...
September 9, 2012 at 9:36 pm
Sergiy (9/9/2012)
So, despite the value has been changed by UpdateMixedCase from 'TOM' to 'Tom' no logical writes recorded. Obviously, these statistics cannot be used like that for the case.
If...
September 9, 2012 at 8:58 pm
Lynn Pettis (9/7/2012)
September 7, 2012 at 6:56 pm
Viewing 15 posts - 271 through 285 (of 8,416 total)