SQL Server, T-SQL, Development, DBA and Career Resources

Human Created Content by Industry Experts for Developers, DBAs and Analytics Professionals

Build a Cube From an Existing Data Source Using SSAS

We are just getting started with SQL Server Analysis Services and trying to build our first cube. We have an existing relational data source to use as our starting point. There are a number of steps involved in building an SSAS cube. Can you guide us t

How To Build a Cube Without a Data Source Using SSAS

We are new to SSAS and are struggling with how to get started. We don't yet have a relational data warehouse that we can use to populate a cube. When you go to build a cube there is an option to build the cube without a data source. Can you provide us

Rebuilding the SQL Server master database (Part 2 of 3)

Previously in this series about how to rebuild the master database, we itemized the steps required to prepare for rebuilding the master database. In the third tip in the series will present how to restore your SQL instance back to the state it was in pri

Reading XML documents using LINQ to XML

In a recent tip on Language Integrated Query (LINQ), you have described how it can be used as a query language extension to both VB.NET and C#. As XML has become a popular means to store data for ease of interoperability, how do we use LINQ to query XML d

Rebuilding the SQL Server master database (Part 1 of 3)

I recently found myself in a situation where I had to rebuild the master database on one of the nodes of our development SQL 2005 cluster. The process itself is quite simple, the proof is in the preparation however. The chances things will go wrong are

Scan a SQL Server Database for Objects and Columns

Last week we had a conversion and the bank number was going to change during the process. I knew there was a lot of special code written for the bank and I did not want to miss anything. I needed to find an easy way to scan all tables in the database to f

Lookup and Cache Transforms in SSIS

One of the new SQL Server 2008 features in SSIS is an enhanced Lookup transform that includes the ability to cache the lookup data locally. Can you provide the details of this new functionality and an example of how to use it?