Derived Table In Sql Server
Derived tables:-Ā DerivedĀ tables are the tables which are created on the fly with the help of the Select statement. It […]
This category contains all SQL related articles
Derived tables:-Ā DerivedĀ tables are the tables which are created on the fly with the help of the Select statement. It […]
Pivot Table:- Pivot tables are used to summarize and display the data, specially in case of report data by means
Output Clause:- The SQL SERVER 2005 gives us an Output Clause which gives us the information about each row affected by the
Common table expression (CTE):- Common table expression or CTE can be described as the temporary, named record set return by
Table variable:- SQL Server provides an variable known as table variable which is used to store data in a similar way as we
Local temporary table:- Local temporary table is created in the tempdb and it is visible to the current user’s session
Global temporary table:- Global temporary table is created in the tempdb and it is visible to all other sessions as well. Global
To rename a column in a SQL Table following command can be reused: SP_RENAME ‘old table name’, ‘New table name’
To change the collation of an database following commands can be used: ALTER DATABASE [database name] SET SINGLE_USER WITH ROLLBACK IMMEDIATE ALTER DATABASE [database name] COLLATE Newcollation ALTER DATABASE [database name] SET MULTI_USER For example
SQL FUNCTION: – Function in a database can be defined as the code segment consisting of a logical group of
ACID Rules This article will tell about theĀ ACID Rules inĀ SQLĀ Server.Ā It is a concept for evaluation of databases and their architecture.
Different Types of Sql Statements:- Ā DML DML is abbreviation of Data Manipulation Language. It is used to retrieve, store,
We often need to change the name of a column of a table to a new name. We can do
Group By:- Group By clauses is used to groups rows based on the distinct values of the specified columns. The
Both Having Clause and Where clause is used to filter the data coming from the Select statement, but still there
Difference Between Having and Where Clause in Sql Server Read Post Ā»