>Select 'ALTER TABLE '+ QUOTENAME(tab.name) + ' DROP CONSTRAINT '+sysobjects.name >You are correct. I usually put every table name between [] in script in case this is a reserved name. It is still a mystery that this is working as is on two servers but not on the production one where the three of them have the identical database, with the same OS version.