I need to change the owner of an SQL 2005 schema.
I can change it by selecting right clicking the schema properties within tyhe security/schema tree but I'd like to be able to do it in T-SQL.
I expected ALTER SCHEMA MySchema AUTHORIZATION MyNewUser;
to work but it appears not to be valid syntax.
Dazed and confused
I can change it by selecting right clicking the schema properties within tyhe security/schema tree but I'd like to be able to do it in T-SQL.
I expected ALTER SCHEMA MySchema AUTHORIZATION MyNewUser;
to work but it appears not to be valid syntax.
Dazed and confused