Forum Replies Created

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

  • Reply To: SQL Server Admin Role Alert Script

    further restrict in the WHERE clause to report only groups from your domain, and exclude system generated NT user accounts:

    and (

    isNTName = 1 and (

    (isNTUser = 1 and name like...

  • Reply To: SQL Server Admin Role Alert Script

    further restrict in the WHERE clause to report only groups from your domain, and exclude system generated NT user accounts:

    and (

    isNTName = 1 and (

    (isNTUser = 1 and name like...

  • Reply To: Verifying Trees

    Very interesting code indeed - thank you very much for this.

    Some comments:

    1. code to drop global temporary table ##Tree has no effect (end of TRY block and in CATCH block)...
  • RE: Methods For Converting a Stored Procedure

    Yes, Tom,

    Thanks for pointing out the problems with Microsofts built-in stored procedures.

    If the OPENROWSET can handle this, that is great.

    BTW:

    In Excel I'm using table-valued functions and do not specify "Table"...

  • RE: Methods For Converting a Stored Procedure

    I agree, the code for using OPENROWSET is very interesting.

    But since the stored procedure has to return a result set, what is the advantage over using a table-valued function?

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