Jun 25, 2015

Oracle Hints

1) Hint to use with Like clause

If your SQL contain a LIKE clause then you could consider using a hint on the column where an index exists on this column.

Use the /*+index(table index_name) */ hint. The LIKE clause may prevent the use of the index. If the index is physically smaller than the table then it will likely be faster to use the index rather than the table.


Append only works with Insert into table1 select * from table2;
It really doesn't make sense for a single-row insert

Jun 21, 2015