Best practices for Database Programming
1. All the tables in the database have properly defined relationship using primary keys and foreign keys . 2. Indexes […]
This category contains all SQL related articles
1. All the tables in the database have properly defined relationship using primary keys and foreign keys . 2. Indexes […]
This function is used to returns distinct values that are returned by both the query on the left and right
While loop in SQL server Introduction In While loop, we set a condition for the repeated execution of a Code
Deleting Duplicate rows using CTE Many times we caught in a situation where we have a table where there is
Ranking Function:- Sometimes we need to provide a Row number to the rows in a table or within a partition.
Stuff VS Replace function Stuff Function This function is used to replace string from the given start position, passed as
Case Statement/ Expression in SQL server Sometimes we need to get one result output from multiple possible outcomes based on
Replication in SQL Server Introduction ReplicationĀ in SQL Server is a way of distribution of database and their objects from one
Log Shipping in SQL Server Log Shipping Log Shipping in SQL Server is a process of keeping the latest copy
Rebuild and Ā Reorganization of Indexes SQL Server has the ability of maintaining the indexes whenever we makes changes (update, Insert,
Fragmentation:- Fragmentation can be defined as condition where data is stored in a non continuous manner. This article help in
Boyce – Codd Normal Form (BCNF) :- A normal form is said to be a Boyce – Codd Normal Form if
Isolation levels :- Isolation level is required to isolate a resource and protect it from other transactions. This is achieved
Merge Command:- Merge command is a new feature introduced in the SQL Server 2008. It can perform Update, Insert and
Many times we need to alter the table definition by adding , deleting or updating a column in the table.
Adding , Deleting and Updating a Column in a table Read Post Ā»