Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 CLR functions

Author  Topic 

helixpoint
Constraint Violating Yak Guru

291 Posts

Posted - 2010-11-24 : 10:54:42
I am calling a dll from a SQL report. The database guys do not want to have a dll on the server. They suggested a CLR function. Can I take the C# methods and put it into a CLR function? If so, how? How do you call it?

Dave
Helixpoint Web Development
http://www.helixpoint.com

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2010-11-24 : 10:57:01
see
http://msdn.microsoft.com/en-us/library/w2kae45k(VS.80).aspx

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

X002548
Not Just a Number

15586 Posts

Posted - 2010-11-24 : 11:49:43
OK, WHY are you doing this?

I have YET to see the need for CLR



Brett

8-)

Hint: Want your questions answered fast? Follow the direction in this link
http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx


Want to help yourself?

http://msdn.microsoft.com/en-us/library/ms130214.aspx

http://weblogs.sqlteam.com/brettk/

http://brettkaiser.blogspot.com/


Go to Top of Page

helixpoint
Constraint Violating Yak Guru

291 Posts

Posted - 2010-11-24 : 11:50:34
I deployed it, but when I try to execute it, it does not find it

Dave
Helixpoint Web Development
http://www.helixpoint.com
Go to Top of Page

helixpoint
Constraint Violating Yak Guru

291 Posts

Posted - 2010-11-24 : 11:52:17
They will not put my DLL on their server

Dave
Helixpoint Web Development
http://www.helixpoint.com
Go to Top of Page

X002548
Not Just a Number

15586 Posts

Posted - 2010-11-24 : 11:55:01
No, I mean I'm curious, what are you trying to accomplish?



Brett

8-)

Hint: Want your questions answered fast? Follow the direction in this link
http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx


Want to help yourself?

http://msdn.microsoft.com/en-us/library/ms130214.aspx

http://weblogs.sqlteam.com/brettk/

http://brettkaiser.blogspot.com/


Go to Top of Page
   

- Advertisement -