(Anhgolden's Blog) - Để phân quyền cho User sử dụng trong SQL Server, ta sử dụng các câu lệnh sau:
a) Phân quyền:
Grant All on TableName/ViewName to UserName
Hoặc
Grant Select [,Insert] [,Update][,Delete] on TableName/ViewName to UserName
b) Xóa bỏ phân quyền:
Revoke All on TableName/ViewName from UserName
Wednesday, September 6, 2017
SQL Server: Phân quyền cho User
Sql,sql server
2017-09-06T16:56:00+07:00
Loading related posts...
TIN MỚI
- MS SQL: Config user to create or manage SQL Agent Jobs - 31-Aug-2023
- Warning: Null value is eliminated by an aggregate or other SET operation - 13-Jun-2023
- Sql Server: Lấy dòng dữ liệu ngẫu nhiên - 28-Apr-2022
- Sql: Insert Into Table2 Select * from Table1 - 18-May-2021
- Sql: Select * into New_table from Select - 18-May-2021
- Error: String or binary data would be truncated - 30-Jul-2021
- Using Alias in Update SQL Statement - 26-Oct-2017
CÁC TIN KHÁC
- Functions: Excel vs MS Access vs SQL Server - 17-May-2017
- MSSQL: Reduce log file of SQL Server - 05-Aug-2016
- Mssql: Cannot Restore DB because it is in use by this session - 01-Jul-2016
- SQL Server: Tổng hợp - 19-Apr-2016
- Cannot Delete or Update Records from Table linked from MS SQL Server - 29-Mar-2016
Subscribe to:
Post Comments (Atom)
1 comment:
Admin có thể chỉ cách phân quyền máy chủ trên excel được không ạ?
Post a Comment