IE 11 and find the Oracle sample aplpication field
Apex 5.0.1 on apex.oracle.com,
Apex 5.0.1 on my own server.
Universal theme.
The browser IE 11 incorrect display a search box (search) on the home page of the sample database Application:
Other browsers (FF, Chrome) do not have this problem.
Does anyone have any ideas on this?
Thanks in advance.
--
Yava
Uncheck the box 'Stretch form Item' solves the problem.
--
Yava
Tags: Database
Similar Questions
-
How to debug and find the exact constraint violation error
{14:22:36:ErrorCode 122712 - 1 with ErrorMessage as ORA-00001: unique constraint (OPS$ CMS.)} {PK_TB_ML_EXER_UPLOAD) violated appeared [SSO16063259009], pk_xop_subsales.pr_process_exer [CMSCOST_USER]}
{Pr_process_exer (PROCEDURE)
p_voucher_num tb_xop_order_manager_t.voucher_num%TYPE,
p_status_type tb_xop_order_manager_t.status_type%type,
p_dest tb_xop_order_manager_t.dest%type,
p_reference_key tb_xop_order_manager_t.reference_key%type,
p_seq_num tb_xop_order_manager_t.seq_num%type,
p_return_code tb_xop_order_manager_t.return_code%type,
p_reason_desc tb_xop_order_manager_t.reason_desc%type,
p_activity_qty tb_xop_order_manager_t.activity_qty%type,
p_leaves_qty tb_xop_order_manager_t.leaves_qty%type,
p_exec_price tb_xop_order_manager_t.exec_price%type,
p_current_status tb_xop_order_manager_t.current_status%type,
p_err_cur ON ref_cursor)
IS
CURSOR get_order_dtls (v_voucher_num tb_xop_order_manager_t.voucher_num%type)
IS
SELECT *.
OF tb_xop_order_manager_t
WHERE voucher_num = v_voucher_num;
CURSOR get_mail_cd (v_opt_num OPTIONEE.opt_num%TYPE) IS
SELECT mail_cd, sp_mail_cd
OF XOP_OPTIONEE
WHERE opt_num = v_opt_num;
cursor get_opt_dtls (v_opt_num OPTIONEE.opt_num%TYPE) IS
Select
SUBSTR (Trim (O.name_first) |) ' ' || Trim (O.name_mi) | ' ' ||
Trim (O.name_last), 1: 35) p_name,.
SUBSTR (O.address1, 1, 35) opt_addr1,.
SUBSTR (O.address2, 1, 35) opt_addr2,.
SUBSTR (O.address3, 1, 35) opt_addr3,.
SUBSTR (O.address4, 1, 35) opt_addr4,.
SUBSTR (O.address5, 1, 35) opt_addr5,.
SUBSTR (O.address6, 1, 35) opt_addr6,.
SUBSTR (Trim (O.City) |) ' ' || Trim (O.State) | ' ' ||
Trim (O.zip) | ' ' || Trim (O.Country), 1: 35) city_state_zip_country,.
Trim town (O.City),
Trim (O.State) State,
Trim (O.zip) zip,
Trim (O.Country) countries
of the option o holder
where o.opt_num = v_opt_num;
-CQ: PCTUP00210726 - added wire instructions audit for info thread deleted.
CURSOR (c_wire_instruction)
in_wire_seq_no TB_XOP_WIRE_INSTRUCTIONS.wire_seq_no%TYPE) IS
SELECT ml_brok_acct_num,
SSN,
plan_num,
instr_type,
aba_routing_num,
swift_routing_code,
bank_name,
bank_acct_num,
name_on_account,
bank_addr_1,
bank_addr_2,
bank_addr_3,
City,
State,
countries,
zip,
bank_ident_num,
addtl_info
OF TB_XOP_WIRE_INSTRUCTIONS
WHERE wire_seq_no = in_wire_seq_no
UNION
SELECT ml_brok_acct_num,
SSN,
plan_num,
instr_type,
aba_routing_num,
swift_routing_code,
bank_name,
bank_acct_num,
name_on_account,
bank_addr_1,
bank_addr_2,
bank_addr_3,
City,
State,
countries,
zip,
bank_ident_num,
addtl_info
OF TB_XOP_WIRE_INSTRUCTIONS_AUDIT
WHERE wire_seq_no = in_wire_seq_no;
CURSOR c_order_qty IS
SELECT order_qty
OF tb_xop_order_manager
WHERE voucher_num = p_voucher_num;
v_order_qty tb_xop_order_manager.order_qty%TYPE;
v_wire_instruction c_wire_instruction % ROWTYPE;
v_order_dtls get_order_dtls % rowtype;
v_opt_dtls get_opt_dtls % rowtype;
v_settle_dt tb_ml_exer_upload.settle_dt%type;
v_cusip_num corp.cusip_num%type;
number of v_err_cd (12): = 0;
v_err_msg varchar2 (4000);
v_compy_nme tb_fc_Compy.compy_nme%type;
v_ml_sec_num tb_fc_compy.ml_sec_num%type;
v_mail_cd xop_optionee.mail_cd%type;
v_count1 PLS_INTEGER: = 0;
v_sum_activity_qty tb_xop_order_manager_t.activity_qty%TYPE;
v_transact_no PLS_INTEGER;
v_ivr_plan_num tb_fc_compy.ivr_plan_num%TYPE;
wait_for_more EXCEPTION;
exceeds_order_qty EXCEPTION;
-Added CQ # PCTUP00481233
number of v_sub_totfee;
number of v_sub_fixedfee1;
number of v_sub_fixedfee2;
number of v_sub_fixedfee3;
number of v_sub_secfee;
number of v_sub_feenum;
-Added CQ # PCTUP00481233
v_fixedfee1 tb_xop_order_manager_t.fixed_fee1%TYPE; -SPIF # 43161 - variable to contain the fixed mensuels1
BEGIN
OPEN c_order_qty.
SEEK c_order_qty INTO v_order_qty;
CLOSE C_order_qty;
DBMS.output.put_line ('completed1');
IF v_order_qty <>p_activity_qty THEN
DBMS.output.put_line ('completed2');
IF p_status_type = "EO" AND v_order_qty < p_activity_qty THEN
RAISE exceeds_order_qty;
DBMS.output.put_line ('completed3');
ELSIF p_status_type = 'EO' AND v_order_qty > p_activity_qty THEN
-Partial enforcement
INSERT INTO tb_xop_hold_multi_orders
(voucher_num
reference_key
seq_num
return_code
reason_desc
status_type
activity_qty
leaves_qty
exec_price
current_status
waiting
activ_dt)
VALUES
(p_voucher_num
p_reference_key
p_seq_num
p_return_code
p_reason_desc
p_status_type
p_activity_qty
p_leaves_qty
p_exec_price
p_current_status
, 'Y'
SYSTIMESTAMP);
DBMS.output.put_line ('completed4');
ON THE OTHER
IF p_status_type = "BE" THEN
SELECT COUNT (1) IN v_count1
OF tb_xop_hold_multi_orders
WHERE voucher_num = p_voucher_num;
DBMS.output.put_line ('completed5');
IF v_count1 > 0 THEN
INSERT INTO tb_xop_hold_multi_orders
(voucher_num
reference_key
seq_num
return_code
reason_desc
status_type
activity_qty
leaves_qty
exec_price
current_status
waiting
activ_dt)
VALUES
(p_voucher_num
p_reference_key
p_seq_num
p_return_code
p_reason_desc
p_status_type
, (-1) * p_activity_qty
p_leaves_qty
p_exec_price
p_current_status
, 'Y'
SYSTIMESTAMP);
UPDATE tb_xop_hold_multi_orders
QUEUE = 'Y '.
WHERE voucher_num = p_voucher_num;
DBMS.output.put_line ('completed6');
END IF;
END IF;
END IF;
DBMS.output.put_line ('completed7');
SELECT SUM (NVL(activity_qty,0)) IN the v_sum_activity_qty
OF tb_xop_hold_multi_orders
When pending = 'Y '.
AND voucher_num = p_voucher_num;
IF v_sum_activity_qty > 0 THEN
IF v_sum_activity_qty <>v_order_qty THEN
RAISE wait_for_more;
ON THE OTHER
-final order in the case of partial performance; complete the process
UPDATE tb_xop_hold_multi_orders
PUT on hold = ' don't
process_dt = SYSDATE
WHERE voucher_num = p_voucher_num;
END IF;
END IF;
END IF;
UPDATE tb_xop_order_manager_t
SET activ_dt = TO_CHAR (SYSDATE, "YYYY-MM-DD HH24:MI:SS") | '. 000'
dest = p_dest
reference_key = p_reference_key,
seq_num = p_seq_num
return_code = p_return_code
reason_desc = p_reason_desc,
status_type = p_status_type
, activity_qty = v_order_qty - p_activity_qty
, leaves_qty = 0 - p_leaves_qty
exec_price = p_exec_price,
WHERE voucher_num = p_voucher_num;
DBMS.output.put_line ('completed8');
/*
* SPIF # 43161 - update of the current situation to the PO moved to the end, even in works of the PROD.
*/
IF (p_status_type = "EO") THEN
BEGIN
Select cusip_num
in v_cusip_num
Corp;
EXCEPTION
WHEN NO_DATA_FOUND THEN
SELECT cusip_num
IN v_cusip_num
OF tb_xop_espp_compy
WHERE compy_acronym = replace (replace(user,'CMS'), '_USER');
WHILE OTHERS THEN
NULL;
END;
Select compy_nme, ml_sec_num, ivr_plan_num
in v_compy_nme, v_ml_sec_num, v_ivr_plan_num
of tb_fc_compy
where compy_acronym = replace (replace(user,'CMS'), '_USER')
UNION ALL
Select compy_nme, je_ml_security_number, ivr_plan_num
of tb_xop_espp_compy
where compy_acronym = replace (replace(user,'CMS'), '_USER');
-where ivr_plan_num = replace (substr(p_voucher_num,1,7), 'NORTH', 'XOP');
Open get_order_dtls (p_voucher_num);
SEEK get_order_dtls INTO v_order_dtls;
v_settle_dt: = fn_xop_bankopen_bizday (TRUNC (v_order_dtls.exer_date + 1));
v_settle_dt: = fn_xop_bankopen_bizday (TRUNC (v_settle_dt + 1));
v_settle_dt: = fn_xop_bankopen_bizday (TRUNC (v_settle_dt + 1));
FOR c_mail_cd IN get_mail_cd (v_order_dtls.opt_num)
LOOP
v_mail_cd: = c_mail_cd.mail_cd;
-We need get sp_mail_cd and overlay with the sp_mail_cd in order_manager_t?
END LOOP;
OPEN get_opt_dtls (v_order_dtls.opt_num);
SEEK get_opt_dtls INTO v_opt_dtls;
CLOSE Get_opt_dtls;
v_fixedfee1: = nvl (v_order_dtls.fixed_fee1, 0);
/*
* SPIF # 43161 - at least one transaction per day fees
*/
v_fixedfee1: = pk_xop_enh_exerupdate.chrg_tranxfixed_fee (v_fixedfee1,
v_order_dtls. Symbol,
v_order_dtls.corp_acronym,
v_order_dtls.opt_num);
-Insert in tb_ml_exer_upload
-Added CQ # PCTUP00481233
Pk_Xop_Transactmodel.GET_FEE (v_order_dtls. GROUP_ID, v_order_dtls. SVC_ID, 'SQ', v_order_dtls.opts_exer,
round (v_order_dtls.exec_price, 4), v_sub_totfee, v_sub_fixedfee2, v_sub_fixedfee1,.
v_sub_fixedfee3, v_sub_secfee, v_sub_feenum, LPAD (v_order_dtls. SSN, 9, 0));
v_order_dtls.sec_fee: = v_sub_secfee;
UPDATE tb_xop_order_manager_t
SET sec_fee = v_sub_secfee
WHERE voucher_num = p_voucher_num;
DBMS.output.put_line ('completed8');
-End CQ # PCTUP00481233
INSERT INTO tb_ml_exer_upload
(exer_num, exer_seq,
exer_dt, written_flag, backout_flag, output_line,
je_flag, opts_exer,
tot_tax, shrs_sold, comm_value, tot_fee,
mkt_prc, exer_type, soc_sec,
name_first, name_mi,
name_last, check_addr_1, check_addr_2, check_addr_3,
check_addr_4, check_addr_5, city, state, zip, country,.
city_state_zip_country,
p_name, opt_addr1, opt_addr2, opt_addr3, opt_addr4,
opt_addr5, opt_addr6,
settle_dt, send_to_citibank_flag,
dom_chek_distr, foreign_currency_code,
distribution_method, wire_seq_no,
cusip_num, ml_retail_account, multi_curr_handling_fee,
ml_sec_num, corp_name, upd_optionee_addr,
outbound_flag,-there are N
corp_symbol, taxwire_approve,-not make applicaplabe
exersource,
mail_cd, sp_mail_cd,
backup_withholding,
user_id,
acct_num_othr)
VALUES (v_order_dtls.exer_num, 0, v_order_dtls.exer_date, 'No', not, NULL,)
-Would be PG 12/12/05 Changed to fill the resulting je_flag of dom_chek_distr',.
-PG 16/12/05 I should not be generated for international controls... If 'Y' always
'Y',-je_flag
v_order_dtls.opts_exer, 0,-total tax will be 0.
v_order_dtls.opts_exer, shrs_sold,
v_order_dtls.comm_value,
-SPIF # 43161 - replaced nvl (v_order_dtls.fixed_fee1, 0), with v_fixedfee1
v_fixedfee1 + nvl(v_order_dtls.fixed_fee3,0) + nvl(v_order_dtls.sec_fee,0), - v_order_dtls.fees_amt,
round (v_order_dtls.exec_price, 4), v_order_dtls.exer_type.
LPAD (v_order_dtls. SSN, 9, '0'),-v_order_dtls.ssn, modified by Suresh on 08/02/07 for SPIF # 37210
v_order_dtls.name_first, v_order_dtls.name_mi, v_order_dtls.name_last,
v_order_dtls.check_addr_1, v_order_dtls.check_addr_2, v_order_dtls.check_addr_3,
v_order_dtls.check_addr_4, v_order_dtls.check_addr_5, NVL (v_order_dtls. City, v_opt_dtls. (City),
NVL (v_order_dtls. State, v_opt_dtls. State), NVL (v_order_dtls.zip, v_opt_dtls.zip).
NVL (v_order_dtls. Country, v_opt_dtls. (Country),
SUBSTR (nvl (v_order_dtls.city | v_order_dtls.)) State | v_order_dtls.zip | v_order_dtls. Country,
v_opt_dtls.city_state_zip_country), 1: 34),-COLUMN LENGTH MAX IS 35
v_opt_dtls.p_name, v_opt_dtls.opt_addr1, v_opt_dtls.opt_addr2, v_opt_dtls.opt_addr3,
v_opt_dtls.opt_addr4, v_opt_dtls.opt_addr5, v_opt_dtls.opt_addr6,
v_settle_dt, Decode(v_order_dtls.distribution_method,'W','Y','D','Y','C','Y','D'),
v_order_dtls.dom_chek_distr, v_order_dtls.foreign_currency_code,
v_order_dtls.distribution_method, v_order_dtls.wire_seq_no,
v_cusip_num, v_order_dtls.acct_num, v_order_dtls.multi_curr_handling_fee,
-nvl (fn_get_sec_num (replace (substr (p_voucher_num, 1, 7), 'NORTH', 'XOP'), v_order_dtls.symbol), v_ml_sec_num).
NVL (fn_get_sec_num (v_ivr_plan_num, v_order_dtls.symbol), v_ml_sec_num).
v_compy_nme, v_order_dtls.upd_optionee_addr,
'N'-' is for outgoing flag.
v_order_dtls. Symbol, 'd', --a ' for disabled taxwires
The of ', - the of ' source being a subsequent sale.
v_mail_cd, need to get mail_Cd?
v_order_dtls.sp_mail_cd, v_order_dtls.backup_withholding,
(User, v_order_dtls.acct_num_othr);
IF (NVL(v_order_dtls.wire_seq_no,0) > 0) THEN
OPEN c_wire_instruction (v_order_dtls.wire_seq_no);
SEEK c_wire_instruction INTO v_wire_instruction;
CLOSE C_wire_instruction;
INSERT INTO TB_XOP_TRANSACT_WIRE_INSTR
(user_id, exer_num, wire_seq_no, ml_brok_acct_num, ssn,
plan_num, instr_type, aba_routing_num,
swift_routing_code, bank_name, bank_acct_num,
name_on_account, bank_addr_1, bank_addr_2, bank_addr_3,
City, State, country, zip, bank_ident_num, addtl_info)
VALUES
(USER, v_order_dtls.exer_num, v_order_dtls.wire_seq_no,
v_wire_instruction.ml_brok_acct_num, v_wire_instruction.ssn,
v_wire_instruction.plan_num, v_wire_instruction.instr_type, v_wire_instruction.aba_routing_num,
v_wire_instruction.swift_routing_code, v_wire_instruction.bank_name, v_wire_instruction.bank_acct_num,
v_wire_instruction.name_on_account, v_wire_instruction.bank_addr_1, v_wire_instruction.bank_addr_2,
v_wire_instruction.bank_addr_3, v_wire_instruction.city, v_wire_instruction.state, v_wire_instruction.country, v_wire_instruction.zip,
(v_wire_instruction.bank_ident_num, v_wire_instruction.addtl_info);
DBMS.output.put_line ('completed10');
END IF;
/ * PG 05/01/06 call conversion check only for international controls and son * /.
IF = v_order_dtls.dom_chek_distr ' n AND v_order_dtls.distribution_method IN ('W' ' d ","C"" ") THEN
/ * PG 20/12/05 to treat the subsequent sales with the wire or the distribution of currency * /.
v_transact_no: = 88;
pk_xop_citibank_forex.pr_cashconversion_ins_request (v_order_dtls.acct_num
LPAD(v_order_dtls.ssn,9,'0') - v_order_dtls.ssn, modified by Suresh on 15/02/07 for SPIF # 37210
v_order_dtls.distribution_method
v_order_dtls.foreign_currency_code
v_order_dtls.wire_seq_no
, TOWER ((v_order_dtls.opts_exer * ronds (v_order_dtls.exec_price, 4)), 2)
-ROUND(v_order_dtls.comm_value,2)
-ROUND (nvl(v_order_dtls.fixed_fee1,0) + nvl(v_order_dtls.fixed_fee3,0) + nvl(v_order_dtls.sec_fee,0), 2)
-nvl(v_order_dtls.multi_curr_handling_fee,0)
-product net nvl(v_order_dtls.backup_withholding,0)-
, v_order_dtls.multi_curr_handling_fee - handling fee
-Modified by Billon/Suresh on 03/02/2006-, v_order_dtls.login_name
, CASE v_order_dtls.login_name WHEN ' CUSTOMER /' THEN v_order_dtls.login_name |' SSO' ELSE v_order_dtls.login_name |' / SSO' END
, v_transact_no - transact_no as a placeholder for the 88 exer_type
v_order_dtls.check_addr_1
v_order_dtls.check_addr_2
v_order_dtls.check_addr_3
v_order_dtls.check_addr_4
v_order_dtls.upd_optionee_addr
v_order_dtls.city
v_order_dtls.state
v_order_dtls.zip
v_order_dtls.country
v_order_dtls.login_ipaddress
v_order_dtls.fcnum
v_order_dtls.opt_num
v_settle_dt,
p_exer_num = > v_order_dtls.exer_num
);
END IF;
COMMIT;
close get_order_dtls;
END IF;
/*
* SPIF # 43161 - update of current status in IN. is moved to this part, even PROD.
*/
UPDATE tb_xop_order_manager_t
SET exec_dttime = decode (p_status_type, "EO", to_char (sysdate, 'DD-MON-YYYY HH24:mi:ss'), null)
exer_date = trunc (sysdate)
, cancel_dttime = decode (p_status_type, 'CX', to_char (sysdate, 'DD-MON-YYYY HH24:mi:ss'), 'UR', to_char (sysdate, "MON-DD-YYYY HH24:mi:ss), null)
, current_status = "PO."
sum_status = decode(p_status_type,'EO','X','C'),
sum_stat_dttime = SYSDATE
WHERE voucher_num = p_voucher_num;
v_err_cd: = sqlcode;
v_err_msg: = sqlerrm;
Open the p_err_cur for v_err_cd select err_code, v_err_msg err_msg double;
EXCEPTION
DBMS.output.put_line ('completed200');
/ * PG 02/10 managed 'order of partial fill' exception * /.
When wait_for_more then
v_err_cd: = 0;
v_err_msg: = ' ORA-0000: normal completion, successfully ';
pr_xop_log_errors (' partially filled;) Pending-activity qty:' | TO_CHAR (v_sum_activity_qty) | "pk_xop_subsales.pr_process_exer");
Open the p_err_cur for v_err_cd select err_code, v_err_msg err_msg double;
When exceeds_order_qty then
v_err_cd: = sqlcode;
v_err_msg: = sqlerrm;
Open the p_err_cur for v_err_cd select err_code, v_err_msg err_msg double;
pr_xop_log_errors ("exceeded the amount of activity Order_qty - activity qty: ' | ') TO_CHAR (p_activity_qty) | "pk_xop_subsales.pr_process_exer");
while others then
v_err_cd: = sqlcode;
v_err_msg: = sqlerrm;
Open the p_err_cur for v_err_cd select err_code, v_err_msg err_msg double;
pr_xop_log_errors (' error code ' | ') SQLCODE |' with ErrorMessage like ' | SQLERRM |' occurred '. the user | (' pk_xop_subsales.pr_process_exer');
DBMS.output.put_line ('completed125');
END pr_process_exer;
}
Hi friends, any1 help me how set ref-cursor in the declaration section and how to find the constraint error situation has occurred...956684 wrote:
Hello.Friends please help... How to debug and find the exact position of the constraint violation... Thank you for the help...
It's not a way to track it unless you have taken the exception raised.
As a way to start debugging, you will need to monitor
1. all DML against the Table on which you have constraint. Specifically, the DML that Act on the column you will be forced.
2. use the exception handling, to record the error and the data that causes the constraint to fail.
3. don't forget to monitor triggers, if used, could write data in the column you have forced on.Or
Another track is to:
select * from user_source where lower(text) like '%your_table_name%'; order by type, name, line;
Look at the lines, exclude that are in the statement or in the SELECT statements and targets of the DML.
Looking at the unformatted code, that you have published, this statement looks like a culprit.
INSERT INTO tb_ml_exer_upload (exer_num,exer_seq, exer_dt, written_flag, backout_flag, output_line, je_flag, opts_exer, tot_tax,shrs_sold,comm_value,tot_fee, mkt_prc,exer_type, soc_sec, name_first, name_mi, name_last,check_addr_1,check_addr_2,check_addr_3, check_addr_4,check_addr_5,city,state,zip,country, city_state_zip_country, p_name,opt_addr1,opt_addr2,opt_addr3,opt_addr4, opt_addr5,opt_addr6, settle_dt,send_to_citibank_flag, dom_chek_distr,foreign_currency_code, distribution_method,wire_seq_no, cusip_num, ml_retail_account,multi_curr_handling_fee, ml_sec_num, corp_name,upd_optionee_addr, outbound_flag, -- make it N corp_symbol,taxwire_approve, -- make it not applicaplabe exersource, mail_cd, sp_mail_cd, backup_withholding, user_id, acct_num_othr) VALUES(v_order_dtls.exer_num,0,v_order_dtls.exer_date,'N','N',NULL, -- PG 12/12/05 Changed to populate the je_flag based on dom_chek_distr 'D', -- PG 12/16/05 JE should not be generated for international checks.. So 'Y' always 'Y', --je_flag v_order_dtls.opts_exer,0,--total tax will be 0. v_order_dtls.opts_exer, --shrs_sold, v_order_dtls.comm_value, --SPIF# 43161- replaced nvl(v_order_dtls.fixed_fee1, 0) with v_fixedfee1 v_fixedfee1 + nvl(v_order_dtls.fixed_fee3,0) + nvl(v_order_dtls.sec_fee,0), --v_order_dtls.fees_amt, round(v_order_dtls.exec_price, 4),v_order_dtls.exer_type, LPAD(v_order_dtls.ssn,9,'0'), --v_order_dtls.ssn, Modified by Suresh on 02/08/07 for SPIF # 37210 v_order_dtls.name_first,v_order_dtls.name_mi,v_order_dtls.name_last, v_order_dtls.check_addr_1,v_order_dtls.check_addr_2,v_order_dtls.check_addr_3, v_order_dtls.check_addr_4,v_order_dtls.check_addr_5,nvl(v_order_dtls.city,v_opt_dtls.city), nvl(v_order_dtls.state,v_opt_dtls.state),nvl(v_order_dtls.zip,v_opt_dtls.zip), nvl(v_order_dtls.country,v_opt_dtls.country), SUBSTR(nvl(v_order_dtls.city||v_order_dtls.state||v_order_dtls.zip||v_order_dtls.country, v_opt_dtls.city_state_zip_country),1,34), -- COLUMN LENGTH MAX IS 35 v_opt_dtls.p_name,v_opt_dtls.opt_addr1,v_opt_dtls.opt_addr2,v_opt_dtls.opt_addr3, v_opt_dtls.opt_addr4,v_opt_dtls.opt_addr5,v_opt_dtls.opt_addr6, v_settle_dt,decode(v_order_dtls.distribution_method,'W','Y','D','Y','C','Y','D'), v_order_dtls.dom_chek_distr,v_order_dtls.foreign_currency_code, v_order_dtls.distribution_method,v_order_dtls.wire_seq_no, v_cusip_num,v_order_dtls.acct_num,v_order_dtls.multi_curr_handling_fee, -- nvl(fn_get_sec_num(replace(substr(p_voucher_num,1,7),'SSO','XOP'),v_order_dtls.symbol),v_ml_sec_num), nvl(fn_get_sec_num(v_ivr_plan_num, v_order_dtls.symbol),v_ml_sec_num), v_compy_nme,v_order_dtls.upd_optionee_addr, 'N', --'N' is for outbound flag. v_order_dtls.symbol,'D', --'D' for taxwires disabled 'S', -- 'S' for source being subsequent sale. v_mail_cd, --need to get mail_Cd?? v_order_dtls.sp_mail_cd,v_order_dtls.backup_withholding, user,v_order_dtls.acct_num_othr);
What is the structure of the tb_ml_exer_upload Table and the columns do you have constraints?
Which column of the tb_ml_exer_upload table is your primary key (because the constraint name mentions pk_tb_ml_exer_upload)?Published by: Jen K on January 4, 2013 12:57
-
Need to find the Oracle Session with high CPU consumption and process of the BONE
Hello
I find the high use of the processor by the command "prstat. The host is running Solaris 5.10 64-bit with a database of Oracle 10.2.0.4.
The grid, the high command is not available. What is the best way to find Oracle sessions using high processor and operating system processes.
Thanks in advance.
-Asifnaveed27c wrote:
Thanks, Justin.I have alread think SQL from Google. Now the problem is that I find the process of operating system level of Solaris.
You can join V$ SESSION on the SID. The column PROCESS in V$ SESSION is the ID of the client operating system process.
Justin
-
Hello
DB: 8i and 10g and 11g
OS: Redhat 5 and AIX 6
We have 5 db in a test server with the same user name and is home to different oracle. People sometimes mistakenly launched the db to another oracle home. How to find an instance using what kind of welcome in the oracle server?
How to find?
Thank you and best regards,
VN
Published by: user3266490 on April 24, 2012 16:41Hello
1. find the pid of a process instance
2. / Proc //DLG is a link to $ORACLE_HOME/dbs
Kind regards
Franck. -
need help to copy the profile and find the menu bar.
I am trying to move my files of thunderbird etc to a new computer and need to do it manually due to hardware problem causing no internet. I tried going in C file and found Thunderbird. No other success find the bar of menus or profile. This is why I have no where to type in the string of words that give instructions. Also instead of 'name' how to find the name?
I never did move, but this article treats d'it.http://kb.mozillazine.org/Move_to_a_new_PC
-
HP ENVY 7640: HP ENVY 7640 2 sides print and find the most printing problems
Printer installed on 2 computers. To print 2 sides. No options settings except manually don't print on both sides. Can go to printer properties and choose 2 sides printer here, but not an option under settings. Shouldn't the option for 2 show print face upward under settings?
Also when click on 'Find the print settings more' under the settings in the menu printing, an error message warning that "a serious problem occurred the last time that Word has attempted to recover the HPE04E66 print settings (7640 HP EVNY series). If click 'connect to the printer', Word crashes. (Happens on both computers). Is it possible to fix this?
If the help Wizard does not update your printer, I would ignore the update or uninstall the program.
-
Hello
I have a problem or two, three and so of...I'm using a Vista and a Windows 7 computer and both systems hide many different cards when it is installed to even the fact that I have are the only user with administrative privileges on both computers.
And I have to search all over the place for a few guides that can tell me how to:
(1) show all cards like c:/Users/name/*.*
(2) find the mainfolders diffirent behind all the diffirent Junction Points
The two all I can get is someone who tells me to go and Explore/Optins/show/mark ' display all the hidden files and folders and clear Hide protected OSfiles hide known file types names. "
(A Danish BONES that I use for my translations may not be accurate)That the two Don t unhide/Show map C:/Users and folders/files under this mainmap at all.
So, is there someone who can tell me how I get fuld kontrol and get all the cards and visible files on my private property paid og computers without telling me to try this ot try it?
(1) I'm sorry, but I don't know what you mean by "cards".
(2) to see the junction points in the files they point to and C:\Users\Name, open a command prompt window and type:
dir random Boulder computer Maven
Most Microsoft Valuable Professional -
Skip and capture the Oracle SQL record dirty in a select statement
Hello
I have the Oracle Oracle 11.2.0.4 database when I run a select query.
Question:
10 columns have given Date format. When I try to execute this query into a FROG he says, a month not valid. Since the records are billion in nature, I am not able to know which line has this problem.
Is there a way I can capture the failed row and add it to other tables and continues with the select statement regardless of this error
OK, you have several TO_DATE functions fed a string that is built on the fly. At least part of the time, the chain that is built does not match the date format mask used.
For example:
TO_DATE (SUBSTR (TO_CHAR (SQ_W_PURCH_CYCLNS_ORA. LAST_SUBMITTED_ON_DTTM_WID), 0, 8). » -'|| SUBSTR (TO_CHAR (SQ_W_PURCH_CYCLNS_ORA. (LAST_SUBMITTED_ON_DTTM_WID), 9, 6), "YYYYMMDD-HH24MISS")
"SQ_W_PURCH_CYCLNS_ORA. LAST_SUBMITTED_ON_DTTM_WID' does not have a string where characters 5-6 are in the range 01-12. You'll have to do an analysis on this column. From its data and how that is managed by to_char. What ARE the data type of ' SQ_W_PURCH_CYCLNS_ORA. LAST_SUBMITTED_ON_DTTM_WID' and what is a typical value?
As others have said, this is simply an impossibility for a column of a table to actually have invalid month (or day, or year, or hour or minute or second). ONLY, you get this error during the conversion of a string to a date with the TO_DATE function.
-
Consecutive date grouping and find the largest number of consecutive group
Hi all
I have given dates and I want to find the largest number of consecutive dates
WIN_DATE_DATA
2015-09-22
2015-09-23
2015-09-27
2015-09-28
2015-09-29
2015-09-30
2015-10-1
In this example, there are 2 group of consecutive dates
Group 1
2015-09-22
2015-09-23
Group 2
2015-09-27
2015-09-28
2015-09-29
2015-09-30
2015-10-1
The OUTPUT should 5 which is the largest grouping of consecutive number.
Thanks in advance for the help!
Please take a look at the Community document: 101 PL/SQL: grouping sequence ranges (method Tabibitosan)
will allow you to do.
-
Hello
In fact, I wanted to set up ORACLE with Informatica Power Center (ETL) database connection. But my problem is that I installed the oracle database with grid inside VMWARE with the RHEL operating system. But what INFORMATICA etl software is installed outside VMWARE, which is located in WINDOWS 7 Professional.
I would like to know how I can access and configure oracle database of windows 7 Professional as oracle database is installed inside VMWARE RHEL 6.5 operating system.
Help, please.
HERE'S HOW I SOLVED IT: -.
Here is the url for the NAT that could become useful for other institutions.How to Setup Port Forwarding in VMware Workstation 9 | Virten.NET
-
Help with career within the same table and find the relevant rank.
HI all the gurus
Pls help me out here... I need to implement some which is dependent on SUPERIOR record following found regarding one earlier. Some examples of data.
create table SOR_OFF (OFF_ID, OFFS_ID number, REPORT number, CON_DATE number date, STATE varchar2 (20));
REM INSERTING into SOR_OFF SET DEFINE OFF; Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (987,349,30658,to_date('12-SEP-04','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (988,349,30658,to_date('29-DEC-98','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (990,349,30658,to_date('29-JUL-96','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (991,350,30658,to_date('27-NOV-90','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (992,352,30658,to_date('04-OCT-91','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (993,353,30658,to_date('12-JUN-95','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (994,353,30658,to_date('21-NOV-83','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (995,355,30658,to_date('21-APR-94','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (996,356,27250,to_date('23-SEP-94','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (997,357,30658,to_date('15-MAY-95','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (998,358,30658,to_date('13-JAN-93','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (999,358,30658,to_date('13-MAR-93','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (1000,359,30658,to_date('17-DEC-96','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (1003,360,30658,to_date('22-JUN-92','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (1004,361,30658,to_date('15-FEB-94','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (1006,362,30658,to_date('26-JUL-94','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (1007,364,30658,to_date('01-JUL-92','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (1009,365,30658,to_date('20-MAY-99','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (1010,365,30658,to_date('01-JUL-99','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (1011,366,30658,to_date('18-JUN-84','DD-MON-RR'),'Deleted'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (1012,366,30658,to_date('15-JUL-94','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (1013,366,30658,to_date('15-JUL-94','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (1014,367,30658,to_date('07-NOV-94','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (1015,368,30658,to_date('29-MAY-90','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (1016,369,30658,to_date('10-SEP-92','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (1020,370,30658,to_date('07-JUL-92','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (1026,372,30658,to_date('23-JUL-93','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (1027,373,30658,to_date('30-OCT-96','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (1030,375,30658,to_date('03-OCT-91','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (1034,376,30658,to_date('20-APR-95','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (1037,378,30658,to_date('07-APR-92','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (1039,379,30658,to_date('26-JAN-94','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (1040,380,30658,to_date('12-MAY-93','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (1041,381,30658,to_date('08-JAN-93','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (1042,382,13428,to_date('27-JAN-92','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (1043,383,30658,to_date('19-APR-91','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (1044,384,30658,to_date('17-DEC-54','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (1045,385,27884,to_date('03-APR-90','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (1046,386,28480,to_date('01-DEC-92','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (1048,388,30658,to_date('18-AUG-92','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (1050,389,3894,to_date('26-AUG-88','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (1051,389,30658,to_date('09-APR-96','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (1053,391,30658,to_date('30-NOV-90','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (1054,392,30658,to_date('27-MAY-93','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (1055,393,3894,to_date('05-JUN-91','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (1056,394,30658,to_date('29-MAY-96','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (1057,395,3894,to_date('15-JUL-94','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (1058,396,30658,to_date('22-FEB-91','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (1061,398,30658,to_date('14-MAR-90','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,CON_DATE,STATUS) values (1062,398,30658,to_date('14-MAR-90','DD-MON-RR'),'Active'); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (52810,37334,27250,'ACTIVE',to_date('25-JUL-01','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (52811,37334,27250,'ACTIVE',to_date('23-NOV-08','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (21648,17315,27250,'Deleted',to_date('02-JAN-05','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (24740,17315,27250,'ACTIVE',to_date('05-JAN-05','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (8622,6410,27250,'Active',to_date('26-JUN-98','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (44079,6410,27250,'ACTIVE',to_date('27-OCT-08','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (54828,38266,13428,'ACTIVE',to_date('31-JUL-96','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (55278,38266,13428,'ACTIVE',to_date('10-SEP-98','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (55279,38266,13428,'ACTIVE',to_date('13-NOV-01','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (48172,34748,17442,'ACTIVE',to_date('03-SEP-02','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (48173,34748,17442,'ACTIVE',to_date('01-APR-05','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (45319,33194,9950,'ACTIVE',to_date('03-APR-98','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (45320,33194,9950,'ACTIVE',to_date('21-FEB-06','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (46803,34029,30862,'ACTIVE',to_date('05-MAY-06','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (46804,34029,30862,'ACTIVE',to_date('26-OCT-06','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (53886,34029,30658,'ACTIVE',to_date('18-NOV-09','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (13479,11608,14966,'Active',to_date('16-NOV-99','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (13480,11608,14966,'Active',to_date('01-JAN-01','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (60251,40687,27250,'ACTIVE',to_date('23-JAN-09','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (60252,40687,27250,'ACTIVE',to_date('14-JUL-09','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (17454,14278,604,'Active',to_date('10-AUG-99','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (17455,14278,1232,'Active',to_date('27-OCT-03','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (52438,37084,27250,'ACTIVE',to_date('23-JUL-03','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (52648,37084,27250,'ACTIVE',to_date('17-FEB-04','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (20653,16456,27250,'Deleted',to_date('02-JUN-04','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (31000,16456,0,'Deleted',null); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (38241,16456,27250,'ACTIVE',to_date('28-APR-05','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (54130,37980,1232,'ACTIVE',to_date('08-MAR-00','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (56129,37980,1232,'ACTIVE',to_date('07-AUG-08','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (55025,38388,30622,'ACTIVE',to_date('06-DEC-98','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (55032,38388,30622,'ACTIVE',to_date('01-DEC-10','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (55517,38657,27884,'ACTIVE',to_date('04-FEB-10','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (55518,38657,27884,'ACTIVE',to_date('17-AUG-09','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (55519,38657,27884,'ACTIVE',to_date('21-JUL-09','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (44764,32871,12408,'ACTIVE',to_date('18-JUN-04','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (44765,32871,12408,'ACTIVE',to_date('16-JUN-04','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (44766,32871,12408,'ACTIVE',to_date('16-JUN-04','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (19076,15174,27250,'ACTIVE',to_date('02-NOV-02','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (50173,15174,1232,'ACTIVE',to_date('16-SEP-08','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (45046,33005,27250,'ACTIVE',to_date('03-SEP-92','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (45160,33005,27250,'ACTIVE',to_date('08-FEB-01','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (45161,33005,27250,'ACTIVE',to_date('06-NOV-06','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (44118,32387,27250,'ACTIVE',to_date('22-MAR-96','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (44119,32387,9950,'ACTIVE',to_date('30-DEC-04','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (44120,32387,9950,'ACTIVE',to_date('28-SEP-05','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (48418,34888,19586,'ACTIVE',to_date('02-MAR-90','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (48419,34888,28480,'ACTIVE',to_date('18-DEC-07','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (48420,34888,28480,'ACTIVE',to_date('24-AUG-04','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (43307,31893,29598,'ACTIVE',to_date('26-APR-04','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (43437,31893,9950,'ACTIVE',to_date('20-SEP-07','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (53612,37738,13428,'ACTIVE',to_date('28-JUN-04','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (53613,37738,15208,'ACTIVE',to_date('15-DEC-08','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (21555,17241,13428,'ACTIVE',to_date('11-JUN-99','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (21556,17241,13428,'ACTIVE',to_date('02-JAN-02','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (41336,30685,14966,'ACTIVE',to_date('07-OCT-03','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (42363,30685,9950,'ACTIVE',to_date('20-NOV-06','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (50926,36355,30862,'ACTIVE',to_date('13-DEC-07','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (50928,36355,30862,'ACTIVE',to_date('13-SEP-07','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (25520,20471,27250,'ACTIVE',to_date('06-JUN-98','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (25521,20471,0,'ACTIVE',to_date('31-AUG-04','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (2035,1069,30658,'Active',to_date('29-JAN-92','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (36762,1069,9950,'ACTIVE',to_date('16-MAY-05','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (36763,1069,9950,'ACTIVE',to_date('17-AUG-05','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (29807,23548,18458,'ACTIVE',to_date('18-AUG-00','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (29826,23548,17868,'ACTIVE',to_date('13-AUG-02','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (12818,10852,1232,'Active',to_date('01-JUN-98','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (12988,10852,1232,'Active',to_date('01-JUL-00','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (44287,32502,27884,'ACTIVE',to_date('10-JAN-08','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (44917,32502,9950,'ACTIVE',to_date('09-JUL-08','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (14430,12464,15070,'Active',to_date('03-APR-02','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (14431,12464,30658,'Active',to_date('08-NOV-89','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (42691,12464,30622,'ACTIVE',to_date('18-JAN-06','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (21608,17278,14966,'ACTIVE',to_date('03-AUG-00','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (25145,17278,14966,'ACTIVE',to_date('01-NOV-00','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (54918,38323,17868,'ACTIVE',to_date('21-MAR-02','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (55607,38323,17868,'ACTIVE',to_date('22-APR-10','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (28304,22497,1232,'ACTIVE',to_date('29-NOV-01','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (40755,22497,1232,'ACTIVE',to_date('13-DEC-06','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (13239,11318,19002,'Deleted',to_date('01-APR-99','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (13240,11318,19002,'Active',to_date('01-JAN-00','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (54317,38064,14966,'ACTIVE',to_date('01-DEC-99','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (54318,38064,30862,'ACTIVE',to_date('14-OCT-05','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (60404,38064,30658,'ACTIVE',to_date('31-AUG-11','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (60405,38064,30658,'ACTIVE',to_date('31-AUG-11','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (52800,37327,27250,'ACTIVE',to_date('27-JUN-02','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (52801,37327,27250,'ACTIVE',to_date('27-JUN-02','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (52802,37327,27250,'ACTIVE',to_date('19-DEC-99','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (41154,30599,27250,'ACTIVE',to_date('02-APR-02','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (46115,30599,27250,'ACTIVE',to_date('15-SEP-04','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (48532,34983,1232,'ACTIVE',to_date('16-SEP-05','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (48533,34983,1232,'ACTIVE',to_date('16-SEP-06','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (26868,21438,1232,'ACTIVE',to_date('13-JAN-05','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (26909,21438,1232,'ACTIVE',to_date('13-DEC-05','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (54646,38177,28480,'ACTIVE',to_date('02-DEC-99','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (54647,38177,28480,'Deleted',null); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (54648,38177,28480,'ACTIVE',to_date('01-NOV-04','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (26924,21471,10672,'ACTIVE',to_date('16-JAN-97','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (27385,21471,10672,'ACTIVE',to_date('12-NOV-97','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (27404,21471,3894,'ACTIVE',to_date('02-MAR-01','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (40329,30063,28480,'ACTIVE',to_date('07-OCT-02','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (40407,30063,28480,'ACTIVE',to_date('27-OCT-05','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (27949,22235,27250,'ACTIVE',to_date('07-JUL-98','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (27950,22235,27250,'ACTIVE',to_date('07-JUL-03','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (32387,25414,19032,'ACTIVE',to_date('18-APR-00','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (46214,25414,19032,'ACTIVE',to_date('18-APR-06','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (32226,25340,30658,'ACTIVE',to_date('25-MAY-05','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (33363,25340,27884,'ACTIVE',to_date('11-SEP-99','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (33364,25340,27884,'ACTIVE',to_date('08-FEB-01','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (55789,38840,1830,'ACTIVE',to_date('22-MAR-98','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (55790,38840,1830,'ACTIVE',to_date('22-MAR-98','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (55792,38840,1830,'ACTIVE',to_date('20-MAR-06','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (1976,1026,30658,'Active',to_date('21-JUN-94','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (47881,1026,1232,'ACTIVE',to_date('25-SEP-09','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (47882,1026,1232,'ACTIVE',to_date('21-JUN-04','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (13820,11900,27250,'Active',to_date('15-MAY-98','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (35519,11900,27250,'ACTIVE',to_date('18-JAN-99','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (35520,11900,27250,'ACTIVE',to_date('14-AUG-00','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (35521,11900,30658,'ACTIVE',to_date('03-DEC-02','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (35524,11900,30658,'ACTIVE',to_date('21-MAR-06','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (35525,11900,27250,'ACTIVE',to_date('29-AUG-01','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (26168,20977,27250,'ACTIVE',to_date('24-OCT-05','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (27644,20977,27250,'Deleted',to_date('29-OCT-05','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (27764,20977,27250,'Deleted',to_date('28-OCT-05','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (50681,20977,27250,'ACTIVE',to_date('28-OCT-05','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (49856,35737,27250,'ACTIVE',to_date('03-DEC-97','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (49858,35737,27250,'ACTIVE',to_date('19-JUL-07','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (41260,30649,27250,'ACTIVE',to_date('01-JUL-98','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (41261,30649,27250,'ACTIVE',to_date('01-JUN-98','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (8290,6012,14966,'Active',to_date('16-OCT-98','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (8291,6012,14966,'Active',to_date('24-FEB-99','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (49978,35835,9950,'ACTIVE',to_date('10-SEP-01','DD-MON-RR')); Insert into SOR_OFF (OFF_ID,OFFS_ID,STATE,STATUS,CON_DATE) values (49979,35835,9950,'ACTIVE',to_date('31-MAY-06','DD-MON-RR'));
What I want is less than
-Search for a line more low which is CON_DATE > = to_date ('01-NOV-1998', ' MON-DD-YYYY "") AND STATE = 30658 and get the second row whose state = 30658 but having separate con_date
or CON_DATE = > = to_date (November 1, 1997 ',' MON-DD-YYYY "") AND STATE <>30658 & get the second row including State = 30658 but having separate con_date
and lower (status) = 'active '.
and get another line that extends beyond the found line, but having separate con_date (no operation of the same day.)
I tried to do it with and then attach it again with the same table, but I don't get different results...
Please advise.
Hello
n_shah18 wrote:
NO Frank
Thanks for trying.
First find a line that corresponds
((CON_DATE > = to_date (1er novembre 1998 ', ' MON-DD-YYYY ") AND STATE = 30658))
or (CON_DATE > = to_date (November 1, 1997 ',' MON-DD-YYYY "") AND STATE <> 30658))
8 second get/check the following line immediately for offs_id even that has different con_date, that is superior to prev con_date but State should be 3065
If offs_id found then return else throw line...
Thus, in addition to the conditions that I listed previously, there must be a line with the same offs_id, which has a con_date later and the State concerned; is this fair?
You can use a self-join to see if there is such an extra line:
WITH params AS
(
SELECT TO_DATE (November 1, 1998 ', 'DD-Mon-YYYY') AS later_threshold_date
AS target_state 30658
11900 AS target_offs_id
OF the double
)
SELECT s.offs_id
OF s sor_off
JOIN params p ON s.offs_id = p.target_offs_id
AND ((s.con_date > = p.later_threshold_date))
AND s.state = p.target_state
)
OR (s.con_date > = ADD_MONTHS (p.later_threshold_date, 12))
AND s.state <> p.target_state
)
)
JOIN sor_off ON s2.offs_id = s.offs_id s2
AND s2.con_date > s.con_date
AND s2.state = p.target_state
GROUP BY s.offs_id
;
The only difference between this and the previous solution is the last join, in other words, the 3 lines of code just before the GROUP BY clause.
-
Find the Oracle data source...
I inherited a ColdFusion 10 app with a backend Oracle 11g; Windows Server. I am especially a DBA and not an expert in ColdFusion. In the application code, they have the hardcoded data source. In other words, when I move to Test I have to change the source data, load the modules and test. After a successful test, I need to change the data source, once again, to download and the promoted to production. I seem to remember in the old application, I used to support, the code was generic and the data source depends on what server you were lit; If the development, testing or production, you don't have to worry. I don't remember how it was done. What would be the best way to eliminate this hard coding and make it more automated? I know I'm probably missing something, but you were all very helpful to me in the last few weeks, so I hope that he is not a stupid question. Thank you.
I do not have Admin CF
You can specify that? Do you mean that you do not have access to the CF Admin?
Not having access to the CF Admin, I'm not sure you can do something differently as you are now., unless you're writing a logic to examine the server host name or the domain name of the site and set the source of data accordingly.
If you can access the CF Admin, create two data sources: one for production and one for testing. Then in application.cfc, you can write logic to examine the server host name or the domain name and indicate 'this.datasource' to whatever datasource is appropriate.
-Carl V.
-
Manual update and find the new updates
To be clear, I have a computer that I can not move physically from a remote location where I have a fixed phone only and do not want to tie this line of long download times. That's why I need to have a solution where I can download with Internet high speed in one place and transport the disk or thumb drive to my remote location for installation or updates.where can I find the new updates for photoshop CC. i.e 14.01? -
Where can I find the oracle.adf.view.faces.model.UploadedFile
Using JDeveloper 11.1.1.4.0
Where can I find the jar containing the oracle.adf.view.faces.model.UploadedFile, or has she been depricated? The trinidad version changes the name of file, eliminating the way she. I hope that the version of Oracle does not. If the Oracle version is not available, is there a way to keep the full path in the version of the Trinity?
Thank you
TroyI've written a series of blog on file handles lately. Part 2 http://wp.me/pcBZk-bi has a working example.
Timo
-
Find the ORACLE of OS binary version
Hello
I want to know the binary Oracle version/version of the operating system itself.
Background: I am preparing steps for the upgrade of my customer base. After the installation of the oracle binaries, I need to check the version of OS database for confirmation. But I'm not able to find the command for this requirement.
Please help me.
Thank youYou really don't know where 'oracle' binary file?
CD $ORACLE_HOME/bin
Oracle strings $ | grep NLSRTL
Maybe you are looking for
-
Why say iCloud "download items" when nothing new appeared?
I bought more iCloud storage so that could import the pictures lost; Mac and iPhone say "download items", but nothing new appears. My app Photo on Mac says that he had been waiting for the import of 15,000 pictures that my sotarge was full. I bough
-
email accounts + updated column on the page of the options not available
Hello, sorry to ask this, but I can't find a similar problem on the community forum: I tried to change the look of my Thunderbird and switched in Vertical mode, now all the options in the view > page layout are empty, no way to change it back... Seco
-
How to transfer large files to the flash drive
Is there a way fast yo transfer a big file (53 gb) on a flash drive. Copy / paste seems to take hours and hours
-
I can play clash of Clans in my HP laptop?
I used to have an iPhone but something has happened to it and no I have downloaded all my stuff in my laptop but I want to know if I can play the apps that I used to have on this laptop.
-
15 - G023CL: reception system disabled code 79736990 after hard reboot
I can't boot my laptop from hard reboot, removed the battery etc. Password screen appears, but indicates the invalid password, I have checked and rechecked. Then I get the code of disabled 79736990 and blocking. I installed linux mint 17 instead of t