• I have a function where I call "sp_who2" and take database and username as parameters to the function.

    Works great.


    N 56°04'39.16"
    E 12°55'05.25"