Subquery in SQL Server | Types of Subquery

Hi Programmers,welcome to new article of ozanecare. this article i’ll write the queries for subquery in Microsoft SQL Server. SUB-QUERIES : If we write select statement in where Clause that can be called it as sub queries or inner queries.Four Types of SUB-QUERIES.1.Single ROW SUB-QUERIES2.Multi ROW SUB-QUERIES3.Multiple Column SUB-QUERIES4.Correlated SUB-QUERIES , Let’s see the queries. […]

Correlated Subquery in SQL Server

Hi Programmers,welcome to new article of ozanecare. this article i’ll write the queries for correlated subquery using Microsoft sql server. The correlated subquery is a sub-query that uses values from the outer query. In this case the inner query has to be executed for every row of outer query andsubquery depends on the outer query […]

Find Cumulative Salary of an Employee in SQL Server

Hi Programmers, welcome to ozanecare software blogs. this article is about to give different queries to calculate cumulative salary of employee using Microsoft SQL server. Let’s see the Queries. 1.All the Records of Emp Table. See below image. 2. Calculate cumulative salary with the help of sum aggregate function. OVER clause and order by clause. […]

How to Drop Database in SQL Server

Hi Developers , Welcome to the Ozanecare. In this article I’ll explain all important steps to drop database in Microsoft SQL server 2019. Anything in SQL Server Management Studio (SSMS) , we can do by two ways. First –> Graphically , Second –> Queries. To Drop Database in SQL SERVER let’s follow steps. Step 1 […]

How to Alter Database in SQL Server

Hi Developers , Welcome to the Ozanecare. In this article I’ll explain all important steps to alter database in Microsoft SQL server 2019. Anything in SQL Server Management Studio (SSMS) , we can do by two ways. First –> Graphically , Second –> Queries. To Alter Database in SQL SERVER let’s follow steps. Step 1 […]

How to Create Database in SQL Server 2019

Hi Developers , Welcome to the Ozanecare. In this article I’ll explain all important steps to create database in Microsoft SQL server 2019. Anything in SQL Server Management Studio (SSMS) , we can do by two ways. First –> Graphically , Second –> Queries. To Create Database in SQL SERVER let’s follow steps. Step 1 […]

Connect SQL Server with Visual Studio 2019

Hello Programmers, here is the article to connect SQL server with visual studio. Microsoft visual studio has nice facility where you can easily connect any database with visual studio. this article i am using SQL Server 2019 and Visual Studio 2019.Let’s see the all important steps to connect VS with ssms. 1.Click “Tools” Tab and […]

Migrate Oracle Tables to SQL Server

Hi Programmer,Here is the article to migrate oracle database tables into Microsoft SQL server.First we need to download and install ssma from Microsoft sites. To copy oracle database tables into Microsoft SQL server. let’s follow some steps. 1.Click File Tab next click “New Project” Give meaningful Project Name, suitable location and choose you SQL server […]