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, 2415🔥, 0💬
Popular Posts:
How To Verify a User name with SQLCMD Tool in SQL Server? The quickest way to verify a user name in ...
What Is Oracle in Oracle? Oracle is a company. Oracle is also a database server, which manages data ...
How To Break Query Output into Pages in MySQL? If you have a query that returns hundreds of rows, an...
How To Find Out What Privileges a User Currently Has in Oracle? Privileges granted to users are list...
Where to find SQL Server database server tutorials? Here is a collection of tutorials, tips and FAQs...