Hi all.
I'm trying to create a login handler that will be transparent through SQL versions ( 2000 and onward ).
My first problem is that for example sp_addlogin run "dbcc auditevent" and by that return a message that I would like to supress.
My second problem is that trying to bundle the login control into a procedure is not possible since for example sp_addlogin check @@trancount and if <> 1 procedure won't run.
I would like to do it all in SQL.
Any idea's on how to continue?
Regards
Rickard Jansson