Next / Previous / Index / ITC Help System / Publications / Site map / NM Tech homepage

Creating a Sybase clustered index

Tech Computer Center logo

Use a clustered index when you want the physical order of a table to match the index. They cannot be created on text or image datatypes. Each table can only have one clustered index.

At the end of each command press the space-bar or press enter before continuing the next step.

  1. To create a clustered index, type:
             create clustered index
  2. Type the name for the index.
  3. Type:
  4. Type the name of the table you are creating an index on.
  5. Type:
  6. Type the column name you want to create the index on.
  7. Type:
  8. Type:
  9. Press Enter.

If everything goes well, you see the database prompt (a period, the name of the database you are using, another period, the number one and then the greater than symbol).

Next: Example of a Sybase clustered index
See also: Indexing Sybase tables
Previous: Types of Sybase index
Site map
Index: Keyword index to help pages
Help: New Mexico Tech Information Technology and Communications: Help System
ITC Publications
To report a problem: File a ticket
Send mail to the User consultant on duty or call them at 575-835-5437
Home: About New Mexico Tech

Maintained by John Shipman,; original by Steve Anderson
Last updated: 1997/06/23 21:43:34 UT
QR two-dimensional bar code