dbo.FIDE_WS_CLIENT_REQUEST

Description

Properties

Name Value
ANSI Nulls ON

True

Quoted Identifier ON

True

Encrypted

False

Execute As
Assembly

Parameters

4
Name Data Type Length Description
@username varchar 50
@password varchar 50
@tipo_identificador varchar 6
@identificador varchar 25

SQL Script

Copy
SET QUOTED_IDENTIFIER, ANSI_NULLS ON
GO

CREATE OR ALTER PROCEDURE  dbo.FIDE_WS_CLIENT_REQUEST
@username VARCHAR(50),  @password VARCHAR(50), @tipo_identificador VARCHAR(6), @identificador VARCHAR(25)
/*,
@IDConsulta int OUTPUT
*/

AS

BEGIN
 SET NOCOUNT ON;


INSERT INTO fide_ws_data
           (username
           ,password
           ,tipo_identificador
           ,identificador
           /*
               ,comienzo
                      ,id_cliente
                      ,nro_consulta_cliente
                      ,respuesta
                      ,razon_social
                      ,cuit
                      ,dni
                      ,score
                      ,status
                      ,detalle
                      ,fecha_consulta_cliente
                      ,fecha_respuesta_cliente
                      ,remote_address
                      ,country_code
                      ,id_padron
               */

     )
     VALUES
           (@username,
           @password, 
           @tipo_identificador,
           @identificador
           /*
               comienzo, varchar(30),
                      id_cliente, int,
                      nro_consulta_cliente, int,
                      respuesta, varchar(1),
                      razon_social, varchar(100),
                      cuit, varchar(25),
                      dni, varchar(25),
                      score, decimal(6,2),
                      status, varchar(2),
                      detalle, varchar(512),
                      fecha_consulta_cliente, datetime,
                      fecha_respuesta_cliente, datetime,
                      remote_address, varchar(50),
                      country_code, varchar(3),
                      id_padron, int,
               */

     );select @@identity


END

GO

Depends On

1

Used By

No items found