Index in Database Management System(DBMS).
Index are used too create mapping of records store inside database with memory so that records can be accessed faster.
Database system creates a default indexing based on primary key of table as most of the time records are searched on the basis of their primary key .
If we want to perform search on other fields , index can be specified for such fields and its syntax is given as follow:
CREATE INDEX indexName ON table_name (column Name);
example:
CREATE INDEX employee_name_id ON salerepTable(name);
Comments
Post a Comment