Library tutorials & articles
SQL Distributed Management Objects Part 2
- Introduction
- The Code
- The Job Steps
- The Job Schedule
- Tidying Up
Introduction
|
There is a difference in SQLOLE and SQLDMO, SQLOLE.DLL library comes with SQL Server 6.5 while SQLDMO.DLL library comes with SQL Server 7.0. You will have to include the correct reference to the library, In case of this article, add the reference to the SQLDMO.DLL reference. |
More enhancements are made in the new component, the new component is capable
of deleting the task automatically once the task has been accomplished. In the
previous version, the task once created has to be removed manually by executing
a method called as RemoveTask but there is no need for such method
in the new component as it will delete the task upon successful completion. Furthermore,
earlier the task was executed each time a specific date was reached but now the
task will execute only once at a specific date the user will supply to the component.
Also, we have demonstrated how to add two steps in the same job. In the previous
article the job consisted of only one step but the new tasks created with the
new component shall consist of more than one job step, that is, user can accomplish
more than one job within the same task.
Related articles
Related discussion
-
High-Performance .NET Application Development & Architecture
by Manjot Bawa (0 replies)
-
Permutations and combinations of multiple return codes
by actuszeus (1 replies)
-
dtPicker date format query
by konikula (1 replies)
-
VB6 Runtime error 381 subsript out of range Error
by Uncle (2 replies)
-
passing and reading parameters from using Shell
by jigartoliya (0 replies)
Related podcasts
-
Stack Overflow: Podcast #28
This is the twenty-eighth episode of the StackOverflow podcast, where Joel and Jeff discuss Windows Azure, SQL Server 2008 full text search, Bayesian filtering, porn detection, and project management — among other things. Jeff met the inestimable Joey DeVilla aka Accordion Guy...
Events coming up
-
Nov
19
SQLBits V
Newport, United Kingdom
SQLBits is Europe's largest SQL Server conference, and SQLBits V will be the biggest and best yet. On November 19th we are holding a day of pre-conference seminars; on November 20th we have a pay-to-attend day of SQL Server 2008 and R2 content; and on Saturday November 21st we have our usual free community conference.
This thread is for discussions of SQL Distributed Management Objects Part 2.