﻿-- =============================================
-- Author:		Steamware
-- Create date: 2014.02.23
-- Description:	recupera riga QL
-- =============================================
CREATE PROCEDURE dbo.stp_QL_getByKey 
(
	@QuoteType CHAR(1) = 'Q'
	,@CodQuote BIGINT = 0
	,@QuoteRev INT = 0
)
AS

SELECT *
FROM QuoteList
WHERE QuoteType = @QuoteType
	AND CodQuote = @CodQuote
	AND QuoteRev = @QuoteRev

RETURN