Re: Alter schema on user-defined data type?
- From: David Walker <none@xxxxxxxx>
- Date: Sun, 13 Apr 2008 20:14:22 -0700
Erland Sommarskog <esquel@xxxxxxxxxxxxx> wrote in
news:Xns9A7E72BDABCDFYazorman@xxxxxxxxx:
David Walker (none@xxxxxxxx) writes:
SQL 2005: How do I alter the schema on a user-defined data type? Is
this possible?
When I try this:
Alter Schema NewSchemaName Transfer DescriptionType;
It fails with
Cannot find the object 'DescriptionType', because it does not exist
or you do not have permission.
While not documented, this seems to work:
Alter Schema NewSchemaName Transfer type::DescriptionType;
This syntax is available with other commands like ALTER AUTHORIZATION,
in which case it's also documented.
Ah! Thanks, I'll send that in as a doc update (I'll credit you with it).
David Walker
.
- References:
- Alter schema on user-defined data type?
- From: David Walker
- Re: Alter schema on user-defined data type?
- From: Erland Sommarskog
- Alter schema on user-defined data type?
- Prev by Date: RE: Problem with SQL trusted connection.
- Next by Date: Re: Explicit permissions listed twice
- Previous by thread: Re: Alter schema on user-defined data type?
- Next by thread: Explicit permissions listed twice
- Index(es):