Viewing 15 posts - 6,076 through 6,090 (of 14,953 total)
David.Poole (11/12/2010)
November 12, 2010 at 1:36 pm
I threw "Microsoft SharePoint User Group" into Bing, and found a couple that way.
November 12, 2010 at 1:25 pm
Not sure what you mean.
November 12, 2010 at 11:38 am
Something like this?
;WITH CTE (DR, PG, R) AS
(SELECT DateRequested, ProductGroup, DENSE_RANK() OVER (PARTITION BY ProductGroup ORDER BY DateRequested DESC)
FROM dbo.MyTable)
UPDATE ...
SET MyRankColumn = R
FROM ...
INNER JOIN CTE
ON ....DateRequested = CTE.DR
AND...
November 12, 2010 at 11:37 am
Do you have a specific question, or are you looking for a contractor to hire, or what?
November 12, 2010 at 11:33 am
In that case, you'll probably be better off on an Oracle forum. This site is dedicated mostly to MS SQL.
I'm not familiar with Oracle myself, but you could post...
November 12, 2010 at 11:32 am
Greg Edwards-268690 (11/12/2010)
Steve Jones - SSC Editor (11/12/2010)
GilaMonster (11/12/2010)
Greg Edwards-268690 (11/12/2010)
Must be the Urgent! that rattled you.
Not just. I've been getting change requests at about 2 mails per day (multiple...
November 12, 2010 at 10:55 am
WayneS (11/12/2010)
GSquared (11/12/2010)
Dave Ballantyne (11/12/2010)
WayneS (11/12/2010)
I assume you mean with the OPTION (RECOMPILE) hint? Sure did.
Doesnt this just completely negate any advantage of table vars though ? .
The...
November 12, 2010 at 10:53 am
First, are you using Oracle? The "CASCADE CONSTRAINTS PURGE" is an Oracle extension for Drop Table, and isn't part of T-SQL.
If you're using MS SQL Server, you'll need to...
November 12, 2010 at 10:51 am
Mick Moses (11/12/2010)
November 12, 2010 at 10:01 am
RichardDouglas (11/12/2010)
November 12, 2010 at 9:53 am
Dave Ballantyne (11/12/2010)
WayneS (11/12/2010)
I assume you mean with the OPTION (RECOMPILE) hint? Sure did.
Doesnt this just completely negate any advantage of table vars though ? .
The main reason...
November 12, 2010 at 9:45 am
Wasn't presupposing that you'd see anything there. Was asking if you'd tried that. You just did, and it worked as you said it would. I hadn't had...
November 12, 2010 at 9:42 am
In the final (outer) query, you can join to the products table and do the count that way. That will give you the number of products per TopCategoryID. ...
November 12, 2010 at 9:38 am
Viewing 15 posts - 6,076 through 6,090 (of 14,953 total)