Yukon UDT Help

R

Rod O.

Hi all,

What is the syntax for adding a UDT that has a namespace? When I try

CREATE ASEMBLY Foo FROM "C:\Foo.dll" WITH PERMISSION_SET=SAFE
CREATE TYPE Bar EXTERNAL NAME Foo.SomeSpace.Bar

I receive the error

Incorrect syntax new '.'.

If I create the same UDT with no namespace, everything works fine.

Cheers,

Rod O.
 
S

Sushil Chordia

Try enclosing the namespace qualified class name in square brackets. Like
assembly.[namespace.classname].
 
L

Louis Davidson

You need to take this to the beta newsgroups:
http://communities.microsoft.com/newsgroups/default.asp?icp=sqlserver2005

--
----------------------------------------------------------------------------
Louis Davidson - (e-mail address removed)
SQL Server MVP

Compass Technology Management - www.compass.net
Pro SQL Server 2000 Database Design -
http://www.apress.com/book/bookDisplay.html?bID=266
Blog - http://spaces.msn.com/members/drsql/
Note: Please reply to the newsgroups only unless you are interested in
consulting services. All other replies may be ignored :)
 
R

Rod O.

Thanks Sushil! Worked like a charm.

Sushil said:
Try enclosing the namespace qualified class name in square brackets. Like
assembly.[namespace.classname].
Hi all,

What is the syntax for adding a UDT that has a namespace? When I try

CREATE ASEMBLY Foo FROM "C:\Foo.dll" WITH PERMISSION_SET=SAFE
CREATE TYPE Bar EXTERNAL NAME Foo.SomeSpace.Bar

I receive the error

Incorrect syntax new '.'.

If I create the same UDT with no namespace, everything works fine.

Cheers,

Rod O.
 
S

Sushil Chordia

You are welcome :)
Rod O. said:
Thanks Sushil! Worked like a charm.

Sushil said:
Try enclosing the namespace qualified class name in square brackets. Like
assembly.[namespace.classname].
Hi all,

What is the syntax for adding a UDT that has a namespace? When I try

CREATE ASEMBLY Foo FROM "C:\Foo.dll" WITH PERMISSION_SET=SAFE
CREATE TYPE Bar EXTERNAL NAME Foo.SomeSpace.Bar

I receive the error

Incorrect syntax new '.'.

If I create the same UDT with no namespace, everything works fine.

Cheers,

Rod O.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top