Looks like this database is upgraded from 6.5 and is currently in 6.5
compatibility mode. You will have to change this to 7.0 compatibility mode
to be able to use new syntax. You can verify and change your database's
compatibility level using sp_dbcmptlevel. See SQL Server Books Online for
more information.
--
HTH,
Vyas, MVP (SQL Server)
http://vyaskn.tripod.com/
I'm having a problem using the alter table command on sql
server 7.0.
When running "alter table test alter column col1 numeric
(10)" the engine returns "incorrect syntax near 'column'
170".
I have used this command on other sql server 7.0 instances
without error. Any ideas on what I'm missing? Is there a
setting somewhere?
Thanks in advance.