12.07.2015 Views

Oracle SQL Developer

Oracle SQL Developer

Oracle SQL Developer

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Create/Edit Index3.12 Create/Edit IndexFixed User: Creates a fixed user database link, for which you specify the user nameand password used to connect to the remote database.Public: If this option is checked, the database link is public (available to all users). Ifthis option is not checked, the database link is private and is available only to you.Shared: If this option is checked, a single network connection is used to create a publicdatabase link that can be shared among multiple users. In this case, you must alsospecify the Authentication information.Authentication - User Name and Password: The user name and password on thetarget instance. This information authenticates the user to the remote server and isrequired for security. The specified user and password must be a valid user andpassword on the remote instance.DDL tabYou can review and save the <strong>SQL</strong> statement that <strong>SQL</strong> <strong>Developer</strong> will use to create anew database link or that reflects any changes you have made to the database linkproperties.Related TopicsDatabase Objects<strong>SQL</strong> <strong>Developer</strong> User InterfaceDialog Boxes for Creating/Editing ObjectsThe following information applies to an index, which is a database object that containsan entry for each value that appears in the indexed column(s) of the table or clusterand provides direct, fast access to rows, as explained in Indexes.Schema: Database schema that owns the table associated with the index.Table: Name of the table associated with the index.Name: Name of the index. Must be unique within a schema.Index Type: Normal for a standard <strong>Oracle</strong> index, in which case you also specifynon-unique, unique, or bitmap, as well as one or more index expressions; or Text foran <strong>Oracle</strong> Text index (created with INDEXTYPE IS CTXSYS.CONTEXT), in which caseyou specify the column to be indexed.Non-unique means that the index can contain multiple identical values; Uniquemeans that no duplicate values are permitted; Bitmap stores rowids associated with akey value as a bitmap.Index: A list of index expressions, that is, the table columns or column expressions inthe index. To add an index expression, click the Add Column Expression (+) icon; thisadds a column name here and in Column Expression, where you can edit it. To deletean index expression, click the Remove Column Expression (X) icon; to move an indexexpression up or down in the list click the Move Column Up and Move Column Downicons. An index must have at least one index expression.For example, to create an index on the AUTHOR_LAST_NAME column of the Bookstable from the tutorial (see Creating a Table (Books)), click the + icon, and selectAUTHOR_LAST_NAME in Column Name or Expression (next field), which changesBOOKS to AUTHOR_LAST_NAME in the Index field.Dialog Boxes for Creating/Editing Objects 3-5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!