Trying to create a Dimension returns ORA-36830 Error.
Hi All,
I am running OLAP on 11.1.0.7 DB Instance on AIX 6.1. Interaction is performed via AWM 11.1.0.7B.
I have created a user 'OLAPAW' and assigned all privileges as per OLAP Users Guide but for some unknown reason receive the following error when trying to create a Dimension :
Your metadata changes have been saved, with the following errors, CREATE OR REPLACE VIEW "OLAPAW"."BRAND_VIEW" AS
ORA-36830: Object OLAPAW.BRAND does not exist
The role 'OLAP_USER' is already defined as a default role for 'OLAPAW' user.
Regards,
Harry.
In addition to granting role OLAP_USER, can you confirm if you also have:
create session, create dimension, create materialized view, advisor, olap_xs_admin
Similar Messages
-
Trying to create package and do not understand error message
What is wrong with this statement. Its say ASH411APPROVALEMAIL_PKG is not declared. I am trying to create it. Whats wrong?
ERROR MESSAGE
I get the following error.
Error at line 1: PLS-00201: IDENTIFIER 'ASH411APPROVALEMAIL_PKG' must be declared1. CREATE OR REPLACE PACKAGE BODY ASH411APPROVALEMAIL_PKG
2. AS
3. PROCEDURE ASH411APPROVALEMAIL_async (P_ATS_NO NUMBER
CODE
CREATE OR REPLACE PACKAGE BODY ASH411APPROVALEMAIL_PKG
AS
PROCEDURE ASH411APPROVALEMAIL_async (P_ATS_NO NUMBER)
AS
BEGIN
DBMS_SCHEDULER.define_program_argument (program_name => 'ASH411APPROVALEMAIL',
argument_position => 1,
argument_name => 'P_ATS_NO',
argument_type => 'NUMBER'
--,DEFAULT_VALUE => whatever_value
DBMS_SCHEDULER.ENABLE (NAME => 'ASH411APPROVALEMAIL');
DBMS_SCHEDULER.create_job (job_name => 'ASH411APPROVALEMAIL_JOBNAME'
|| P_ATS_NO,
program_name => 'ASH411APPROVALEMAIL',
enabled => TRUE,
comments => 'Comments'
EXCEPTION
WHEN NO_DATA_FOUND THEN
null;
END ASH411APPROVALEMAIL_async;
end ASH411APPROVALEMAIL_PKG;Hi, Howard,
csphard wrote:
Now when I go back and create the package again with the procedures it say package body created but does not
display anything."Package body created" is all it ever says (unless there's an error message).
How do I see the procedures I just created when I ran the package again with the procedures?If you want to see the source code, look at the CREATE PACKAGE BODY command in the script you just ran, or query the data dictionary view user_source:
SELECT text
FROM user_source
WHERE name = 'ASH411APPROVALEMAIL_PKG'
AND type = 'PACKAGE BODY'
ORDER BY line
; -
Oracle query on dblinked SQL Server tables returns ORA-00904 error
Hi,
I have created a dblink to a SQL Server database from Oracle using Generic Connectivity.
The following query returns ORA-00904 Invalid Identifier error in the WHERE clause (tblEmp.Empno)
SELECT "EmpNo","EmpName", "DeptName"
FROM tblEmp@sqlserver,
tblDept@sqlserver
WHERE tblDept.DeptNo = tblEmp.Empno
I had to enclose the column names in double quotes due to case sensitivitiy of the columns, but I can't do the
same for the WHERE clause.
1) So, how do I fix this error ?
2) Also how do I include Deptno column with table alias in the columns list?
(Deptno is ambiguous in Emp and Dept tables)
Regards,
SamAlex
Because using the aliases all the time can become annoying and lead to disparate standards when used by multiple developers. For a one-off query I would go with aliases in the query but if the linked tables are going to be interrogated extensively I would prefer to create vanilla views of the underlying tables so that the aliases aren't necessary.
Just my opinion, it feels a bit cleaner to do it this way - you only do the work once in creating the view and then you don't need to worry about the case sensitivity of the linked database. You can also refer to the source in the name of the view so you don't have to think about different source databases with the same table names.
Cheers
Ben -
Creating database problem with ORA-01519: error while processing file '' ne
Dear all,
I am having rough time with creating database manually. can anyone help me with the following errors.
ALERT LOGFILE:-
Sun May 31 12:00:39 2009
Errors in file d:\oracle\product\10.1.0\admin\oracle5\udump\oracle5_ora_3444.trc:
ORA-01501: CREATE DATABASE failed
ORA-01519: error while processing file '%ORACLE_HOME%\RDBMS\ADMIN\SQL.BSQ' near line 5744
ORA-00604: error occurred at recursive SQL level 1
ORA-01119: error in creating database file 'D:\oracle\product\10.1.0\oradata\ORACLE5 \datafile\undotbs1.dbf'
ORA-27040: file create error, unable to create file
OSD-04002: unable to open file
O/S-Error: (OS 3) The system cannot find the path specified.
Error 1519 happened during db open, shutting down database
USER: terminating instance due to error 1519
Sun May 31 12:00:39 2009
Errors in file d:\oracle\product\10.1.0\admin\oracle5\bdump\oracle5_reco_3416.trc:
ORA-01519: error while processing file '' near line
CREATE DATABASE SCRIPT:-
create database ORACLE5
user sys identified by bala
user system identified by bala
logfile
group 1 ('D:\oracle\product\10.1.0\oradata\ORACLE5\logfile\redo01.log') SIZE 50M,
group 2 ('D:\oracle\product\10.1.0\oradata\ORACLE5\logfile\redo02.log') SIZE 50M,
group 3 ('D:\oracle\product\10.1.0\oradata\ORACLE5\logfile\redo03.log') SIZE 50M
maxlogfiles 5
maxlogmembers 5
maxloghistory 1
maxdatafiles 50
maxinstances 1
datafile 'D:\oracle\product\10.1.0\oradata\ORACLE5\datafile\system01.dbf' size 200m autoextend on maxsize unlimited extent management local
undo tablespace UNDOTBS1 datafile 'D:\oracle\product\10.1.0\oradata\ORACLE5 \datafile\undotbs1.dbf' size 10m autoextend on maxsize unlimited
sysaux datafile 'D:\oracle\product\10.1.0\oradata\ORACLE5\datafile\sysaux01.dbf' size 100m autoextend on maxsize unlimited
default temporary tablespace temp tempfile 'D:\oracle\product\10.1.0\oradata\ORACLE5 \datafile\temp01.dbf' size 10m autoextend on maxsize unlimited
character set US7ASCII
NATIONAL CHARACTER SET AL16UTF16
INIT.ORA FILE:-
# Copyright (c) 1991, 2001, 2002 by Oracle Corporation
# Archive
log_archive_format=ARC%S_%R.%T
# Cache and I/O
db_block_size=8192
db_cache_size=25165824
db_file_multiblock_read_count=16
# Cursors and Library Cache
open_cursors=300
# Database Identification
db_domain=""
db_name=oracle5
# Diagnostics and Statistics
background_dump_dest=D:\oracle\product\10.1.0\admin\oracle5\bdump
core_dump_dest=D:\oracle\product\10.1.0\admin\oracle5\cdump
user_dump_dest=D:\oracle\product\10.1.0\admin\oracle5\udump
# File Configuration
#db_create_file_dest=D:\oracle\product\10.1.0\oradata
db_recovery_file_dest=D:\oracle\product\10.1.0\flash_recovery_area
db_recovery_file_dest_size=2147483648
# Job Queues
job_queue_processes=10
# Miscellaneous
compatible=10.1.0.2.0
# Pools
java_pool_size=50331648
large_pool_size=8388608
shared_pool_size=83886080
# Processes and Sessions
processes=150
# Security and Auditing
remote_login_passwordfile=EXCLUSIVE
# Shared Server
dispatchers="(PROTOCOL=TCP) (SERVICE=oracle5XDB)"
# Sort, Hash Joins, Bitmap Indexes
pga_aggregate_target=25165824
sort_area_size=65536
# System Managed Undo and Rollback Segments
undo_management=AUTO
undo_tablespace=UNDOTBS1
control_files=("D:\ORACLE\PRODUCT\10.1.0\ORADATA\ORACLE5\CONTROLFILE\control01.CTL", "D:\ORACLE\PRODUCT\10.1.0\FLASH_RECOVERY_AREA\ORACLE5\CONTROLFILE\control02.CTL")Hi,
undo tablespace UNDOTBS1 datafile 'D:\oracle\product\10.1.0\oradata\ORACLE5 \datafile\undotbs1.dbf' size 10m autoextend on maxsize unlimited
After ORACLE5 there is a space character. Typo? Create proper directory or delete this character.
Bartek -
I have a script that calls an output file and reads it into a clob. this portion seems to work fine. I next try to do a XMLPARSER.parseClob(v_parser, w2_data_clob);, but I get the following error:
ORA-20100: Error occurred while parsing: Expected 'EOF'.
I am attaching script and output file data. Any and all help is greatly appreciated:
SET SERVEROUTPUT ON SIZE 100000;
SET LINESIZE 1000;
SET DEFINE OFF;
DECLARE
file_handle utl_file.FILE_TYPE;
eof boolean := FALSE;
retrieved_buffer VARCHAR2(2000);
dir_name VARCHAR2(240) := cfa_lookup.meaning('APP_BASEPATH','APPLCSF') || '/out';
file_name VARCHAR2(40) := 'o36841443.xml';
w2_data_clob CLOB;
w2_data_clob_out CLOB;
v_loop_counter INTEGER := 0;
v_parser xmlparser.parser;
v_document xmldom.DOMDocument;
v_length INTEGER := 0;
v_clob_length INTEGER := 0;
v_nodelist xmldom.DOMNodeList;
v_node xmldom.DOMNode;
v_new_node xmldom.DOMNode;
v_parent_node xmldom.DOMNode;
v_record_node XMLDOM.DOMNode;
avalue xmldom.DOMNode;
v_new_element xmldom.DOMElement;
v_new_element_node xmldom.DOMNode;
v_new_text xmldom.DOMText;
v_new_text_node xmldom.DOMNode;
v_employee_id INTEGER;
v_employer_name hr_organization_units.name%TYPE;
v_address_line_1 hr_locations.address_line_1%TYPE;
v_address_line_2 hr_locations.address_line_2%TYPE;
v_address_line_3 hr_locations.address_line_3%TYPE;
v_town_or_city hr_locations.town_or_city%TYPE;
v_region_2 hr_locations.region_2%TYPE;
v_postal_code hr_locations.postal_code%TYPE;
v_status INTEGER;
v_bytes_remaining INTEGER;
v_current_offset INTEGER;
v_next_lf_offset INTEGER;
v_X_offset INTEGER DEFAULT 1;
v_bytes_to_read INTEGER;
v_end_of_clob BOOLEAN;
v_line_number INTEGER;
v_line VARCHAR2(2000);
v_bytes_remaining_g_emp INTEGER;
v_current_offset_g_emp INTEGER;
v_next_offset_g_emp INTEGER;
v_bytes_to_read_g_emp INTEGER;
v_end_of_g_emp BOOLEAN;
v_amount NUMBER DEFAULT 32000;
x VARCHAR2(32760);
v_lf INTEGER;
e_line_too_long EXCEPTION;
BEGIN
DBMS_OUTPUT.PUT_LINE ('Begin process');
file_handle := utl_file.fopen(dir_name, file_name, 'r');
IF utl_file.is_open(file_handle) THEN
DBMS_OUTPUT.PUT_LINE ('File is open');
END IF;
BEGIN
-- Copy w2 xml data file to CLOB
dbms_lob.createtemporary(w2_data_clob,true,dbms_lob.session);
DBMS_LOB.OPEN(w2_data_clob, DBMS_LOB.LOB_READWRITE);
v_clob_length := DBMS_LOB.GETLENGTH(w2_data_clob);
BEGIN
LOOP
utl_file.get_line(file_handle, retrieved_buffer);
IF NVL(lENGTH(retrieved_buffer),-1) <> -1 THEN
v_loop_counter := v_loop_counter + 1;
-- retrieved_buffer := retrieved_buffer || chr(10);
DBMS_OUTPUT.put_line(v_loop_counter||' '||NVL(LENGTH(RTRIM(retrieved_buffer)),-1)||' ' ||ASCII(SUBSTR(RTRIM(retrieved_buffer),-1,1))||' '||rtrim(retrieved_buffer));
DBMS_LOB.WRITEAPPEND(w2_data_clob, LENGTH(RTRIM(retrieved_buffer)), RTRIM(retrieved_buffer) );
ELSE
DBMS_OUTPUT.put_line('retrieved_buffer IS NULL');
-- DBMS_LOB.WRITEAPPEND(w2_data_clob, LENGTH(1), ASCII(CHR(13)) );
END if;
END LOOP;
EXCEPTION
WHEN NO_DATA_FOUND THEN
DBMS_OUTPUT.PUT_LINE ('last line read: '||retrieved_buffer);
DBMS_OUTPUT.PUT_LINE ('no more data in loop: '||SQLERRM);
-- DBMS_LOB.WRITEAPPEN(w2_data_clob, 1,CHR(10));
-- DBMS_OUTPUT.put_line(chr(13));
DBMS_LOB.CLOSE(w2_data_clob);
WHEN OTHERS THEN
NULL;
DBMS_OUTPUT.PUT_LINE ('ERROR in loop: '||SQLERRM);
END;
v_clob_length := DBMS_LOB.GETLENGTH(w2_data_clob);
DBMS_OUTPUT.PUT_LINE ('v_clob_length: '||v_clob_length);
UTL_FILE.FCLOSE (file_handle);
EXCEPTION
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE ('ERROR...'||SQLERRM);
END;
DBMS_OUTPUT.PUT_LINE ('last line read: '||retrieved_buffer);
DBMS_OUTPUT.PUT_LINE ('Number of lines written to CLOB: '|| v_loop_counter);
v_parser := XMLPARSER.newParser;
XMLPARSER.setValidationMode(v_parser, FALSE);
DBMS_OUTPUT.PUT_LINE ('10');
XMLPARSER.parseClob(v_parser, w2_data_clob);
DBMS_OUTPUT.PUT_LINE ('20');
v_document := XMLPARSER.getDocument(v_parser);
DBMS_OUTPUT.PUT_LINE ('30');
utl_file.fclose(file_handle);
DBMS_OUTPUT.PUT_LINE('Process Complete');
EXCEPTION
WHEN UTL_FILE.INVALID_PATH
THEN DBMS_OUTPUT.PUT_LINE ('invalid_path');
WHEN UTL_FILE.INVALID_MODE
THEN DBMS_OUTPUT.PUT_LINE ('invalid_mode');
WHEN UTL_FILE.INVALID_FILEHANDLE
THEN DBMS_OUTPUT.PUT_LINE ('invalid_filehandle');
WHEN UTL_FILE.INVALID_OPERATION
THEN DBMS_OUTPUT.PUT_LINE('invalid_operation');
WHEN UTL_FILE.READ_ERROR
THEN DBMS_OUTPUT.PUT_LINE('read_error');
WHEN UTL_FILE.WRITE_ERROR
THEN DBMS_OUTPUT.PUT_LINE ('write_error');
WHEN UTL_FILE.INTERNAL_ERROR
THEN DBMS_OUTPUT.PUT_LINE ('internal_error');
WHEN OTHERS
THEN dbms_output.put_line(SQLERRM);
END;
<Version_Number> Version 1.1
</Version_Number>
<xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi">
<xapi:request>
<xapi:delivery>
<xapi:filesystem output="/u100/applcsf/dcfap/log/o0285647.tmp" />
</xapi:delivery>
<xapi:document output-type="pdf">
<xapi:template type="pdf" location="${templateName1}">
<xapi:data>
<w2>
<control_number>993536284</control_number>
<federal_ein>54-1234567</federal_ein>
<employer_name>Charles D Guf</employer_name>
<employer_address>Chicken House/Rutherford Crossing FSU
176 Monket St
Winchester VA 22603</employer_address>
<ssn>213-99-9999</ssn>
<emp_name>Darnell </emp_name>
<last_name>Simpson</last_name>
<emp_suffix></emp_suffix>
<employee_address>3981 Water Lane
Winchester VA 22602</employee_address>
<wages_tips_compensation>14299.41</wages_tips_compensation>
<fit_withheld>464.93</fit_withheld>
<ss_wages>14949.41</ss_wages>
<ss_withheld>926.87</ss_withheld>
<med_wages>14949.41</med_wages>
<med_withheld>216.75</med_withheld>
<ss_tips></ss_tips>
<allocated_tips></allocated_tips>
<eic_payment></eic_payment>
<dependent_care></dependent_care>
<non_qual_plan></non_qual_plan>
<stat_employee>N</stat_employee>
<retirement_plan>Y</retirement_plan>
<sick_pay>N</sick_pay>
<box14_codea></box14_codea>
<box14_meaninga></box14_meaninga>
<box14_codeb></box14_codeb>
<box14_meaningb></box14_meaningb>
<box14_codec></box14_codec>
<box14_meaningc></box14_meaningc>
<box12_codea>D</box12_codea>
<box12_meaninga>650</box12_meaninga>
<box12_codeb></box12_codeb>
<box12_meaningb></box12_meaningb>
<box12_codec></box12_codec>
<box12_meaningc></box12_meaningc>
<box12_coded></box12_coded>
<box12_meaningd></box12_meaningd>
<state1_code>VA</state1_code>
<state1_ein>30-541252257F-001</state1_ein>
<state1_wages> 14299.41</state1_wages>
<state1_tax> 388.49</state1_tax>
<local1_wages></local1_wages>
<local1_tax></local1_tax>
<locality1></locality1>
<state2_code></state2_code>
<state2_ein></state2_ein>
<state2_wages></state2_wages>
<state2_tax></state2_tax>
<local2_wages></local2_wages>
<local2_tax></local2_tax>
<locality2></locality2>
<year>2008</year>
<amended></amended>
<amended_date></amended_date>
<print_instruction>N</print_instruction>
</w2>
</xapi:data>
</xapi:template>
<xapi:template type="pdf" location="${templateName2}">
<xapi:data />
</xapi:template>
</xapi:document>
</xapi:request>
</xapi:requestset>Well thats the problem - the parser is parsng the clob and is not finding valid XML. It will succeed with
<Version_Number> Version 1.1
</Version_Number>
because, although small its valid XML.
Im surprised that is the seeded XML from the HRMS team. Have you tried something like SQLDeveloper to look at the contents of the CLOB? Just to ensure your plsql is pulling all of the data out?
If everything else checks out, I would get an SR logged with Payroll (HRMS) - this is not a BIP issue per se but invalid XML from the HR dev team.
Regards
tim -
Error during SP application.'TP CONNECT SID ' returns ORA-03114 error.
Hi All,
Last week we were applying an Add-On SAPK-510AGINAIN. It was running in
phase IMPORT_PROPER for more than 10 hours without any update in logs.
So I went into SM50 cancelled the work processess. From then when I continue the Add-on installation, I get an error 'TP_CANNOT_CONNECT_TO_SYSTEM' and tp return code 230. When I see
the SLOG, it says R3trans cannot create a process. When I tried
doing 'tp connect PI7 pf=<profile name>, I get a error 'ORA-03114- NOt
connected to ORACLE' and also some SQL Query with ddntt table and few entries.
I also did a DBCHECK, the ABAP Dictionary is consistent with the
Database.Also I suspect the nametab entries should have been
inconsistent state when I killed the work process manually..
Regards
Thilip KumarHi Juan,
Oracle did not go down during SP application.. R3trans -d works fine and also the Transport tool tp check also is fine.. I have even upgraded the kernel to the latest level. STMS is configured for Single system landscape and it is also very well fine..
Please see the output of 'tp connect PIX pf="<TP_PROFILE_>"
TRACE-INFO: 337: [dev trc ,00000] SELECT VERSION, UUID, CRTIMESTMP, ABTIMESTMP, DYTIMESTMP, FLDCNT, TABLENGTH, KEYCNT, KEYLENGTH, CLIE\
TRACE-INFO: 338: 30 0.356722
TRACE-INFO: 339: [dev trc ,00000] NTPOS, TABTYPE, TABFORM, REFNAME, HFLAG, BUFSTATE, BUFPARM, ALIGN, POINTERLG, UNICODELG, COMPCNT, LE\
TRACE-INFO: 340: 27 0.356749
TRACE-INFO: 341: [dev trc ,00000] AFCNT FROM "DDNTT" WHERE TABNAME = :A0; 20 0.356769
TRACE-INFO: 342: [dbntab ,01003] ***LOG BY4=>sql error 3114 performing SEL on table DDNTT [dbntab#6 @ 10038]
TRACE-INFO: 343: 38 0.356807
TRACE-INFO: 344: [dbntab ,01003] ***LOG BY0=>ORA-03114: not connected to ORACLE [dbntab#6 @ 10038]
TRACE-INFO: 345: 31 0.356838
TRACE-INFO: 346: [dev trc ,00000] OCI-call failed with -1=OCI_ERROR 299 0.357137
TRACE-INFO: 347: [dev trc ,00000] SQL error 3114: 'ORA-03114: not connected to ORACLE' 24 0.357161
TRACE-INFO: 348: [dbsloci. ,00000] *** ERROR => Error 3114 in stmt_fetch() from oci_execute_stmt(), orpc=1
TRACE-INFO: 349: 35 0.357196
TRACE-INFO: 350: [dbsloci. ,00000] *** ERROR => ORA-3114 occurred when executing SQL stmt (parse error offset=0)
TRACE-INFO: 351: 33 0.357229
TRACE-INFO: 352: [dev trc ,00000] sc_p=0x110cc4770,no=3,idc_p=0x110cdd560,con=0,act=1,slen=238,smax=256,#vars=1,stmt=0x110fe94e8,table=DDNTT
TRACE-INFO: 353: 34 0.357263
TRACE-INFO: 354: [dev trc ,00000] SELECT VERSION, UUID, CRTIMESTMP, ABTIMESTMP, DYTIMESTMP, FLDCNT, TABLENGTH, KEYCNT, KEYLENGTH, CLIE\
TRACE-INFO: 355: 31 0.357294
TRACE-INFO: 356: [dev trc ,00000] NTPOS, TABTYPE, TABFORM, REFNAME, HFLAG, BUFSTATE, BUFPARM, ALIGN, POINTERLG, UNICODELG, COMPCNT, LE\
TRACE-INFO: 357: 30 0.357324
TRACE-INFO: 358: [dev trc ,00000] AFCNT FROM "DDNTT" WHERE TABNAME = :A0; 20 0.357344
TRACE-INFO: 359: [dev trc ,00000] sc_p=0x110cc4770,no=3,idc_p=0x110cdd560,con=0,act=1,slen=238,smax=256,#vars=1,stmt=0x110fe94e8,table=DDNTT
TRACE-INFO: 360: 98 0.357442
TRACE-INFO: 361: [dev trc ,00000] prep=0,lit=0,nsql=0,lobret=0,#exec=1,dbcnt=0,upsh_p=(nil),ocistmth_p=0x110fe9ec0
TRACE-INFO: 362: 33 0.357475
TRACE-INFO: 363: [dev trc ,00000] IN : cols=1,rmax=1,xcnt=0,rpc=0,rowi=0,rtot=0,upto=4294967295,rsize=60,vmax=32,bound=1,iobuf_p=0x110fb1468,vda_p=0x110feb8c8
TRACE-INFO: 364: 34 0.357509
TRACE-INFO: 365: [dev trc ,00000] lobs=0,lmax=0,lpcnt=0,larr=(nil),lcurr_p=(nil),rret=0
TRACE-INFO: 366: 31 0.357540
TRACE-INFO: 367: [dev trc ,00000] OUT: cols=21,rmax=1,xcnt=1,rpc=1,rowi=0,rtot=1,upto=4294967295,rsize=218,vmax=32,bound=1,iobuf_p=0x110e0d4e8,vda_p=0x110fec028
TRACE-INFO: 368: 34 0.357574
TRACE-INFO: 369: [dev trc ,00000] lobs=0,lmax=0,lpcnt=0,larr=(nil),lcurr_p=(nil),rret=0
TRACE-INFO: 370: 31 0.357605
TRACE-INFO: 371: [dev trc ,00000] SELECT VERSION, UUID, CRTIMESTMP, ABTIMESTMP, DYTIMESTMP, FLDCNT, TABLENGTH, KEYCNT, KEYLENGTH, CLIE\
TRACE-INFO: 372: 30 0.357635
TRACE-INFO: 373: [dev trc ,00000] NTPOS, TABTYPE, TABFORM, REFNAME, HFLAG, BUFSTATE, BUFPARM, ALIGN, POINTERLG, UNICODELG, COMPCNT, LE\
TRACE-INFO: 374: 31 0.357666
TRACE-INFO: 375: [dev trc ,00000] AFCNT FROM "DDNTT" WHERE TABNAME = :A0; 20 0.357686
TRACE-INFO: 376: [dbntab ,01003] ***LOG BY4=>sql error 3114 performing SEL on table DDNTT [dbntab#6 @ 10038]
TRACE-INFO: 377: 38 0.357724
Also the are no dumps as well as system logs for the issue..
Regards
Thilip Kumar
Edited by: Thilip Kumar on Dec 23, 2008 3:44 PM
Edited by: Thilip Kumar on Dec 23, 2008 3:45 PM
Edited by: Thilip Kumar on Dec 23, 2008 3:46 PM -
Create materialized view with ora-12054 error
Oracle 10g R2 on AIX 5.3L
I create a script (with help of EM) for a materilaized view
CREATE MATERIALIZED VIEW "BAANDB"."R2_MV"
TABLESPACE "USERS" NOLOGGING STORAGE ( INITIAL 128K) USING INDEX TABLESPACE "BAANIDX" STORAGE ( INITIAL 256K)
REFRESH FORCE ON COMMIT
ENABLE QUERY REWRITE AS
SELECT CM.ROWID c_rid, PC.ROWID p_rid, CM."T$CWOC", "T$EMNO", CM."T$NAMA", CM."T$EDTE", PC."T$PERI", PC."T$QUAN", PC."T$YEAR", PC."T$RGDT" From BAANDB.TTPPPC235201 PC RIGHT OUTER JOIN BAANDB.TTCCOM001201 CM Using (T$EMNO)
but I got error
ORA-12054: cannot set the ON COMMIT refresh attribute for the materialized view
acooding to the oerr
// *Cause: The materialized view did not satisfy conditions for refresh at
// commit time.
// *Action: Specify only valid options.
what dose it mean? both my master tables are not IOT and are locale ones. It seems that only changing to ON DEMAND works. If I use the "REFRESH FORCE START ..NEXT", it also failed.
I have created the materalized view logs with rowid on each master table. I think my script met every prequirement of ON COMMIT.
table owner has "on commit refresh" privilegeAfter googling on line, someone mentioned that for "ON COMMIT" on join tables, we have to use th old OUTER JOINT syntax (+) on WHERE. The new "outer joint" in FROM clause won't work.
I tested it, it seemed to be true. -
Create materialized view get ora-00998 error cause by subquery
hi all,
my create statement as follow,
create materialized view MV_DM_DIM_DEALER01
Build deferred
Refresh complete
ON DEMAND
Enable query rewrite
as
select a.dealer_no,a.sk_period from DM_DIM_DEALER a
where A.SK_PERIOD=201210 and a.dealer_no in (select dealer_No from dm00_fav_dealer)
ORA-00998: must name this expression with a column alias
so what's the problem?
thx all>
my create statement as follow,
create materialized view MV_DM_DIM_DEALER01
Build deferred
Refresh complete
ON DEMAND
Enable query rewrite
as
select a.dealer_no,a.sk_period from DM_DIM_DEALER a
where A.SK_PERIOD=201210 and a.dealer_no in (select dealer_No from dm00_fav_dealer)
ORA-00998: must name this expression with a column alias
so what's the problem?
>
Well since the error is 'ORA-00998: must name this expression with a column alias' you might try naming your expressions with aliases
select a.dealer_no dealer_no,a.sk_period sk_period from DM_DIM_DEALER a -
Error while creating user dimension in awm
Hi,
I am new to awm. I am trying to create a dimension in my workspace, but i receive an error after i click 'create'. When i check the detailed error, i think its something to do with the OLAP_TABLE. Please find the error message below,
===================================================
Your metadata changes have been saved, with the following errors
Invalid Metadata Objects:
Invalid Object "TAN.TICKERSYMBOL": "CREATE OR REPLACE VIEW "TAN"."TICKERSYMBOL_VIEW" AS SELECT "DIM_KEY", "LEVEL_NAME", "MEMBER_TYPE", "DIM_ORDER", "LONG_DESCRIPTION", "SHORT_DESCRIPTION" FROM TABLE(CUBE_TABLE('"TAN"."TICKERSYMBOL"') )
ORA-00902: invalid datatype "
====================================================
Please advise.Which version of the database (not AWM!) are you using? (e.g. 11.2.0.3)
My guess is that there is a problem with your OLAP installation and that you will need to open a service request to get it resolved. But the following may help us to track down the problem.
alter session set events='902 trace name errorstack';
alter session set tracefile_identifier=OLAP;
SELECT
"DIM_KEY",
"LEVEL_NAME",
"MEMBER_TYPE",
"DIM_ORDER",
"LONG_DESCRIPTION",
"SHORT_DESCRIPTION"
FROM TABLE(CUBE_TABLE('"TAN"."TICKERSYMBOL"') )
Once you have run this (in a single session), look for a trace file containing the word OLAP in its file name. It should contain a stack trace that will tell us where the ORA-00902 is being raised. The trace file will be long, but the interesting part begins like this:
----- Call Stack Trace -----
calling call entry argument values in hex
location type point (? means dubious value)
skdstdst()+29 call kgdsdst() 7FFFADE14590 ? 000000000 ?
7FFFADDF6E50 ? 7FFFADDF6F68 ?
7FFFADE14C48 ? 7FFFADE14540 ?
ksedst()+112 call skdstdst() 7FFFADE14590 ? 000000000 ?
If you can find this, please copy it in reply. -
ORA-20001 Error when creating a new application
Hi,
I am trying to create a new application of an existing table in the database and I get the following error. The application is created using the wizard (app type Database, from scratch, Report and Form page)
ORA-20001: Unable to create modules. ORA-20001: Create pages error. ORA-20001: Unable to create form page. ORA-20001: Error page=2 item="P2_NON_ORACLE_EMPLOYEE_SPEAKER" id="1975288532127294112" ORA-20001: Error page=2 item="P2_NON_ORACLE_EMPLOYEE_SPEAKER" id="1975288532127294112" has same name as existing application-level item. ORA-0000: normal, successful completion
The table I am creating the app on is defined like this:
CREATE TABLE "TABLE_1"
( "ID" NUMBER,
"SESSION_EXTERNAL_PAPER" VARCHAR2(30),
"OWNER_CFP_SUBMITTER1_FULL_NA" VARCHAR2(255),
"OWNER_CFP_SUBMITTER1_COMPANY" VARCHAR2(255),
"STATUS" VARCHAR2(30),
"SESSION_ID" NUMBER,
"TITLE" VARCHAR2(255),
"ABSTRACT" VARCHAR2(4000),
"SESSION_TYPE" VARCHAR2(30),
"SESSION_CATEGORY" VARCHAR2(30),
"STREAM" VARCHAR2(30),
"PRIMARY_TRACK" VARCHAR2(255),
"OPTIONAL_TRACK" VARCHAR2(255),
"CROSS_STREAM_TRACK" VARCHAR2(30),
"SUPPORTING_VIDEO" VARCHAR2(4000),
"ATTENDEE_ROLE" VARCHAR2(255),
"TO_RATING" VARCHAR2(30),
"TO_COMMENTS" VARCHAR2(4000),
"COMMENTS" VARCHAR2(4000),
"ORACLE_PARTNERNETWORK" VARCHAR2(30),
"IS_YOUR_OPN_MEMBERSHIP_UNDER_A" VARCHAR2(255),
"ORACLE_PARTNER_TYPE" VARCHAR2(255),
"OPN_MEMBERSHIP_LEVEL" VARCHAR2(30),
"ORACLE_REGION_BASED" VARCHAR2(30),
"ORACLE_VALIDATED_INTEGRATION" VARCHAR2(30),
"HAS_YOUR_COMPANY_ACHIEVED_SPEC" VARCHAR2(4000),
"PLEASE_DESCRIBE_THE_VALUE_OF_O" VARCHAR2(4000),
"INCLUDE_CASE_STUDY" VARCHAR2(30),
"PROVIDE_NAME_OF_THE_CUSTOMER_F" VARCHAR2(255),
"PLEASE_PROVIDE_A_BRIEF_DESCRIP" VARCHAR2(4000),
"NON_ORACLE_EMPLOYEE_SPEAKER1_F" VARCHAR2(255),
"NON_ORACLE_EMPLOYEE_SPEAKER1_C" VARCHAR2(255),
"ORACLE_EMPLOYEE_SPEAKER1_FULL" VARCHAR2(255),
"ORACLE_EMPLOYEE_SPEAKER1_COMPA" VARCHAR2(255),
"NON_ORACLE_EMPLOYEE_SPEAKER2_F" VARCHAR2(255),
"NON_ORACLE_EMPLOYEE_SPEAKER2_C" VARCHAR2(255),
"ORACLE_EMPLOYEE_SPEAKER2_FULL" VARCHAR2(255),
"ORACLE_EMPLOYEE_SPEAKER2_COMPA" VARCHAR2(255),
"NON_ORACLE_EMPLOYEE_SPEAKER3_F" VARCHAR2(255),
"NON_ORACLE_EMPLOYEE_SPEAKER3_C" VARCHAR2(255),
"ORACLE_EMPLOYEE_SPEAKER3_FULL" VARCHAR2(255),
"ORACLE_EMPLOYEE_SPEAKER3_COMPA" VARCHAR2(255),
"NON_ORACLE_EMPLOYEE_SPEAKER4_F" VARCHAR2(255),
"NON_ORACLE_EMPLOYEE_SPEAKER4_C" VARCHAR2(255),
"ORACLE_EMPLOYEE_SPEAKER4_FULL" VARCHAR2(255),
"ORACLE_EMPLOYEE_SPEAKER4_COMPA" VARCHAR2(255),
"CREATED" DATE,
"CREATED_BY" VARCHAR2(50),
"LAST_UPDATE" DATE,
"LAST_UPDATED_BY" VARCHAR2(50),
CONSTRAINT "OOW_PAPER_PK" PRIMARY KEY ("ID") ENABLE
) ;I am using APEX version 4.0.2.00.07
Any idea what could be wrong and what can be done to resolve the problem?
Cheers,
AndyThanks! Never thought of that.
--Andy -
ORA-20001 error when creating Tabular Form or Form and Report
Whenever I try and add a Tabular Form or Form and Report to my application i am getting the following error at the end of the Wizard.
ORA-20001: Unable to create updateable report. ORA-20001: Error creating shortcut id="" ORA-00001: unique constraint (APEX_030200.WWV_FLOW_SHORTCUT_IDX1) violatedIt's not a problem I have seen when building other apps and clearly I have managed to corrupt this application somehow.
I have loaded the problem onto apex.oracle.com for those that have access. The application number is 20325.
Any help would be very much appreciated.
Cheers ShuntThanks! Never thought of that.
--Andy -
While creating PO i am getting an error message as purchase org. not respon
Hi,
After assigning return order type to plant when i am trying to create PO it is giving me error as
"Purchase org. not responsible for plant"
Is it because of some assignment missing?if ,yes than what is a navigation path.
if,no then which assignment is missing.
Regards,
DharmeshHi
Just check In Txn OX17 if your plant is assigned to the Plant.
Regards -
tried to create new profile using Terminal but error message. cannot open in safe mode, instructions are only for windows All my bookmarks are in firefox
I had already tried a reinstall before, but thanks for the suggestion. Starting FF in Safe mode did not help either.
XULRunner is specific to FF. Mostly found discussion about using the code in web pages when I used Google before posting.
When FF went from version 3.6.14 to version 3.6.15 this issue started. Please note the Error message and the version info I just mentioned.
'''"Platform version '1.9.2.15' is not compatible with minVersion > =1.9.2.14 maxVersion < = 1.9.2.14"'''
'''The Platform was revved up from 1.9.2.14 to1.9.2.15'''
I could not find information on: minVersion or maxVersion much less how to change them in XULRunner.
'''''It is definitely a Mozilla FF issue'''''.
Avast sandbox is up to date and works just fine with everything else. More importantly it worked just before the update was installed.
The only reason I bothered with the update is because Mozilla touted it as a security issue and there was NO mention of any known issues with sandbox software. -
ORA-12008: error in materialized view refresh path ;;; PLZ HELP ME
Hi all,
I 'm using Oracle Database 10g Enterprise Edition Release 10.2.0.1.0; I got these errors when I tried to refresh my materialized view ;
ORA-12008: error in materialized view refresh path
ORA-01555: snapshot too old: rollback segment number 5 with name "_SYSSMU5$"
too small
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2255
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2461
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2430
I don't understand what mean these errors and why i got them?
Someone can help me please ?
Thanks
regards,thank you Justin,
I found in my alertDB.log this line ;
Mon Aug 20 03:00:54 2007
ORA-01555 caused by SQL statement below (SQL ID: 64a7sdbbvknta, Query Duration=1021 sec, SCN: 0x0004.4a145344):
Mon Aug 20 03:00:54 2007
INSERT /*+ BYPASS_RECURSIVE_CHECK */ INTO "MANAGEMENT"."MVIEW_COMPUTERS"("ID","WINVERSION","ANTIVIRUS","GUID","INSTALLDT","CONNECTION_TYPE","GROUPID
","QUOVACOUNTRY") SELECT "C"."ID","C"."WINVERSION","C"."ANTIVIRUS","C"."GUID","C"."INSTALLDT","C"."CONNECTIONTYPE","C"."GROUPID","C"."QUOVACOUNTRY"
FROM "MANAGEMENT"."COMPUTERS" "C"
So i execute this query to found the TUNED_UNDORETENTION value ;
SELECT *
FROM V$UNDOSTAT v
WHERE v.MAXQUERYID = '64a7sdbbvknta'
and i have this result :
BEGIN_TIME 20070820 02:53:42
END_TIME 20070820 03:03:42
UNDOTSN 1
UNDOBLKS 51242
TXNCOUNT 5012
MAXQUERYLEN 1060
MAXQUERYID 64a7sdbbvknta
MAXCONCURRENCY 21
UNXPSTEALCNT 0
UNXPBLKRELCNT 0
UNXPBLKREUCNT 0
EXPSTEALCNT 14
EXPBLKRELCNT 51392
EXPBLKREUCNT 0
SSOLDERRCNT 1
NOSPACEERRCNT 0
ACTIVEBLKS 606920
UNEXPIREDBLKS 19896
EXPIREDBLKS 612728
TUNED_UNDORETENTION 1841
I don't know exactly which value i should set my parameter?
Message was edited by:
HAGGAR -
ORA-19112: error raised during evaluation: ... Invalid text
Hi!
I'm using Oracle 10g version 10.2.0.2.0.
If I an element is defined in a XSD file as:
<xs:element name="cEAN">
<xs:annotation>
<xs:documentation>GTIN</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:pattern value="[0-9]{0}|[0-9]{8}|[0-9]{12,14}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>And I have a XML with:
<cEAN/>And other with:
<cEAN>7891515928001</cEAN>And I use a select like this:
SELECT vw.*
FROM tb_Carga tmp,
XMLTABLE(XMLNAMESPACES('http://www.portalfiscal.inf.br/nfe' AS "nfe"),
'/NFe/nfe:infNFe/nfe:det | /nfe:NFe/nfe:infNFe/nfe:det'
PASSING tmp.XMLArquivo
COLUMNS
cEANTrib VARCHAR2(14) PATH 'nfe:prod/nfe:cEANTrib') vwWhy the first XML returns ORA-19112: error raised during evaluation: oracle.xml.parser.v2.XMLParseException: Invalid text '' in element: 'cEAN'?
Is any thing wrong in the XSD?
Thanks,
LucianaTried to figure out the correct regular expression, I think I would now opt for
<xs:pattern value="?|[0-9]{8}|[0-9]{12,14}"/>? matches "nothing/empty", or
[0-9]{8} matches 8 digits, or
[0-9]{12,14} matches from 12 up to 14 digits
...or...
<xs:pattern value="([0-9]{1})?|[0-9]{8}|[0-9]{12,14}"/>[0-9]? matches 1 digit or "nothing/empty", or
[0-9]{8} matches 8 digits, or
[0-9]{12,14} matches from 12 up to 14 digits
Edited by: Marco Gralike on Mar 31, 2011 11:58 PM
Maybe you are looking for
-
How to import BW 3.5 infocube data in to flat files
Hi All, We are on BW 3.5. As per the requirement user wants Info cube data to be dumped in excel sheets. To achieve this we created infospoke in BW, but when i execute this info spoke, it is resulting in short dump stating memory issue, we checked wi
-
BD20 and IDOC_INPUT_ORDCHG
Hi, Just a simple question. For order-change idocs, if i processed it using BD20, does it call the function module IDOC_INPUT_ORDCHG? In the debugging mode, i placed a break-point at the beginning of FM IDOC_INPUT_ORDCHG, it seems like not calling th
-
Do we have to create new tranformations after BI 7 upgrade?
Hi All, Recently we upgraded from 3.5 to BI7, for the datamarts, I created the transformations and DTPs from the update rules (by converting). And for Master Data, there tons of InfoObjects are there to do like that and with lots of routines. Should
-
Hi. I need to set a line editable and chanching its contents, using the FM REUSE_ALV_GRID_DISPLAY. How can i do that? Best regards, Rui
-
My background is no longer black with white. The background is blue so all screens look awful. Sometimes when I would turn it off and on again it would be black again but not any more. Went to AT&T and they said I have to go to Apple store to find ou