ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Databases  >>  SQL Server
 
 


 

 
 Oracle interview questions  Oracle Interview Questions
 SQL Server interview questions  SQL Server Interview Questions
 MS Access interview questions  MS Access Interview Questions
 MySQL interview questions  MySQL Interview Questions
 Postgre interview questions  Postgre Interview Questions
 Sybase interview questions  Sybase Interview Questions
 DB Architecture interview questions  DB Architecture Interview Questions
 DB Administration interview questions  DB Administration Interview Questions
 DB Development interview questions  DB Development Interview Questions
 SQL PLSQL interview questions  SQL PLSQL Interview Questions
 Databases AllOther interview questions  Databases AllOther Interview Questions
Question
Create Index myIndex On myTable(myColumn)
What type of Index will get created after executing the 
above statement
 Question Submitted By :: Swapna
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Create Index myIndex On myTable(myColumn) What type of Index will get created after executing the above statement
Answer
# 1
Non-clustered index. Important thing to note: By default a 
clustered index gets created on the primary key, unless 
specified otherwise.
 
Is This Answer Correct ?    1 Yes 0 No
Swapna
 
  Re: Create Index myIndex On myTable(myColumn) What type of Index will get created after executing the above statement
Answer
# 2
If we simple say CREATE INDEX then non clustered index will 
be created.At the same time if we say CREATE NON CLUSTERED 
INDEX then also non clustered index will be created.

Eg.
CREATE TABLE Emp(
 			 eid		 INT
      			,ename	 VARCHAR(20))

CREATE INDEX in_emp_eid 
ON Emp(eid)
By executing above code we create non clustered index.

Eg.
CREATE TABLE Emp(
 			 eid		 INT
      			,ename	 VARCHAR(20))

CREATE NONCLUSTERED INDEX in_emp_eid 
ON Emp(eid)

By using this code also we create non clustered index only.
 
Is This Answer Correct ?    3 Yes 0 No
Mobin Sathupally
 
 
 

 
 
 
Other SQL Server Interview Questions
 
  Question Asked @ Answers
 
which query u can write to sql server doesn't work inbetween 7.00PM to nextday 9.00AM Wipro4
Which stored procedure will you be running to add a linked server?  1
Using query analyzer, name 3 ways you can get an accurate count of the number of records in a table? eFunds5
Can a stored procedure call itself(recursive). If yes what level and can it be controlled.?  2
What is user stored procedure & it purpose? Wipro3
what is a cursor and what is its use?  1
How to find out name of all employees who has salary less than 200 Rs.?  7
how to find the particular row in table?(means suppose one table contain 10 rows , in these 10 rows how to find the particular row(example in 10 rows i want 5 row how)? Marlabs8
Can you give an example of Stored Procedure?  2
Explian different types of BACKUPs avaialabe in SQL Server? Given a particular scenario, how would you go about choosing a backup plan? HCL2
HOW TO FIND THE EMPLOYEE DETAILS WHO ARE GETTING SAME SALARY IN EMP TABLE TCS16
Can we create a clustered index on composite primary key.  2
How are SQL Server databases physically stored under Windows 2000?  1
i have 4 tables.. T1, T2, T3, T4.. these tables have the same structure and they store the information entered in different years.. T1 stored 2002, T2 stored 2003, T3 stored 2004 and T4 stored 2005.. i want to copy contents in T1 to T2, T2 to T3, T3 to T4 and T4 to T1.. how do i do that? Temp tables cannot be used..  2
What is mean by "fill factor" ? and what is mean by "Index "in sql? Logica-CMG1
Explain the architecture of SQL Server?  2
What types of integrity are enforced by a foreign-key constraint  1
What's the difference between DELETE TABLE and TRUNCATE TABLE commands?  9
What is blocking and how would you troubleshoot it? HCL2
How can you get @@error and @@rowcount at the same time?  5
 
For more SQL Server Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com