question

OraLearner avatar image
OraLearner asked

How can we pass hints to the SQL processor?

How to pass the hints to the SQL processor ? is there a way to do this ?

sqloracleengine
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
HillbillyToad avatar image
HillbillyToad answered

You embed the hint directly in the SQL statement.

For example

SELECT /*+ NO_CPU_COSTING */ emp_name, 
       dpt_name, 
       grd_desc 
  FROM grade, 
       employee, 
       department department1 
 WHERE ...

The /*+ */ syntax starts and stops a hint.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.