dbo.obtener_marcas2

Description

Properties

Name Value
ANSI Nulls ON

True

Quoted Identifier ON

True

Encrypted

False

Execute As
Assembly

Parameters

1
Name Data Type Length Description
@p_cuit varchar 30

SQL Script

Copy
SET QUOTED_IDENTIFIER, ANSI_NULLS ON
GO
CREATE OR ALTER PROCEDURE dbo.obtener_marcas2
--@p_razon_social varchar(100)
@p_cuit varchar(30)
AS
BEGIN
    SET NOCOUNT ON;
 select top 200 acta as num_acta,
     TMARCA as tipo,
     ltrim(rtrim(marca)) as marca ,
     clase, 
        NBOL as num_boletin,
     directorio,
     web,
     Convert(varchar(10),CONVERT(date,FPUBLI),103) as fecha_publicacion
     from marcas_actas
     where cuit = @p_cuit
     order by num_acta desc
     --ORDENAR POR web/directorio = 1  
     
END 

GO

Depends On

1

Used By

No items found