Viewing 15 posts - 4,801 through 4,815 (of 6,486 total)
Tom -
what kind of output were you expecting?
Try this on for size:
Select r.value('./Name[1]','varchar(20)') as Name,
r.value('./Address[1]','varchar(100)') as Value
From @X.nodes('/Customers/Customer') as x(r)
I'm thinking this...
February 11, 2008 at 10:09 am
I think the issue would be whether the implicit CAST will continue to be supported, or if the date values will continue to be stored as floating points where the...
February 11, 2008 at 9:47 am
I should have worded that as a 10,000 row GROUP. Making an assumption about the size of your groups is really dangerous. All you would need is one...
February 11, 2008 at 9:36 am
I'm wondering if you could wrap that in a recursive CTE with OPTION (MAXRECURSION 0)? Hmm, and then just rename it CTEHardWareKiller and sit back an pick up the...
February 11, 2008 at 9:21 am
antonio.collins (2/11/2008)
i'm confused. assuming there's some column that can order the payments sequentially/chronologically, can't this be solved with a simple self join?
Sure it can, and as a matter of...
February 11, 2008 at 9:06 am
(G Bryant McClellan:) Well - now I'm thinking you are confusing the primary Key and clustered key functions. They are not the same and do not necessarily have anything...
February 11, 2008 at 8:57 am
It sounds to me that you're making this extra complicated by not giving yourself enough columns in your tbl_big staging table (I'm assuming it's a staging table).
If you were to...
February 11, 2008 at 8:36 am
jaholbrook (2/11/2008)
..."Super Size Me" ring a bell.
Basically a lack of understanding on the upfront work involved in modeling. Does...
February 11, 2008 at 8:10 am
(I'll skip the quoting since we're now up to quoting each other 4 levels deep....:))
No - of course not - it wouldn't know what kind of join you want. ...
February 11, 2008 at 7:43 am
Arthur -
Picking the name of the table or view from the drop down is equivalent to select * from MyTableOrView. In the same way that that's bad...
February 11, 2008 at 7:20 am
If you want to leverage XML in reporting services, you should probably be looking at pre-processing whatever you had in mind, and storing it in XML data columns. the...
February 8, 2008 at 10:09 pm
TheSQLGuru (2/8/2008)
February 8, 2008 at 3:59 pm
I wouldn't restrict it. It's where SQL server stores its activity. If you limit it and for some strange reason your log hits that size before your log...
February 8, 2008 at 3:19 pm
Caffeine boost just kicked in. I think this is the XML trick applied to your case:
SELECT pidt.primary_id,
pit.prtype_id,
pit.prtype_name,
STUFF((SELECT ', ' + LTRIM(RTRIM(pit1.secondary_id))
FROM partyInfoTable pit1
WHERE pit1.primary_id = pidt.primary_id...
February 8, 2008 at 3:14 pm
I'm currently one state north (Raleigh), but I have family around Atlanta.
Careful - you never know when some crazed carolinian might show up demanding beer:)
February 8, 2008 at 3:03 pm
Viewing 15 posts - 4,801 through 4,815 (of 6,486 total)