473,574 Members | 3,142 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to call DLL file from sql server 2005

27 New Member
How to call a DLL file from sql server 2005

and how to use it function.... using sql server 2005
Jul 25 '10 #1
3 3687
PsychoCoder
465 Recognized Expert Moderator Contributor
You have two options for accomplishing this:
  1. Extended Stored Procedures:
    You can use the procedure sp_addextendedp roc (located in the system database) to register the DLL, then you can call it. This is an example of how it works:

    Expand|Select|Wrap|Line Numbers
    1. use master
    2. Go
    3. sp_addextendedproc "MyFunction", "C:\Windows\MyDLL" 
    4.  
    NOTE: Keep in mind that this method is Deprecated but you can accomplish it this way
  2. CLR Objects:
    You can create CLR objects in .Net; such as stored procedures, user defined functions, etc, then register it on your SQL server as an assembly

Hope that helps :)
Aug 2 '10 #2
MrMob
27 New Member
Thanks For the POST

Richard..

I will be Happy Enough i get any Clue to use
the Dll File and it Function..

iN sql server 2005

with some good Examples..

Thankyou..
Your Follower..
MrMob...
Aug 11 '10 #3
NeoPa
32,564 Recognized Expert Moderator MVP
MrMob: I will be Happy Enough i get any Clue to use
the Dll File and it Function.
You should be happy then, as Richard provided that and more.

You should understand that we're not here to do your work for you. You have the pointers. If that's still not clear then please explain carefully and clearly what you don't understand.
Aug 11 '10 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
3445
by: Angel Cat | last post by:
Trying to get my jobs to send mail when job fails. Should be easy but it's giving me headache Had a whole slew of issues. Outlook is installed with a n outlook mail profile set up that can send mail in outlook. I can create a SendMail DTS and execute it to send mail Email works in these scenarios 1. I create a DTS package in SQL...
4
17379
by: stjulian | last post by:
(IIS 6.0, SQL Server 2000) I have a block of code that populates a recordset from a stored procedure. The problem is, the recordset seems to be forward only (which would be OK), but can't jump with the "AbsolutePage" property (which isn't OK) How do I define the recordset that will allow this? Julian
47
4913
by: teju | last post by:
hi, i am trying 2 merge 2 projects into one project.One project is using c language and the other one is using c++ code. both are working very fine independently.But now i need to merge both and my c++ code should call c code.but when i tried to call a function in c code externing that function in my c++ code, i am getting unresolved...
0
8100
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8270
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
8137
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5651
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5335
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3773
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3793
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2270
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1369
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.