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, 5694🔥, 0💬
Popular Posts:
Where to find answers to frequently asked questions on Conditional Statements and Loops in SQL Serve...
How To Generate CREATE TABLE Script on an Existing Table in SQL Server? If you want to know how an e...
How To Get the Definition of a View Out of the SQL Server in SQL Server? If you want get the definit...
What is SQL Server Transact-SQL (T-SQL)? SQL Server Transact-SQL, also called T-SQL, is an extension...
How To Convert Binary Strings into Hexadecimal Character Strings in SQL Server? When a query returns...