USE [AIADatabaseV5] GO /****** Object: StoredProcedure [dbo].[InsertLoginDetailsInSessionManager] Script Date: 2/1/2018 12:15:55 PM ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO -- ============================================= -- Author: -- Create date: <10/11/2017> -- Description: -- ============================================= if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[InsertLoginDetailsInSessionManager]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[InsertLoginDetailsInSessionManager] GO CREATE PROCEDURE [dbo].[InsertLoginDetailsInSessionManager] @sSessionId varchar, @iUserId int, @iLicenseId int, @iEditionId int AS BEGIN SET NOCOUNT OFF; INSERT INTO SessionManager (SessionId, UserId, LicenseId, EditionId, LoginTime) VALUES (@sSessionId, @iUserId, @iLicenseId, @iEditionId, GETDATE()) END GO