Pivot and Unpivot table in SQL SERVER
Pivot Table:- Pivot tables are used to summarize and display the data, specially in case of report data by means…
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…
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…
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…
To change the collation of an database following commands can be used: ALTER DATABASE SET SINGLE_USER WITH ROLLBACK IMMEDIATE ALTER…
To rename a column in a SQL Table following command can be reused: SP_RENAME ‘old table name’, ‘New table name’…
SQL FUNCTION: – Function in a database can be defined as the code segment consisting of a logical group of…
Sometimes our application required a database object which allows manipulation of data from a set of rows on row by…