[dbo].[PersonnelCapacityBuckets]
CREATE VIEW [dbo].[PersonnelCapacityBuckets]
as
select CapacityBucket.CapacityBucketID,
CapacityBucket.BucketName
from CapacityBucketType
inner join CapacityBucket on CapacityBucketType.CapacityBucketTypeID = CapacityBucket.CapacityBucketTypeFID
where CapacityBucketType.CapacityBucketTypeName in ('Personnel Count', 'Personnel Hourly')
GO
GRANT SELECT ON [dbo].[PersonnelCapacityBuckets] TO [MssExec]
GRANT INSERT ON [dbo].[PersonnelCapacityBuckets] TO [MssExec]
GRANT DELETE ON [dbo].[PersonnelCapacityBuckets] TO [MssExec]
GRANT UPDATE ON [dbo].[PersonnelCapacityBuckets] TO [MssExec]
GO