SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
CREATE PROCEDURE [dbo].[p_act_tax_entities_lst]
    @actor_id int
AS 
	set nocount on

	select	*
	from	vw_act_tax_entities
	where	@actor_id = 0 or act_actor_id = @actor_id 

GO
