Question

1. Review Books-online for details about indexes (Creating Indexes - Database Engine). 2. Open SSMS, then...

1. Review Books-online for details about indexes (Creating Indexes - Database Engine). 2. Open SSMS, then databases, then your database, expand a table, and right mouse indexes. 3. Select ‘New Index”.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Indexes are a special category lookup tables that rare used for data base search engine can sped up for data retrieval.
An index is a schema object that contains an entry for each value that appears in the indexed columns of the table and provides
direct fast access to rows.

Indexes are similar to pointers.index is similar to book index which we have generally in the first or last of a book.

To create an index
CREATE INDEX index_name ON table_name;

Indexes are different types - single column, unique, composite and Implicit indexes.

Here is an example of creating an index for Books data base.

Books is database
book is table with attributes (bookid,bookname, author, editionnumber, publisher, price) *bookid - primary key

CREATE UNIQUE INDEX idx_books ON book (bookname, price);

The SQL statement above creates an index named "idx_books" on the "bookname, price" columns in the "book" table

Add a comment
Know the answer?
Add Answer to:
1. Review Books-online for details about indexes (Creating Indexes - Database Engine). 2. Open SSMS, then...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 1) The advantage(s) of creating indexes in the database is/are 2) Which of the following statements...

    1) The advantage(s) of creating indexes in the database is/are 2) Which of the following statements is true? 3) Which of the following statements is true? 4) Identify the correct statement(s) about Columns and Column Families of a Column Oriented database 5) You are designing a web application. You have a requirement to provide a facility to the user to store his/her preferences on the look-and-feel of the web pages of your application. According to Fowler and Sadalage, which of...

  • Through the remaining assignments due in this course, you will be creating a simple database for...

    Through the remaining assignments due in this course, you will be creating a simple database for tracking information about volunteers working and raising money for a community organization. This assignment requires that you create the initial table, called PERSON, to hold basic information about volunteers. You will be redefining the design and building the database in the upcoming unit assignments. 1.Use the mysqldump.exe command line tool to backup the data in your volunteer database. To access the mysqldump.exe tool, start...

  • Creating a database in openoffice base. A set of data about one item, where each piece...

    Creating a database in openoffice base. A set of data about one item, where each piece of data corresponds to a field is called. Please explain why you chose that answer. 1. a table 2. an entry 3. a record 4. a query

  • Write the following SQL statements in Microsoft Access by using the Books database from Week 2...

    Write the following SQL statements in Microsoft Access by using the Books database from Week 2 Assignment 2. Once complete, copy and paste the SQL statements in a Microsoft Word document: Write SQL statements: To update the publisher name from READ WITH US to READ FOR US To verify the updated name field for the publisher with ID 6 To make the following updates to the Publisher table (be careful with WHERE): Make Contact="John Travolta" for publisher with ID number...

  • Week 2 Discussion Discussion Topic Due June 1 at 11:59 PM Supporting Lectures: Review the following lecture: Legal...

    Week 2 Discussion Discussion Topic Due June 1 at 11:59 PM Supporting Lectures: Review the following lecture: Legal and Regulatory Issues Introduction: The 1986 Health Care Quality Improvement Act established a database that is intended to improve the quality of healthcare in this country. Two other databases have merged with it and now offer many potential advantages. Tasks: Describe the National Practitioner Data Bank (NPDB). . Identify the uses of the NPDB. . Analyze any limitations of the NPDB. Describe...

  • For this set of Review Questions, we will create and use a database for the Wedgewood...

    For this set of Review Questions, we will create and use a database for the Wedgewood Pacific Corporation (WPC) that is similar to the Microsoft Access database we created and used in Chapters 1 and 2. Founded in 1957 in Seattle, Washington, WPC has grown into an internationally recognized organization. The company is located in two buildings. One building houses the Administration, Accounting, Finance, and Human Resources departments, and the second houses the Production, Marketing, and Information Systems departments. The...

  • QUESTION 1 What is the most common relationship within a relational database? Select the best answer...

    QUESTION 1 What is the most common relationship within a relational database? Select the best answer from the following. One-To-One relationship. o One-To-Many relationship. Many-To-Many relationship. Zero-To-Zero relationship. QUESTION 2 What is an "entity'? Select the best answer from the following. An entity, for our purposes, is the same as a table in the database. An entity represents one of the columns in an individual table. There are no entities in a relational database. Entities are only part of NoSQL...

  • Part I. Create a library check-out database using Microsoft SQL Server that stores data about books,...

    Part I. Create a library check-out database using Microsoft SQL Server that stores data about books, patrons, and the check-out process. Books (BookID, BookName, Author, YearPublished) Patrons (PatronsID, PatronsName, PatronsAddress, PatronsBirthday) CheckInOut (TransactionID, PatronID, BookID, CheckOutDate, NumDay, ReturnDate, Late, Fees, Paid) - the NumDay field contains the number of days patrons can keep the book, if the return date is over the number of day, then the Late field will have a Y value and a fee of $1.00 per...

  • Please note: • This is an assignment about Entity Relationship modeling. It’s not about creating database...

    Please note: • This is an assignment about Entity Relationship modeling. It’s not about creating database using DBMS. The output of this modeling usually shows diagrams and descriptions. • Please use any diagram notations that the textbook ever used. You may use generic drawing tools in office applications, or diagram/flow-chart tool such as MS-Visio to produce ER diagrams. • Please provide appropriate attributes that satisfy the information requirements to all entities and relationships. • Late assignments will be graded down...

  • Please do not delete the questions. 1. What is the purpose of a database? 2. What...

    Please do not delete the questions. 1. What is the purpose of a database? 2. What is the reason to use a database over a spreadsheet? 3. Based on the previous answers (#1 & #2), there is a simple rule of thumb. A spread sheet is used when there is _________________________. A database is used when there are _________________________. 4. Please answer followings. a) A group of 8 bits is called a ____________ (from Chapter 4). b) The answers of...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT