Database Blog

Automate send report to Finance Team

1. Overview This document talks about how to send report with excel file automatically to Finance Team every month of 21st.  This report for employee referred the candidate who will complete the 90 days and above for the current month of 21st. 2. Technologies and Tools Used The following technologies has been used to automatically send report to Finance Team. Ø MS SQL Server Ø DotNet & Angular 3. Use Case Assume that there is a requirement to automatically send report to Finance Team. 4. Architecture  Following steps explains in detail, Step 1:  First we have to check whether joined candidates  reach 90 days for current month of 21st. To select Current Year, Month , Date and calculate candidate cross 90 days. DATEDIFF(DAY, DateofJoin, GETDATE())>=90 AND DATEDIFF (DAY, DateofJoin, GETDATE())<=Datedifference BEGIN DECLARE @DateDifference int=0; DECLARE @LastMonth int=0; DECLARE @CurrentYear int=0; DECLARE @CurrentMonth int=0; DECLARE @PreviousYear int=0; SELECT @CurrentMonth =DATEPART(mm,DATEADD(mm,0,GETDATE()); SELECT @LastMonth =DATEPART(mm,DATEADD(mm,-1,GETDATE()); SELECT @CurrentYear =DATEPART(mm,DATEADD(yyyy,0,GETDATE()); set @PreviousYear=@CurrentYear; if(@LastMonth=12) BEGIN SELECT @CurrentYear =DATEPART(mm,DATEADD(yyyy,-1,GETDATE()); END DECLARE @FromDate varchar(10), @ToDate varchar(10); set @FromDate=convert(varchar,@LastMonth) +’/’+’21’+’/’+convert(varchar,@PreviousYear);…

Read More

HOW TO ACCESS ORATOP UTILITY

Description : Oratop is an interface that takes data from top and oracle databases on a host. The utility combines the data to OS data and session data. It allows…

Read More

Security Care in AWS RDS

Running Oracle Database on Amazon Web Services (AWS) Relational Database Service (RDS) provides a variety of advantages, including scalability, flexibility, and managed services. However, in order to secure your sensitive…

Read More

New Features of Oracle Database 23c

Oracle Database 23c, Oracle Corporation’s most recent release, includes a slew of new features and changes designed to provide organizations with expanded capabilities and improved performance. Overview: Enhanced machine learning…

Read More

Create a login using SSMS for SQL Server

To use SQL Server, you need a login. You can log in using a regular Windows account or a special SQL Server account.   SQL Server Supports two Authentication Modes:…

Read More

Demystifying Load Balancer Setup in Oracle Cloud Infrastructure (OCI)

Demystifying Load Balancer Setup in Oracle Cloud Infrastructure (OCI)  Introduction                     Load Balancing allows customers to distribute web requests among a group…

Read More

Comprehensive Guide: Removing and Adding RAC Nodes in Oracle Clusterware

Overview  Diving into the intricacies of Oracle Clusterware management, this comprehensive guide elucidates the meticulous steps involved in the process of deleting and adding RAC nodes within the Oracle environment. …

Read More

Troubleshooting and Resolving ‘CheckApplicable’ Prerequisite Error When Applying Oracle GI RU July-2023 Patch

Overview of blog  In this blog post, we will explore a comprehensive solution to resolve the issue of ‘oracle.rdbms.deconfig, 19.0.0.0.0’: Cannot delete file ‘/usr/local/oracle/19.3.0.0/suptools/tfa’ and the subsequent ‘CheckApplicable’ prerequisite failure.…

Read More

Manual Failover of Oracle Data Guard

A failover is performed only when the primary database becomes unavailable, and there is no possibility of recovering the primary database.   Steps involve in failover Connect to Physical Standby…

Read More

Fortifying Oracle Identity Cloud Service with Multifactor Authentication (MFA)

Fortifying Oracle Identity Cloud Service with Multifactor Authentication (MFA)  Introduction  Oracle Identity Cloud Service employs MFA, where users utilize two-factor verification, incorporating extra information or a second device during logins…

Read More