[dbo].[SetMachineName]
(local)
>
ReportServer
>
Stored Procedures
> dbo.SetMachineName
Properties
Parameters
Permissions
SQL Script
Uses
Properties
Property
Value
ANSI Nulls On
Quoted Identifier On
Parameters
Name
Data Type
Max Length (Bytes)
@MachineName
nvarchar(256)
512
@InstallationID
uniqueidentifier
16
Permissions
Type
Action
Owning Principal
Grant
Execute
RSExecRole
SQL Script
CREATE
PROCEDURE
[dbo]
.
[SetMachineName]
@MachineName
nvarchar
(
256
),
@InstallationID
uniqueidentifier
AS
UPDATE
[dbo]
.
[Keys]
SET
MachineName
=
@MachineName
WHERE
[InstallationID]
=
@InstallationID
and
[Client]
=
1
GO
GRANT
EXECUTE
ON
[dbo]
.
[SetMachineName]
TO
[RSExecRole]
GO
Uses
[dbo].[Keys]
dbo