Tag Archives: SQL Basic Concepts

Sql Joins- Inner Joins, Self Joins, Outer Joins, Cross Joins

I generally feel that people are afraid of Joins in SQL Server. But if they know what the different types of Joins in SQL Server are and how they can be best used then they really enjoy using them. By … Continue reading

Posted in Most Imp SQL Concepts, SQL Joins, SQL Server | Tagged , , | 33 Comments

Sql Server – How to write a Stored procedure in Sql server

Stored Procedure:- Stored Procedure In Sql server can be defined as the set of logically group of sql statement which are grouped to perform a specific task. There are many benefits of  using a stored procedure. The main benefit of  … Continue reading

Posted in Most Imp SQL Concepts, SQL Server, SQL Stored Procedure | Tagged , , | 42 Comments

IDENTITY Property in SQL Server

  IDENTITY  Property Sometimes we need a column whose values can uniquely identifying the rows in the table. To achieve this purpose, this column should contains the unique values and it can’t contains the NULL or empty values. We can … Continue reading

Posted in SQL Basic Concepts, SQL Server | Tagged , | 33 Comments

How to make database offline or online

Database is made offline to move its physical files. There can be many ways to make a database offline. But there are three main methods which are used frequently to make the database offline. These methods are given below:- CodeProject … Continue reading

Posted in SQL Basic Concepts, SQL Server | Tagged , | 2 Comments

Different ways to create a table and insert data into the table

Introduction Tables can be defined as the structure which contains the data in the database. This article discuss about the different ways to create a table and insert data into the table. Some of the ways to create a table … Continue reading

Posted in SQL Basic Concepts, SQL Server | Tagged , , | 1 Comment

Sql server Constraints – Primary Key, Foreign Key, Unique Key, Not Null, Check Constraints

Introduction A constraint is a property that is assigned to a column or a group of columns to prevent incorrect or corrupt data from entering into the tables. These constraints ensure the accuracy and reliability of the data into the … Continue reading

Posted in Most Imp SQL Concepts, SQL Primary Key Constraint, SQL Server | Tagged , , , | 31 Comments