Nasty Fast PERCENT_RANK
Alan Burstein discusses a better performning alternative to PERCENT_RANK that works on SQL Server versions 2005+
2018-01-05 (first published: 2016-06-07)
10,161 reads
Alan Burstein discusses a better performning alternative to PERCENT_RANK that works on SQL Server versions 2005+
2018-01-05 (first published: 2016-06-07)
10,161 reads
2013-08-28
2,163 reads
A new article from Wayne Sheffield that examines the ranking functions in SQL Server. Learn how you can use ROW_NUMBER(), NTILE(), RANK(), and DENSE_RANK() in your applications.
2010-04-20
14,575 reads
Part 20 of the "SqlCredit – Developing a Complete SQL Server OLTP Database Project" examines SQL 2005’s NTILE() and ROW_NUMBER() Ranking Functions.
2008-11-06
4,328 reads
To clarify, is this only one user who needs to be looking at all stores but only two vendors, but when focusing on vendors he/she can see them all but only two stores? Or is it two different users, one of which can see all stores but only two vendors; the other can see all […]
2004-10-13
I'm sorry - they're all bad. The 3D graphics thing is old, outdated, a fad passed by, etc.Get rid of the cube, whatever it's supposed to be - stick with flat text and the arch, but maybe update the color-scheme and definitely the fonts.While you're changing the logo, go ahead and change the font of […]
2004-02-20
Any other ideas folks? Thanks in advance.
2004-01-15
1 reads
OK, I'll try It is this what you are looking for?SELECT h.ItemNo, l.MaxOH - SUM(ISNULL(p.PQty,0)) AS QtyReq, 'Rush - 4 Weeks' AS TimeFrame FROM ITEM_H h LEFT JOIN INV i ON h.ItemNo = i.ItemNo LEFT JOIN PID p ON i.PID = p.PID LEFT JOIN INV_LVLS l ON h.ItemNo = l.ItemNo WHERE h.ItemCat = 'RM' GROUP […]
2004-01-15
Oops - went horizontal when you wanted vertical DECLARE @colName VARCHAR(30) DECLARE enabledCol CURSOR FOR SELECT columnname from TABLE WHERE ENabled OPEN enabledCol FETCH NEXT FROM enabledCol INTO @colName WHILE @@FETCH_STATUS = 0 BEGIN SET @selSQL = 'SELECT ''' + @colName + ''' ColName, ' + @colName + ' colValue FROM <sourcetable> where <condition> EXEC […]
2003-07-09
Reaction time does not matter as their other tecnologies act on a lag that my Grandmother couldn't stand - so it's free form. However, My current system runs like the wind and can calculate and serve formatted HTML for 20 funds, 9 time series(Daily, Week To date, Month to date...), for a five year period […]
2003-06-05
1 reads
By Steve Jones
I can’t remember how I heard about Small Data SF 2024, but it caught...
By Steve Jones
moledro – n. a feeling of resonant connection with an author or artist you’ll...
By Arun Sirpal
Let’s go back to data platforms today and I want to talk about a...
Comments posted to this topic are about the item 7 sept, scheduled book
Comments posted to this topic are about the item 7 sept, schedlued article
Comments posted to this topic are about the item 6 sept, published book
Azure Data Lake Storage Gen 2 is built on ...?
See possible answers