How Oracle using SAMPLE Clause on statistics? [message #250769] |
Wed, 11 July 2007 04:36 |
aprodovikov
Messages: 2 Registered: July 2007 Location: Russia, Yekaterinburg
|
Junior Member |
|
|
I have ORA-00933 on DBMS_STATS.gather_database_stats().
Parameter NLS_NUMERIC_PARAMS has value:
database ', '
instance ''
session ', '
If change session parameter on value '. ', then function running successfully. But I have error on Oracle Application. Could I can`t change value database parameter nls_numeric_params.
If change database parameter on value '.,' and session parameter value ', ', then function running succesfully.
Error occur on this query:
select /*+ cursor_sharing_exact dynamic_sampling(0) no_monitoring no_expand index(t,"P_BER_KEY") */ count(*) as nrw,count(distinct sys_op_lbid(73313,'L',t.rowid)) as nlb,null as ndk,sys_op_countchg(substrb(t.rowid,1,15),1) as clf from "IGG"
."BER" sample block (9,36760988338905651145722906303514637528) t where "IBERNUM" is not null or "IBERANUM" is not null
|
|
|
|
|
|