Collections:
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.
⇒ Show All Indexes in Your Schema in Oracle
⇐ Run SQL Statement through Web UI in Oracle
2019-05-01, 2378🔥, 0💬
Popular Posts:
How To Revise and Re-Run the Last SQL Command in Oracle? If executed a long SQL statement, found a m...
How To Recover a Dropped Index in Oracle? If you have the recycle bin feature turned on, dropped ind...
How to calculate the storage size of a JSON (JavaScript Object Notation) value using the JSON_STORAG...
Is PL/SQL Language Case Sensitive in Oracle? PL/SQL language is not case sensitive: Reserved words a...
Why I Can Not Enter 0.001 Second in DATETIME values in SQL Server Transact-SQL? If you enter millise...