if not exists(Select [Key] from mstApplicationconfiguration where [Key] = 'androidGoogleSenderId') begin INSERT [dbo].[mstUser] ([UserName], [EmployeeCode], [Password], [RoleId], [TechnicianType], [Email], [Culture], [TimeZone], [IsActive], [KomatsuDistributerId], [KomatsuUserId], [MobileView], [MobileDeviceToken], [MobileDeviceType], [LastActivityDate], [CreatedOn], [CreatedBy], [ModifiedOn], [ModifiedBy], [InActiveDate], [IsDelete], [DeletedDate], [IsADUser], [Shift], [ForgotPwrdLinkDate], [IsSuperAdmin], [EmpCompany], [EmployeeName], [DefaultMenu], [ShowIntro], [EditionID], [PrincipalName], [IsAzureADUser]) VALUES ( N'eetadmin', N'999998', N'jrJ32hIvZcb8ITZSLbLOBw==', 1, NULL, N'sshrirame@vitaledge.com', N'en-US', N'India Standard Time', 1, N'', N'', NULL, N'814bcd0f48cee03fc6477aefe583b4cfd8be792b55e485c252db4a25e48638c5', N'ios', CAST(N'2024-04-16T14:17:04.087' AS DateTime), CAST(N'2024-01-19T13:22:06.053' AS DateTime), N'super', CAST(N'2024-03-01T06:51:59.577' AS DateTime), N'eetadmin', NULL, 0, NULL, 1, N'', NULL, 1, N'553', N'e', N'UserManagement', 0, 2, N'eetadmin', NULL) end if not exists(Select [Company] from mstCompanyAndServiceCenterDetail where [Company] = '110' and [ServiceCenter] = 'SE010' and UserId = (Select UserId from mstUser where Username = 'eetadmin')) begin Insert into mstCompanyAndServiceCenterDetail (UserId,Company,ServiceCenter,DefaultCompany,DefaultServiceCenter,CreatedOn,CreatedBy,ModifiedOn,ModifiedBy,IsDelete) values ((Select UserId from mstUser where Username = 'eetadmin'),'110','SE010','110','SE010',GETUTCDATE(),'super',GETUTCDATE(),'super',0) end