Articles

Technical Article

Mastering OLAP Reports: Parameterizing Number of “Top” Items with the MDX TopCount() Function, Part I

Writing high-performance reports against Analysis Services cubes means learning MDX to some extent. Parameterization of MDX functions is one of those things that cannot be delivered solely via graphical MDX Editor. BI Architect Bill Pearson demonstrates a way to parameterize the highly useful TopCount() function.

★ ★ ★ ★ ★ ★ ★ ★ ★ ★

You rated this post out of 5. Change rating

2008-08-08

1,846 reads

Technical Article

Processing XML Showplans Using SQLCLR in SQL Server 2005

Build an application to extract a query's estimated execution cost from its XML showplan. Users can submit only those queries costing less than a predetermined threshold to a server running SQL Server 2005, thereby ensuring it is not overloaded with costly, long-running queries.

★ ★ ★ ★ ★ ★ ★ ★ ★ ★

You rated this post out of 5. Change rating

2008-08-08

2,494 reads

External Article

Calculating Mathematical Values in SQL Server

In our application we have the need to perform mathematical calculations. Right now we are doing so in our front end application. Unfortunately we are starting to experience performance problems with large data sets and differences in calculations due to developers using different logic. We are seeking some other options to perform the calculations. Does SQL Server perform basic mathematical calculations?

2008-08-07

5,628 reads

Blogs

What's New in SQL Server for the Developer: SQL Server 2016

By

Part 2 of my What's New in SQL Server for the Developer series. STRING_SPLIT,...

The DBA Moves Up the Stack: From SQL Server on a VM to Azure SQL and Managed Instance

By

Note: This is more of a note to myself than an attempt to preach...

AI Center of Excellence: How to build one in 90 days

By

A practical guide to building an AI Center of Excellence, from choosing the right...

Read the latest Blogs

Forums

Black Friday Gadgets

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Black Friday Gadgets

Protecting Multi-Step Data Changes with TRY...CATCH and XACT_ABORT in SQL Server

By Imran2629

Comments posted to this topic are about the item Protecting Multi-Step Data Changes with...

Switching Schema III

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Switching Schema III

Visit the forum

Question of the Day

Switching Schema III

I run these queries:

SELECT COUNT(*) FROM dbo.Beer
SELECT COUNT(*) FROM etl.beer
I get 25 as the result for dbo.beer and 1 for the result for etl.beer. Both tables have identical sructures and both of these are nonpartitioned tables. I run this code:
ALTER TABLE dbo.beer switch TO etl.beer
go
SELECT COUNT(*) FROM dbo.Beer
SELECT COUNT(*) FROM etl.beer
What happens?

See possible answers