dbo.Padron_Arg

Description

Properties

Name Value
ANSI Nulls ON

True

Quoted Identifier ON

True

Encrypted

False

Execute As
Assembly

Parameters

2
Name Data Type Length Description
@start int 4
@end int 4

SQL Script

Copy
SET QUOTED_IDENTIFIER, ANSI_NULLS ON
GO
-- Create the stored procedure in the specified schema
CREATE OR ALTER PROCEDURE dbo.Padron_Arg
    @start INT,
    @end INT
AS
BEGIN
    SET NOCOUNT ON;    
    -- body of the stored procedure
    SELECT
    padrones.nombre_persona,
    padrones.sexo,
    padrones.id_padron,
    padrones.identificacion,
    padrones.identificador,
    padrones.tipo_persona,
    padrones.pre_clave,
    padrones.cuerpo_clave,
    padrones.suf_clave,
    apellidos,
    nombres
    FROM padrones 
    WHERE id_padron BETWEEN @start AND @end;
    --
    RETURN;
END
GO

Depends On

1

Used By

No items found