Initiate a program

  • I currently have a situation where a table is constantly monitored for new rows(query every 30 seconds) by a vb program (running on another box). Obviously this creates lots of activity. I would like to set up a trigger instead, but I don't have any idea what would be the best strategy in starting the program. Any suggestions appreciated.

    Thx! John

  • Start an application from a trigger normally will rise an eyebrow or two.

    How about another table in which your trigger can add a record/flag to indicate there is data to be processed to a scheduled job which will then execute the VB app.

  • Hi John,

    what is this VB programm supossed to do?

    I think you should go for 5409045121009 (who is he? ) suggestion.

    Cheers,

    Frank

    --
    Frank Kalis
    Microsoft SQL Server MVP
    Webmaster: http://www.insidesql.org/blogs
    My blog: http://www.insidesql.org/blogs/frankkalis/[/url]

  • John,

    Do you need to go according to your Tech. Specs?! or are you designing tech specs.?

    If you are in the begining stage, I think better choice would be teh way siggested by 5409045121009.

    .

  • Thanks for all the input. I don't think I expressed my problem very well. Perhaps I should have asked... 'What is the best way to initiate a VB program on another computer'.

    Thanks again!

  • quote:


    Thanks for all the input. I don't think I expressed my problem very well. Perhaps I should have asked... 'What is the best way to initiate a VB program on another computer'.


    in this case I think xp_cmdshell would be first choice.

    Maybe use COM via sp_OA*?

    Cheers,

    Frank

    --
    Frank Kalis
    Microsoft SQL Server MVP
    Webmaster: http://www.insidesql.org/blogs
    My blog: http://www.insidesql.org/blogs/frankkalis/[/url]

Viewing 6 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic. Login to reply