Collections:
CREATE INDEX - Create a Table Index in Oracle
How To Create a Table Index in Oracle?
✍: FYIcenter.com
If you have a table with a lots of rows, and you know that one of the columns will be used often a search criteria, you can add an index for that column to in improve the search performance. To add an index, you can use the CREATE INDEX statement as shown in the following script:
CREATE TABLE tip (id NUMBER(5) PRIMARY KEY, subject VARCHAR(80) NOT NULL, description VARCHAR(256) NOT NULL, create_date DATE DEFAULT (sysdate)); Table created. CREATE INDEX tip_subject ON tip(subject); Index created.
⇒ ALTER INDEX - Rename an Index in Oracle
⇐ DROP TABLE Statement in Oracle
2020-02-20, 5429🔥, 0💬
Popular Posts:
Where Is the Export Dump File Located in Oracle? If you are not specifying the dump directory and fi...
How To Format Time Zone in +/-hh:mm Format in SQL Server Transact-SQL? From the previous tutorial, y...
How To Select All Columns of All Rows from a Table in Oracle? The simplest query statement is the on...
How To Start Instance with a Minimal Initialization Parameter File in Oracle? The sample initializat...
How To List All User Names in a Database in SQL Server? If you want to see a list of all user names ...