Viewing 15 posts - 1,696 through 1,710 (of 5,590 total)
Sean Lange (3/15/2011)
Wayne it was your signature I was thinking of as I was adding my reply. Applies 100% in this case.
😀
(You didn't think of my article for explaining it?...
March 15, 2011 at 10:28 am
Well, just expanding upon your cte, we can get the other columns that you're looking for:
(Note that I shifted over to using a table variable instead of the temp table...
March 15, 2011 at 9:44 am
1. I don't think that you need to use the double-quotes around the 3-part db.schema.object unless it contains a space or quotation mark; then you would also need to use...
March 15, 2011 at 9:30 am
Matt,
Based on the sample data that you provided (BTW - THANK YOU!!!), can you show us what the expected output is?
(Question - is the data really INT? You're putting character...
March 15, 2011 at 9:13 am
This article should help you out - both with understanding, and coding: SQL Server Ranking Functions[/url]
March 15, 2011 at 9:08 am
Craig Farrell (3/14/2011)
March 14, 2011 at 11:42 am
timotech (3/14/2011)
March 14, 2011 at 11:07 am
drew.allen (3/14/2011)
jason-772533 (3/14/2011)
Hi Drew, Therein lies a small problem. I'm using a 2000 server, so can't use ROW_NUMBER as it's 2005 syntax!
There is a separate forum for SQL...
March 14, 2011 at 11:02 am
Steve Jones - SSC Editor (3/14/2011)
I'll look one over as well, Craig
Steve, I thought you looked over all of them anyway? 😉
March 14, 2011 at 9:36 am
mattboston (3/14/2011)
March 14, 2011 at 9:34 am
mar311 (3/14/2011)
March 14, 2011 at 8:54 am
The only way you're going to be able to do this is if you add the comID column to TableA, insert into that, and use the INSERTED.comID to insert into...
March 14, 2011 at 8:41 am
Let's see if I understand this correctly. If we take the information from your last post, and only do the inserts for TableC, you then want to insert all the...
March 14, 2011 at 8:18 am
Viewing 15 posts - 1,696 through 1,710 (of 5,590 total)