ALTER SCHEMA [NewSchema] TRANSFER [tablename]
sp_MSforeachtable "PRINT '? modify'; ALTER SCHEMA [NewSchema] TRANSFER ?; IF @@ERROR = 0 PRINT '? modified'; PRINT ''"
Post a Comment
No comments:
Post a Comment