Viewing 15 posts - 2,641 through 2,655 (of 8,416 total)
DECLARE @TableA
TABLE (
city VARCHAR(50) NOT NULL
);
...
September 17, 2010 at 3:36 am
This link explains FOR XML PATH:
http://www.simple-talk.com/sql/t-sql-programming/concatenating-row-values-in-transact-sql/
September 17, 2010 at 2:52 am
I don't understand the question either, but this MSDN reference might help:
September 17, 2010 at 2:46 am
shini2007 (9/16/2010)
DECLARE @bit BIT
SET @bit = -14
IF @bit = 1PRINT 'yes'ELSE PRINT...
September 17, 2010 at 1:32 am
For further details about that query plan, see:
http://sqlblog.com/blogs/paul_white/archive/2010/07/28/the-segment-top-query-optimisation.aspx
That entry also covers other possibilities including solutions using ranking functions, for example:
SELECT Ranked.HistoryID,
Ranked.ObjID,
...
September 17, 2010 at 1:29 am
The most efficient execution avoids any joins:
That's a single ordered scan of an index. One way to achieve that plan is to change the clustered index:
CREATE TABLE X
...
September 17, 2010 at 1:25 am
Stefan Krzywicki (9/16/2010)
Why apoologize? You too made a good guess. : -)
Apologising seems to be this week's theme :laugh:
September 16, 2010 at 8:44 pm
Tom.Thomson (9/16/2010)
Actually what is needed is a course on correct non-use of apostrophes. Although even then I'm a bit dubious about the correctness of a rather recent convention.
Which one?...
September 16, 2010 at 6:33 pm
Trey Staker (9/16/2010)
Paul White NZ (9/16/2010)
WayneS (9/16/2010)
September 16, 2010 at 6:23 pm
GilaMonster (9/16/2010)
Paul White NZ (9/16/2010)
GilaMonster (9/16/2010)
Steve Jones - Editor (9/16/2010)
What's humour? You hanging out with Brit's in TN?He's finally learnt to spell properly. 😀
Perhaps a course on the correct...
September 16, 2010 at 6:17 pm
GilaMonster (9/16/2010)
Steve Jones - Editor (9/16/2010)
What's humour? You hanging out with Brit's in TN?He's finally learnt to spell properly. 😀
Perhaps a course on the correct use of apostrophes next?
😛
September 16, 2010 at 1:11 pm
TravisDBA (9/16/2010)
September 16, 2010 at 1:06 pm
Lawrence Moore (9/16/2010)
Do we think the mix up of RULEOFF/RULEON in SQL 2005 was a deliberate ploy or purely accidental by the MS developers?
It's usually safe to assume cock-up over...
September 16, 2010 at 8:49 am
Brandie Tarvin (9/16/2010)
Maybe. Cat just went in for surgery...
I see! Let me give you the glass-half-full bolded version, just for comparison:
Gail, Will you accept my apology? Sometimes in a...
September 16, 2010 at 8:41 am
Christian Buettner-167247 (9/16/2010)
September 16, 2010 at 8:33 am
Viewing 15 posts - 2,641 through 2,655 (of 8,416 total)