Choose your database:
AnySQL
MySQL
MS SQL Server
PostgreSQL
SQLite
Firebird
Oracle
SQL Anywhere
DB2
MaxDB

Subscribe to our news:
Partners
Testimonials
Tracy J Powell: "Thank you VERY much for the quick and helpful response. I will definitely upgrade as soon as possible. Your products are great and I use them daily".
DavidNR: "MS SQL Maestro is a great app. Loved it. I only used it for its blob support thus far, very nice and very fast".

More

Add your opinion

MS SQL Maestro online Help

Prev Return to chapter overview Next

CLR UDTs

Microsoft SQL Server 2005 adds support for user-defined types (UDTs) implemented with the Microsoft .NET Framework common language runtime (CLR). The CLR is integrated into the SQL Server, and this new mechanism enables you to extend the type system of the database. UDTs provide user extensibility of the SQL Server data type system, and also the ability to define complex structured types.

 

 

New CLR UDTs are created within Create CLR UDT Wizard. In order to run the wizard you should either

 

select the Object | Create Database Object... main menu item;
select the CLR UDT icon in the Create Database Object dialog

or

select the CLR UDTs list or any object from that list in the explorer tree;
select the Create CLR UDT... item from the popup menu

or

open the schema in Schema Editor and the CLR UDTs tab there;
press the Insert key or select the Create New CLR UDT... item from the popup menu (alternatively, you may use the corresponding link of the Navigation Bar).

       

To create a new CLR UDT with the same properties as one of the existing CLR UDTs has:

 

select the Object | Duplicate Database Object... main menu item;
follow the instructions of Duplicate Object Wizard.

 

 

 

CLR UDTs can be edited within CLR UDT Editor. In order to run the editor you should either

 

select the CLR UDT for editing in the explorer tree (type the first letters of the CLR UDT name for quick search);
select the Edit CLR UDT ... item from the popup menu

or

open the schema in Schema Editor and the CLR UDTs tab there;
select the CLR UDT to edit;
press the Enter key or select the Edit CLR UDT item from the popup menu (alternatively, you may use the corresponding link of the Navigation Bar).

       

You can change the name of the CLR UDT using the Rename CLR UDT dialog. To open the dialog you should either

 

select the CLR UDT to rename in the explorer tree;
select the Rename CLR UDT item from the popup menu

or

open the schema in Schema Editor and the CLR UDTs tab there;
select the CLR UDT to rename;
select the Rename CLR UDT item from the popup menu (alternatively, you may use the corresponding link of the Navigation Bar).

 

 

 

To drop a CLR UDT:

 

select the CLR UDT to drop in the explorer tree;
select the Drop CLR UDT item from the popup menu

or

open the schema in the Schema Editor and the CLR UDTs tab there;
select the CLR UDT to drop;
press the Delete key or select the Drop CLR UDT item from the popup menu (alternatively, you may use the corresponding link of the Navigation Bar)

 

and confirm dropping in the dialog window.

 



Prev Return to chapter overview Next