結果 : how to check user permissions in sql server using query