Solved

Executing SP through DMO

Posted on 1998-12-31
1
294 Views
Last Modified: 2012-05-04
How would I execute a stored procedure using VB-DMO?
What syntax would I use?

Regards
0
Comment
Question by:ossentoo
1 Comment
 

Accepted Solution

by:
alvaroB earned 50 total points
ID: 1092437
SQL-DMO is aimed at providing the user with objects to manage SQL Server from a VB application. In other words, you could do administrative tasks(backups, configurations,...) or look at the internal structure of a database(Tables,views,...) , using DMO. If you want to process data through a SP, the way to go could be ADO, RDO, or other technologies.

If you still want to execute a SP using SQL-DMO, you could try using the following methods of the SQLServer object:

ExecuteImmediate
ExecuteWithResults
(Check SQL documentation for details)

0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Viewers will learn how the fundamental information of how to create a table.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

777 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