I am using a stored procedure to run a select distinct against and table, spooling the file to disk.
I need to add a hint specifying a index.
Not sure where / how this goes, any help or tips would be helpful. Below is the sql statement, name of the index is: idx1_contract_search. Again, I need to specify that this select statement use this index.
SELECT DISTINCT t1.seq_prov_id,t2.line_of_business,
to_number(t3.contract_search_type),t2.panel_id,
t2.ipa_id,t2.pcp_flag
FROM master t1,contract t2,contract_search t3
I need to add a hint specifying a index.
Not sure where / how this goes, any help or tips would be helpful. Below is the sql statement, name of the index is: idx1_contract_search. Again, I need to specify that this select statement use this index.
SELECT DISTINCT t1.seq_prov_id,t2.line_of_business,
to_number(t3.contract_search_type),t2.panel_id,
t2.ipa_id,t2.pcp_flag
FROM master t1,contract t2,contract_search t3