Solved

How to create extended stored procedure in VB ?

Posted on 2006-06-16
7
216 Views
Last Modified: 2010-03-19
Hi,

I want to create a simple extended stored procedure which prints "Hello World" in VB ! Can you please provide me sample code / link to an article in VB ?

Thanks,
Kishore
0
Comment
Question by:kishore_peddi
  • 3
  • 2
7 Comments
 
LVL 75

Expert Comment

by:Aneesh Retnakaran
ID: 16925691
0
 
LVL 75

Expert Comment

by:Aneesh Retnakaran
ID: 16925694
use C / C++  or Delphi instead of  VB
0
 
LVL 40

Accepted Solution

by:
Vadim Rapp earned 500 total points
ID: 16926602
or use http://www.vbadvance.com/ to wrap vb project as standard dll, which extended procedure should be.
0
 
LVL 40

Expert Comment

by:Vadim Rapp
ID: 16926614
or, as a workaround, create activex object in vb6 and call it from tsql using sp_OAMethod. If your activex returns an array, it wil l be taken as resultset see description of sp_oamethod for details.
0
 
LVL 40

Expert Comment

by:Vadim Rapp
ID: 17627940
Objection. No offense at all, but it seems to me that aneeshattingal did not provide the solution that was requested. The request was to make it in VB, not in Delphi or C.
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question