
[dbo].[AccountProfilesCustomer_Legacy]
create view [dbo].[AccountProfilesCustomer_Legacy]
(
AccountProfileID,
CustomerJoinField
)
as
select
AccountProfileID = AccountProfiles.AccountProfileID,
CustomerJoinField = AccountProfiles.CustomerNumber
from AccountProfiles
GO
GRANT SELECT ON [dbo].[AccountProfilesCustomer_Legacy] TO [MssExec]
GRANT INSERT ON [dbo].[AccountProfilesCustomer_Legacy] TO [MssExec]
GRANT DELETE ON [dbo].[AccountProfilesCustomer_Legacy] TO [MssExec]
GRANT UPDATE ON [dbo].[AccountProfilesCustomer_Legacy] TO [MssExec]
GO