dbo.backend_obtener_marcas_no_buscadas

Description

Properties

Name Value
ANSI Nulls ON

True

Quoted Identifier ON

True

Encrypted

False

Execute As
Assembly

SQL Script

Copy
SET QUOTED_IDENTIFIER, ANSI_NULLS ON
GO
-- =============================================
-- Author: <Samuel Gonzalez>
-- Create date: <05 Sep 2017>
-- Description: <Obtener todas las marcas que no han sido buscadas por el proceso de asignación de cuits automatizado>
-- =============================================
CREATE OR ALTER PROCEDURE dbo.backend_obtener_marcas_no_buscadas
 -- Add the parameters for the stored procedure here
 
AS
BEGIN
 SET NOCOUNT ON;

 --SELECT COUNT(ACTA) FROM marcas where cuit is null and PAIS = 'AR' and flag is null
    SELECT 
        ACTA        as id,
        MARCA       as nombre,
        TITULAR     as titular
  
    FROM marcas WHERE (cuit IS NULL) AND (PAIS = 'AR') and flag is null
 order by nbol desc
END

GO

Depends On

1

Used By

No items found