Create Index myIndex On myTable(myColumn)
What type of Index will get created after executing the
above statement
Answers were Sorted based on User's Feedback
Answer / swapna
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 ? | 3 Yes | 0 No |
Answer / 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 |
what is database replicaion? : Sql server database administration
What is snapshot replication?
how to improve the speed of SQL database server and how to avoid dead lock?
Can a database be shrunk with users active?
Describe the functionalities that views support.
Define magic tables in sql server?
can we call stored Procedure in Function in Sql Server 2000 and vice versa.
3 Answers C3I, eSoft, iPRO Solutions, Wipro,
You have a table ‘test’ which is a copy of northwind employee table you have written a trigger to update the field ‘hiredate’ with the current date
Why truncate is ddl?
What is the usage of sign function?
Explain collation?
Explain what is sql server english query?