Stored Procedures [dbo].[MssWebClearPreviousAccountProfileDetails]
Properties
PropertyValue
ANSI Nulls OnYes
Quoted Identifier OnYes
Parameters
NameData TypeMax Length (Bytes)
@orderIdint4
Permissions
TypeActionOwning Principal
GrantExecuteMssExec
SQL Script
CREATE PROCEDURE [dbo].[MssWebClearPreviousAccountProfileDetails]
    @orderId int
AS
begin
    set nocount on

    delete from AccountProfileServicesOverride where OrderFID = @orderId
    delete from AccountProfileOrderPrimaryContact where OrderFID = @orderId

end
GO
GRANT EXECUTE ON  [dbo].[MssWebClearPreviousAccountProfileDetails] TO [MssExec]
GO
Uses