Web Analytics Made Easy - Statcounter

Interview question – Is Clustered index on column with duplicate values possible?

blank

Through this article, we are going to discuss three important interview questions of SQL which are given below:-  1) Can we create clustered index on a column containing duplicate values?  2) Can we create a Primary Key on a table on which a clustered index is already defined? 3) If a clustered index is already defined on a … Read more

Question of the Month (July)

blank

Question of the Month Suppose we have a table emp_plan  which contains 4 columns “Empid” (employeeid), Planid (Projectid), Startdate(Allocation Start date) and Enddate (Allocation Enddate). Its structure is given below:-4  Create table emp_plan (empid nvarchar(200),planid nvarchar(20),startdate datetime, enddate datetime) Also below is the script to enter sample data into the table:- insert into emp_plan(empid,planid,startdate,enddate) select ‘001’,’planA’,’2015-05-15′,’2015-05-30′ … Read more

Interview questions for database developer

blank

Technical Round Database Interview Questions 1) What are the different types of Trace flags which we used for detecting the Deadlock? 2) What are the different types of database backups? 3) How do you perform the Error handling in SQL Server? 4) What is the ACID property in SQL Server? 5) What are the best … Read more

Interview Questions on Sql Server -Part 3

1. What are the Sql Joins? Sql Joins are the way to get data from many tables based on some logical conditions. The different  types of Joins in Sql Server are 1) Inner join or Equi join 2) Self Join (it can be considered as the part of Inner join) 3) Outer Join 4) Cross … Read more

Interview Questions On Sql Server -Part 2

1. What is the difference between the Union and Union All?   1) Union is used to select distinct data from the tables but Union All allows duplicate rows to be selected from the tables.   2) The second difference between Union and Union All can be given on the basic of their uses. Union … Read more

Interview Questions on SQL Server -Part-1

1. What is the Normalization? Normalization:-Normalization can be defined as the process of organization the data to reduce the redundant table data to the minimum. This process is carried out by dividing the database into two or more than two tables and defining relationship between them so that deletion, updation and insertion can be made … Read more