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

Can you use order by when defining a view?

973


How to get a list of columns using the "sp_help" stored procedure in ms sql server?

1024


What are the tool windows in sql server management studio? : sql server management studio

1071


What kind of problems occurs if we do not implement proper locking strategy?

1395


How do I view a stored procedure in sql server?

979


How do I port a number to sql server?

1031


How do you create a data source?

903


How many replicas are maintained for each SQL Azure database?

142


What part does database design plays a role in performance of an sql server-based application?

976


what are cursors? : Sql server database administration

1057


tell me the disaster recovery plan

2511


Explain query editor regions

1039


How to create database with physical files specified in ms sql server?

991


How we can refresh the view?

1104


What is bit data type?

1034