Hi there!
I am trying to test the code below and receiving an error. I've used this code for other things and it seems to work on those.
exec sp_grant_publication_access @publication = 'Application', @login = @Domain + '\Username'
GO
Error.
Msg 102, Level 15, State 1, Line 24
Incorrect syntax near '+'.
Any assistance would be greatly appreciated!
Happy Friday!