What command would you use to create an index?
Answer / Ali Murtaza
To create an index in SQL Server 2005, you can use the CREATE INDEX statement. For example: CREATE INDEX idx_name ON table_name (column_name ASC/DESC).
| Is This Answer Correct ? | 0 Yes | 0 No |
What is stored procedures?
Can you explain what is indexed view? How to create it?
Where are magic tables stored ? Is it in the same database where it is created ?
Explain difference between control flow and data flow?
What are subqueries in sql server? Explain its properties.
What is the use of SCOPE_IDENTITY() function?
role of sql sever 2005 in database rather than any other database
Explain ranking functions?
create procedure proc1 (@a int) as begin if @a=1 create table #temp(a1 int) else create table #temp(a1 int) end while executeing the above code it shows error like '#temp already exist' .why it shows an error?
What is the difference between ddl,dml and dcl commands?
1 Answers BirlaSoft, Verifone,
Would it be a good idea to create an index on a table that always contains 10 records? Why or why not?
How to get a list of all tables with "sys.tables" view in ms sql server?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)