I had a recent requirement to change the schema for all the tables in a SQL Server 2005 DB.
The following syntax changes the schema for all the tables in the database. You only need to change the "NewSchema" string with your new required schema name.
exec sp_MSforeachtable "ALTER
SCHEMA NewSchema TRANSFER ? PRINT '? modified' "
Have Fun!!
2dc0dbcf-a6ab-4775-b749-2ebc806c10da|6|4.8