To run the samples in this book, you need a computer running Windows 2000 SP4 or later, Microsoft .NET Framework 2.0 (installed with SQL Server 2005), and SQL Server 2005Developer, Standard, or Enterprise Edition.
Most of the examples in this book use C# code and Visual Studio 2005. It is easiest to use Visual Studio 2005 to compile and execute the examples in the book. However, you can compile the samples in this book by using the C# command-line compiler (csc.exe) included with the .NET Framework.
Some of the examples in this book require the AdventureWorks sample database, which ships with SQL Server 2005 but is not installed automatically. Follow the product documentation to install the AdventureWorks database during the SQL Server 2005 installation or to install it in an existing installation. Other examples in this book require a database called ProgrammingSqlServer2005 that you should createthis new database is used to minimize the impact of the examples on the AdventureWorks database installation.