I'd be interested to see that also. :-)
Not that there are absolutely no mistakes in the book, but I just did a
search of the electronic version of the book, and did not find this error.
In fact, I found this note, basically warning about the word 'column' not
being used when adding a new column:
NOTE
----------------------------------------------------------------------------
----
Notice the syntax difference between dropping a column and adding a new
column: the word COLUMN is required when dropping a column, but not when
adding a new column to a table.
My guess is that Jake pulled the ALTER TABLE ALTER COLUMN syntax out of the
book, and then changed ALTER COLUMN to ADD COLUMN.
--
HTH
----------------
Kalen Delaney
SQL Server MVP
www.SolidQualityLearning.com
"Aaron [SQL Server MVP]" <te*****@dnartreb.noraa> wrote in message
news:OQ**************@TK2MSFTNGP09.phx.gbl...
/* ARTICLES */
alter table ARTICLES add column CONTENTTYPE_REF int null
go
I got the statements straight out of the Microsoft book "Inside
Microsoft SQL Server 2000"
What page? I'd be interested to see a line like that, with the incorrect
column keyword where it is in your statement.
--
http://www.aspfaq.com/
(Reverse address to reply.)