[dbo].[MssWebGetJobNo]
BUILD09
>
MoversSuite2
>
Stored Procedures
> dbo.MssWebGetJobNo
Properties
Parameters
Permissions
SQL Script
Uses
Properties
Property
Value
ANSI Nulls On
Quoted Identifier On
Parameters
Name
Data Type
Max Length (Bytes)
@OrderId
int
4
Permissions
Type
Action
Owning Principal
Grant
Execute
MssExec
SQL Script
CREATE
PROCEDURE
[dbo]
.
[MssWebGetJobNo]
@OrderId
int
AS
SELECT
[Key]
=
JobsID
,
[Value]
=
ClientJobNo
FROM
dbo.Jobs
WHERE
OrdersPriKey
=
@OrderId
ORDER
BY
ClientJobNo
GO
GRANT
EXECUTE
ON
[dbo]
.
[MssWebGetJobNo]
TO
[MssExec]
GO
Uses
[dbo].[Jobs]
dbo