Wasn't DMO replaced with SMO in SQL 2005?
>
>I wonder if anybody could help me out here ;
>
>I have a routine which works fine under SQL server 2000, but when I run it aganst a newly installed version of SQL server 2005 Developers Edition Beta 2 I get a problem when I attempt to add a column default.
>
>Here's the code
<snip>
--sb--