Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I find out if a specified MS SQL job is running or not

Status
Not open for further replies.

pmscraiova

Programmer
Dec 8, 2001
86
RO
Hello,
How can I find out if a specified MS SQL job is running or not?
Best regards,
Eugen
 
pmscraiova

Is this a FoxPro question?

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Mike, I am sure that this is not a "pure" FoxPro question, but I think that is possible like somebody who used Visual FoxPro + MS SQL Server had the same problem. Maybe, somebody can help me with some advices. Actually, I have an application written in Visual FoxPro 7.0 which uses a MS SQL databases. I want to deny access to SQL server when there are some jobs in progress (I mean a replication job).
Thank you,
Eugen
 
Eugen,

Although you might get an answer here, I suggest you also post the question in an appropriate SQL Server forum. Be sure to specify that you are talking about a replication job, and just say that you want to programmatically test to see of the job is in progress from a client application (not necessarily VFP).

Mike


Mike Lewis
Edinburgh, Scotland

My Visual Foxpro web site: My Crystal Reports web site:
 
Thank you, Mike. I'll try it. I am a beginner into SQL server and thus I posted my question to a Visual FoxPro forum…
Thank’s again.
Eugen
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top