Other News

Community

Counting rows in a subtree

(Rudy Limeback) There is a table called User (userID PK, userName, supUserID FK). SupUserID refers to userID and contains the userID value of the user’s superior. The highest user has no user superior to itself (NULL instead of a value) and can have under itself one or more users or no users at all.

Community

Random Sampling in T-SQL

(Brian Connolly) Whether you’ve got a gargantuan data warehouse, a huge transaction database, or a smaller workgroup database or data mart, it’s not uncommon to want to “sample” your data. Although selecting a random sample of rows isn’t a natural SQL operation, over the years, SQL Server profession

Community

Databases Get a Grip on XML

(Sean McCown) Being able to merge, query, and transform transmitted data with relational data is becoming as essential to businesses as data warehouses themselves. The good news is that the four leading relational databases, namely Oracle Database, IBM DB2, Sybase ASE (Adaptive Server Enterpri

Community

XML paging using XML + XSL + CSS

(Matthew Hazlett) Hello again, I decided to take a break from graphics and do some XML. I created an XML Pager, what it does is read an XML file and apply an XSL translation and send params to it to create a paged document. Important, you need to have ASP.NET 1.1 running on your server! ASP.NET 1