Top SQL Server Interview Questions :: ALLInterview.com http://www.allinterview.com Top SQL Server Interview Questions en-us What are the all different types of Joins in SQL Server 2000, Anybod http://www.allinterview.com/showanswers/36608.html Different Types Of JOINS: Most of the joins you will come across are based on equality, with the equijoin being the most dominant. In this chapter you learned about equijoins; there are other types of joins you must become familiar wi How do we get month name in SQL Server 2000, Oracle, MS Access? http://www.allinterview.com/showanswers/28427.html select datename(mm,getdate()) Define candidate key, alternate key, composite key. http://www.allinterview.com/showanswers/23527.html A candidate key is one that can identify each row of a table uniquely. Generally a candidate key becomes the primary key of the table. If the table has more than one candidate key, one of them will become the primary key, and the rest are cal How do we get current date in SQL Server 2000, Oracle, MS Access? http://www.allinterview.com/showanswers/28430.html SELECT GETDATE() AS 'Current Date' GO how to find nth highest salary http://www.allinterview.com/showanswers/19459.html DECLARE @SQL VARCHAR(2000), @N INT SET @N = 5 SET @N = @N - 1 SET @sql = 'select top 1 salary from ABC where salary not in ( SELECT TOP ' + CAST(@n AS VARCHAR(100)) + ' salary FROM ABC ) ' SELECT @SQL EXEC (@SQL) Difference between Cluster and Non-cluster index? http://www.allinterview.com/showanswers/8164.html A clustered index is a special type of index that reorders the way records in the table are physically stored. Therefore table can have only one clustered index. The leaf nodes of a clustered index contain the data pages. A nonclustered inde What are the differences between stored procedure and functions in SQ http://www.allinterview.com/showanswers/28431.html The Text property exposes the Transact-SQL or other script that defines the referenced Microsoft? SQL Server? 2000 database object. The FunctionName property specifies the function name to call in the Microsoft? ActiveX? script associated wi Write a query to delete duplicate records in SQL SERVER http://www.allinterview.com/showanswers/61820.html DELETE FROM A WHERE (id NOT IN (SELECT MAX(ID) FROM A GROUP BY name)) suppose i have table called A. A has two coloumn id (identity) as int and What are constraints? Explain different types of constraints? http://www.allinterview.com/showanswers/11428.html constraint is a rule which can not be voilated by end users. Different types of constraints are available.They are:- 1)default constraint:-which is used to define a default value. 2)primary key:-the key which does not allows duplication and nu write the query for find the top 2 highest salary in sql server http://www.allinterview.com/showanswers/57036.html select Distinct Top 2 Salary from EMP order by Salary desc Difference between writing SQL query and stored procedure ? http://www.allinterview.com/showanswers/20331.html compared with query, stored procedure is efficient and fast execution.Because stored procedure is program once it formed then execute as a program. What is the difference between 2-Tier architecture and 3-Tier archite http://www.allinterview.com/showanswers/59350.html hi 2-tier - also called client/server applications which consist of two separate applications, one server application (typically a database server like Oracle, MSSQL or any other standalone database) and a client application. suppose you wan What are Magic Table? http://www.allinterview.com/showanswers/37122.html Update and Delete are the 2 Magic Tables.. how to get the automatic backup of the database in the sql server http://www.allinterview.com/showanswers/4995.html Through maintanence plan Difference between sql server 2000 and sql server 2005? http://www.allinterview.com/showanswers/72899.html XML services is provided in 2005 not in 2000