相当于 Oracle 的虚拟专用数据库的 SQL Server 是什么?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1058462/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What is the SQL Server equivalent to Oracle's Virtual Private Database?
提问by McGovernTheory
What is the SQL Server equivalent to Oracle's Virtual Private Database (VPD)?
相当于 Oracle 的虚拟专用数据库 (VPD) 的 SQL Server 是什么?
回答by Arnkrishn
For row/column level security and other aspects like fine grained access control in SQL Server you might want to check this http://technet.microsoft.com/en-us/library/cc966395.aspx
对于行/列级安全性和 SQL Server 中的细粒度访问控制等其他方面,您可能需要查看此http://technet.microsoft.com/en-us/library/cc966395.aspx
回答by Dan
You can create a VPD in SQL Server using VIEW objects. SQL Server has the USER system function which returns the database user similar to how Oracle does.
您可以使用 VIEW 对象在 SQL Server 中创建 VPD。SQL Server 具有 USER 系统函数,它返回数据库用户,类似于 Oracle 的做法。