Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Create Index myIndex On myTable(myColumn)
What type of Index will get created after executing the
above statement

Answer Posted / mobin sathupally

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you understand by intent locks?

963


How do I find the query plan in sql server?

921


How to test values returned by a subquery with the in operator?

1146


How do I find my localdb version?

948


How to write a query with an inner join in ms sql server?

1009


What is user-defined multi-statement table-valued function?

1014


Difference between Sql server reporting services and Crystal reports?

162


What is the language structure to add a record to a table?

986


How would you choose between a clustered and a non-clustered index?

928


What are the properties of the transactions?

1068


How can you insert null values in a column while inserting the data?

1230


How to use "if ... Else if ... Else ..." Statement structures in ms sql server?

1017


What is the partitioning method?

986


What is database dimension? : sql server analysis services, ssas

1048


Explain multiserver query

977