Filtered Index An optimized nonclustered index, especially suited to cover queries that select from a well-defined subset of data. It uses a filter predicate to […]
Category: SQL Interview Questions
SQL Server : SQL Query to get schema of columns in a SQL table
SQL Server : SQL Query to get schema of columns in a SQL table You can use system table information_schema.COLUMNS to fetch schema details of […]
SQL Server : What is calculated or computed column in SQL
Calculated or computed column in SQL Calculated or Computed column in table uses expression which uses constant and other columns in table. This column is […]
SQL Server : User Defined Functions in SQL
User Defined Functions in SQL User Defined Functions are routines which performs calculation or operation to return a value or result set. It can accept […]
SQL Server : Identity vs UniqueIdentifier columns
IDENTITY vs UNIQUEIDENTIFIER COLUMN IDENTITY Sl No Advantage Disadvantage 1 Identity column stores numeric values. Numeric value column have better performance in joins, indexes and […]
How can a column in SQL table made as Identifier column
IDENTITY property Identified column can be implemented using IDENTITY property. While specifying IDENTITY column, you specify SEED and ARGUMENT. SYNTAX : IDENTITY [ (seed , increment) […]
What is use of Show Server Trace option in SQL Query Analyzer
Use Show Server Trace option in SQL Query Analyzer to analyze and tune stored procedures.
SQL Server : How to create linked server
Create linked server : sp_addlinkedserver sp_addlinkedserver ( Stored Procedure ) is used to created linked servers in SQL server Syntax : sp_addlinkedserver [ @server= ] […]
How to retrieve information from SQL table in Linked SQL Server
Retrieve information from SQL table in Linked SQL Server SELECT FROM Sql Statement can be used to retrieve information from SQL table in Linked SQL […]
FOR XML Clause – SQL SELECT statement
FOR XML Clause – SQL SELECT statement SQL SELECT query fetches results as a rowset. By specifying FOR XML clause in SQL Select query , […]
