According to your comment you try to move
MyTableName
table from
dbo
to
xxx
...
You command try to do just the opposite.
The format of ALTER SCHEMA goes like this
ALTER SCHEMA {target-schema-name} TRANSFER {original-schema-name}.{table-name}
In you case
ALTER SCHEMA xxx TRANSFER dbo.MyTableName