Stored Procedures [dbo].[MssWebGetOrderWorkTickets]
Properties
PropertyValue
ANSI Nulls OnYes
Quoted Identifier OnYes
Parameters
NameData TypeMax Length (Bytes)
@inOrderIdint4
Permissions
TypeActionOwning Principal
GrantExecuteMssExec
SQL Script
CREATE PROCEDURE [dbo].[MssWebGetOrderWorkTickets]
    @inOrderId int
AS
BEGIN
    SET NOCOUNT ON
    SELECT DISTINCT WorkTickets.WorkTicketNumber as WorkTicketNumber
                from WorkTickets
                where WorkTickets.OrdersPriKey = @inOrderId

END
GO
GRANT EXECUTE ON  [dbo].[MssWebGetOrderWorkTickets] TO [MssExec]
GO
Uses