Sql stored procedure query active directory. sql_modules I can extract the whole SQL text of a procedure.