Commit 2f01d231d0ad24ccae2b5250dfa1894622d443fe

Authored by Utkarsh Singh
1 parent bb0d93c9

Committing updated code to insert requesting URL info in LoginDetail table

150-DOCUMENTATION/002-DBScripts/ALTER_TABLE_LOGIN_DETAIL.sql 0 → 100644
  1 +use AIADATABASEV5
  2 +
  3 +ALTER TABLE LoginDetail
  4 +ADD CallFrom NVARCHAR(250) NULL
0 5 \ No newline at end of file
... ...
150-DOCUMENTATION/002-DBScripts/AlterInsertLoginDetail.sql 0 → 100644
  1 +-- =============================================
  2 +-- Author: <Author,,Name>
  3 +-- Create date: <Create Date,,>
  4 +-- Description: <Description,,>
  5 +-- =============================================
  6 +ALTER PROCEDURE InsertLoginDetail
  7 + -- Add the parameters for the stored procedure here
  8 + @iUserId INT,
  9 + @CallFromURL NVARCHAR(250) = NULL
  10 +AS
  11 +BEGIN
  12 + -- SET NOCOUNT ON added to prevent extra result sets from
  13 + -- interfering with SELECT statements.
  14 + SET NOCOUNT OFF;
  15 +
  16 + -- Insert statements for procedure here
  17 + INSERT INTO LoginDetail (UserId, LoginTime, CallFrom) VALUES (@iUserId, GETDATE(), @CallFromURL)
  18 +END
0 19 \ No newline at end of file
... ...