Forum Replies Created

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

  • RE: Returning Null Results

    From what that Links says I think you are right - Now I need to get the patch

    Cheers

    Geoff

  • RE: Looking for .NET connection testing component

    Not quite sure of exactly what you are wanting. Did you want the component to continually open and close a connection and log response times etc, or failure messages?

    If...

  • RE: Indexes

    Answered my own question.

    Here it is

    This query creates a script which you then need to run the results of

    select 'drop index ' + object_name(id) + '.' + [name] from sysindexes

    where...

  • RE: SQL Server Agent

    I always manage to forget xp_cmdshell

    This seems to work well though I do like the xp_servicecontrol, its creates a lazier solution.

  • RE: SQL Server Agent

    I have the solution

    EXEC master..xp_servicecontrol 'QueryState', 'SQLServerAgent'

    This returns a string detailing the current status. You can also stop and start the service with the following commands:

    EXEC master..xp_servicecontrol 'STOP', 'SQLServerAgent'

    EXEC master..xp_servicecontrol...

  • RE: SQL Server Agent

    Unfortuately I am not currently using SQLDMO, if possible I would like to test if is running within ADO. I have found xp_sqlagent_is_starting which returns 0 if it not currently...

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