Сценарий T-SQL для установки myPointType
USE AdventureWorks;
GO
--DROP TYPE myPointType
--DROP ASSEMBLY myPointType
CREATE ASSEMBLY myPointType
FROM 'C:Documents and SettingsBillsMy DocumentsVisual Studio 
2005ProjectsSqlServerUDTSqlServerUDTinSQLServerUDT.dll'
WITH permission_set = SAFE;
GO
CREATE TYPE myPointType
EXTERNAL NAME [myPointType].[SqlServerUDT.myPointType];
GO