Viewing 15 posts - 1,321 through 1,335 (of 8,416 total)
Jeff Moden (1/8/2012)
Thought the discussion would lend itself to the proper application of CROSS APPLY, but sure.
Hm, that's actually a good point. As you were, discuss away...:-)
January 8, 2012 at 9:08 pm
GilaMonster (1/8/2012)
Probably a cached stylesheet or something.
It's weird: it does the same thing in IE9 (which I very rarely open). Oh well, small irritation, it'll probably go away on...
January 8, 2012 at 10:23 am
And yet, in the same browser, using http://extras.sqlservercentral.com/prettifier/prettifier.aspx:
January 8, 2012 at 10:15 am
GilaMonster (1/8/2012)
Looks ok to me.
Must be just me then. Perhaps it's a browser cache thing, but I see this:
January 8, 2012 at 10:08 am
Is it just me, or is SQL code prettifying (specifically colours) broken on the site at the moment?
January 8, 2012 at 9:57 am
GilaMonster (1/8/2012)
January 8, 2012 at 9:53 am
Jeff Moden (1/8/2012)
Mr. White, you've done...
January 8, 2012 at 9:49 am
GilaMonster (1/8/2012)
Perry Whittle (1/8/2012)
IIRC the older syntax is not supported in database compatibilty modes of 90 and higher
The older style for outer joins isn't (+=, =+), but the older form...
January 8, 2012 at 9:32 am
Perry Whittle (1/8/2012)
IIRC the older syntax is not supported in database compatibilty modes of 90 and higher
That's the problematic old *= and =* outer join syntax. The inner join...
January 8, 2012 at 9:26 am
This seems to work reasonably well:
-- Standard in-line numbers table
WITH
N1 AS (SELECT N1.n FROM (VALUES (1),(1),(1),(1),(1),(1),(1),(1),(1),(1)) AS N1 (n)),
N2 AS (SELECT L.n...
January 8, 2012 at 9:22 am
Luk (1/6/2012)
When doing table joins, always use the INNER JOIN / LEFT OUTER JOIN syntax...
This syntax is the most common in modern code. It brings consistency to inner and...
January 8, 2012 at 8:15 am
LutzM (1/8/2012)
@paul-2: thank you for the reminder! I tend to forget that ( < node > /text())[1] usually makes quite a difference...
You're welcome (but removing the extra .query calls is...
January 8, 2012 at 7:13 am
J Livingston SQL (1/8/2012)
....some initial tests on a test server had the update run in 17 secs with "new" QU..."old" QU takes 64 secs.
Well yes, but I do want to...
January 8, 2012 at 7:09 am
Small tweak to Lutz' original code:
WITH XMLNAMESPACES (DEFAULT 'urn:schemas-microsoft-com:xml-analysis:rowset')
INSERT Unit_Test
([End User Name], [Country Code], Units)
SELECT
X.OBI.value('(C0/text())[1]', 'NVARCHAR(100)'),
X.OBI.value('(C1/text())[1]',...
January 8, 2012 at 6:43 am
There's a system function shipped as part of msdb that turns an integer date and an integer time into a DATETIME. Being undocumented, using it directly isn't be supported...
January 8, 2012 at 5:55 am
Viewing 15 posts - 1,321 through 1,335 (of 8,416 total)