Script used to Create Application Role in a Database of SQL Server in this video
USE [SalesOrders]
GO
CREATE APPLICATION ROLE [AppReader] WITH DEFAULT_SCHEMA = [dbo], PASSWORD = N'Pa$$w0rd'GO
USE [SalesOrders]
GO
ALTER AUTHORIZATION ON SCHEMA::[db_datareader] TO [AppReader]
GO
USE [SalesOrders]
GO
GRANT SELECT ON [dbo].[Customers_3] TO [AppReader]
GO
USE [SalesOrders]
GO
GRANT UPDATE ON [dbo].[Customers_3] TO [AppReader]
GO
Create an Application Role in a Database of SQL Server
what is difference between application an database role
ReplyDeletePush your shoulders back, straighten your spine, and lift your chin. You'll start to feel in control and calm your anxiety. Vidmate
ReplyDelete