What spfile/init.ora file parameter exists to force the CBO
to make the execution path of a given statement use an
index, even if the index scan may appear to be calculated as
more costly?
Answer / Ram Dwivedi
To force the CBO to use a specific index for a given statement, you can use the FORCE_INDEX initialization parameter in the spfile/init.ora file or ALTER SESSION command. Here's an example:
```sql
ALTER SESSION FORCE INDEX (table_name) ON (column_name);
```
This command will force the CBO to use the specified index for the given table and column.
| Is This Answer Correct ? | 0 Yes | 0 No |
how can you create a user-defined lock?
You have just compiled a PL/SQL package but got errors, how would you view the errors?
what is the difference between db2start command and start database manager command?
What are the different types of indexes available in sql server? : sql server DBA
What is checkpoint?
Give two examples of referential integrity constraints.
How can you tell how much space is left on a given file system and how much space each of the file system's subdirectories take-up?
what are the performance views in an oracle rac environment?
As a part of your job, what are the DBCC commands that you commonly use for database maintenance?
What is database replicaion? What are the different types of replication you can set up in SQL Server?
what are the types of connection load-balancing?
Can you tell me about your experience with the administration of COTS system..? Also, how do you set up seed data..?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)