Pro SQL Server 2005
ISSUE: Ch. 3 (p. 53) First sentence of 2nd paragraph: "In
this chapter, we have grouped the changes into four major
categories:"
There are only 3 bullet points instead of the expected
4. Also, bullet point 3 refers to the DDL, but this isn't really covered until
Ch. 4.
SOLUTION: Ch. 3 (p. 53) First sentence of 2nd paragraph, should
read, ÒIn this chapter, we will look at the changes that have been made to
T-SQL with a focus on developers. These changes fall into two major
categories:
* Data Manipulation
Language (DML):
Changes to the base T-SQL statements used to manipulate data
* General development: Changes to some of the basic
tools of programming, such as much improved error handling. Ò
Issue: Discussion regarding ÒSurface Area ConfiguratorÓ
Solution: Chapter 2, Page 45: Surface Area Configurator
should be Surface Area Configuration (which is the actual name of the tool).
Issue: About Random Sampling: It should be pointed out that
the sample is not truly random, as it reads whole pages only. This is also the
reason why the number of rows/percent returned may not match.
Solution: This is clearly a misunderstanding of the meaning
of the term "random". TABLESAMPLE reads random pages and therefore
the sample is random.
Issue: Chapter 5, Page 150: SQL string should be
"TerritoryID", not "TerritoryId". Same for the sample code.
This occurs 3 times and results in errors when executing the stored procedure
from within SQL Server Management Studio.
Solution: This is a problem only if your server or database
is set to a case-sensitive collation.
Issue: Chapter 6, Page 195:
"It is
important to understand when dealing with aggregates that the intermediate
result will be serialized and deserialized once per row of aggregated
data."
This should be changed to:
"It is important to
understand when dealing with aggregates that the intermediate result can
be serialized and deserialized many times during the course of data
aggregation."
Issue: Chap 7 page 229. Your definition of
IgnoreDuplicateKeys is just plain off. Refer to BOL.
Solution: A Boolean property that specifies whether to
ignore when duplicate keys are being inserted into the table. The default
value is false, which means that attempts to insert a duplicate key will result
in an error and cause the Bulk Load to fail. If you set this property to
true and there is a duplicate key, the duplicate record will not be inserted
into the table and you will not receive an error.
Errata
Issue: Chapter 1 Page 9:
Table 1-5 states that
Standard Edition is not supported on Windows XP Pro SP2, this is
wrong.
Table 1-6 states that IA64-editions can be installed on X64
platform, this is wrong.
There is no table for the X64-platform.
Issue: Chapter 1, Page 9
Table 1-5,Line 7 in the table. This table contains
Operating Systems that SQL Server 2005 Editions may be installed
on. Line 7 is for Windows XP Professional SP2. The checkmark is absent in the
column for Standard Edition, which means that Standard Edition could not be
installed on Windows XP SP2. But Microsoft Web Page at
http://www.microsoft.com/sql/editions/standard/sysreqs.mspx
"SQL Server 2005 Standard Edition System
Requirements"
says: "...Microsoft Windows 2000 Server with Service
Pack (SP) 4 or later; Windows 2000 Professional Edition with SP 4 or later;
Windows XP with SP 2 or later; Windows Server 2003 Enterprise Edition, Standard
Edition, or Datacenter Edition with SP 1 or later; Windows Small Business
Server 2003 with SP 1 or later..." which means that we can install
Standard Edition on Windows XP SP2
Issue: Chapter 10, Page 353
Description of the problem: The first word on the page is
demoralized. "Demoralized" should be changed to
"denormalized".
Issue: Chapter 10, Page350
Description
of the problem: at the bottom of the page it says (what is referred to as a
START or Snowflake schema). "Start" should be changed to
"star".