如何才能看到'sa'登錄連接登錄,只有授予閱讀一些意見?可能不能編輯任何東西,但可以看到。也可以看到數據庫列表,但無法打開。全部在SQL Management Studio中。登錄創建者:爲什麼無權登錄可以看到'sa'登錄?
create login YourTpvLogin with password = 'enter new password here'
go
create user YourTpvUser for login YourTpvLogin
go
grant select on YourView to YourTpvUser
謝謝你的解釋或如何解決它的方法。
你能解釋一下你在這裏問什麼嗎?我根本沒有跟隨你。 –
「看」什麼方式?在sa登錄名在SSMS登錄列表中?是否承認您認爲sa登錄存在安全風險? –