Link to home
Start Free TrialLog in
Avatar of ALawrence007
ALawrence007

asked on

Creating a CLR Object

Hi,
This is the first time I am trying to attempt this, so please be patient.

I am trying to create a CLR object to my SQL server. I am trying to retrieve Department names and then later Items that are associated with those Departments. At this stage I am only worried about departments. Ho do you create that in Visual Basic and then how can you use that CLR?

My goal is to use the CLR in a WPF web application, but I need to get the CLR working first. I would really appreciate the help. This is something that I have been trying to get to work now for 2 weeks, but with no avail.......

Thank you VERY much!!!
Avatar of Ted Bouskill
Ted Bouskill
Flag of Canada image

Hmm I get the feeling that you think a CLR object is directly accessible to your VB code.  That is not true.

Creating CLR functions is a way to write your own custom SQL objects to use within your SQL code.
Avatar of ALawrence007
ALawrence007

ASKER

Ok,
How do I do that? Is there some examples out there?
ASKER CERTIFIED SOLUTION
Avatar of Ted Bouskill
Ted Bouskill
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks TedBilly,
No I understand it much better.
It is a really cool option in SQL 2005.  The regular expression UDF is the first one I did.  Cheers