Error ORA-20001
HelloI get this error message when I try to run the following query. This application works well on Toad, but causes an error when I run on Apex.
ORA-20001: your query contains alias duplicate names, the queries used for reports require unique alias names
SELECT a.c1,
b.C2,
c.C3,
d.C4,
: P33_item,.
: P33_item,.
e.C5,
SUM (f.column)
A,.
b,
c,
d,
f,
e
WHERE: P33_FROM < = a.END_DATE
AND: P33_TO > = a.START_DATE
AND f.cloumn BETWEEN a.START_DATE
AND a.END_DATE
AND f.column = d.ID
AND d.column = b.column
AND d.column = c.column
AND INSTR (':')
|| : P33_item
|| ':', ':'
|| e.Item
|| ') > 0
AND e.column =: P33_item
AND (IN) e.column
SELECT c0
G
Column WHERE =: P33_BU
AND INSTR (':')
|| : P33_item
|| ':',
':'
|| g.C1
|| ') > 0
AND g.c2 =: P33_item)
A.c1 GROUP,
b.C2,
c.C3,
d.C4,
e.C5
ORDER BY a.c1
user8922341 wrote:
ORA-20001: your query contains alias duplicate names, the queries used for reports require unique alias names
Tried to delete the names of columns of duplication as says it error? ;-)
b.C2,
Van
c.C3,
d.C4,
*: P33_item, *.
*: P33_item, *.
e.C5,
SUM (f.column)
A,.
b,
c,
d,
f,
e
Trent
Tags: Database
Similar Questions
-
error ORA-20001: in the window of the geolocation
When to access addresses, in packed geolocation application, I receive the following error message:
ORA-20001: get_dbms_sql_cursor error ORA-00942: table or view does not exist
Is this a bug in the application packed?
I use apex.oracle.com to test this packaged application...
Also not able to save an area of interest with a polygon
1 error has occurred
- Polygon of area of interest must be drawn on the map. (Go to the error)
Hello
In general, it should work - I have also tested the app on apex.oracle.com.
First question:
from your description, it seems that the packaged application installation did not create all or part required correctly tables.
Can you check (via SQL Workshop) that the tables EBA_SPATIAL_ADDRESSES, EBA_SPATIAL_IMAGES and EBA_SPATIAL_AOI exist...?
If this is not the case, try to remove and reinstall the application. One reason might be that your workspace quota is already maxed out and who
There is simply no space left for the required tables...
Question 2: the steps are:
1) click the icon 'blue' polygon on the map
2) click on the points of the polygon you want to draw
3) click 'Finish' in the lower corner of the map
(4) specify a name for the 'area of interest '.
5) click "Save".
Of course, this also requires the tables to be present...
Hope this helps
Best regards
Carsten-
-
Error ORA-20001 while trying to reset the password of Admin 4.2 Apex
Hello
I had to reset my password admin apex and tried to launch as below mentioned the apxchpwd.sql script, but I got an ORA-20001.
I checked in my console (OEM) the status of the user apex_040200 and status is expired, but not locked...
Any idea of the reason for the error?
This is the result I got while running the script:
Connected to:
Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production
With partitioning, OLAP, Data Mining and Real Application Testing options
SQL > connect sys@mars as sysdba
Enter password: *.
Connected.
SQL > @apxchpwd
Syntax: SET SERVEROUTPUT {ON |} {OFF} [SIZE n]
[[MAST] {WRA [DETERIORATED] |}] WOR [D_WRAPPED] | TRU [NCATED]}]
Enter a lower value for the password for the user of the Application ADMIN Express.
Enter a password for the user ADMIN [] *.
Modified session.
.. .the ADMIN password
declare
*
ERROR on line 1:
ORA-20001: password validation failure
ORA-06512: at line 33 level
Hello
In fact, it seems to be a known issue with Apex 4.2.2 and there is a note in Metalink (support.oracle.com) on this subject:Doc ID 1579712.1
Although it is not documented while the script asks you a new password, you must keep in mind the following:
Password is not consistent with the rules of this site password complexity.
* Password must contain at least one alphabetic character ().
* Password must contain at least one punctuation character ().
* Password must contain at least one uppercase alphabetic character.
* Password must contain at least one alphabetic character tiny. -
Collecting Table statistics get error ORA-20001 and ORA-06512 on 11g
Hi Forum!
I'm trying to collect statistics on a DB 11.2.0.1 for Siebel application.
The script that generates the statistical errors out and I don't know why. So I tried to interview sys.dba_tab_statistics manually, but the event, and then I got an error message:
Select * from sys.dba_tab_statistics
ORA-20001: BIN$ PV5XQQHLSAYJ0KPMEY1MHG == $0 is an invalid identifier
ORA-06512: in "SYS-DBMS_STATS", line 2082
ORA-06512: in "SYS-DBMS_STATS", line 2098
ORA-06512: in "SYS-DBMS_STATS", line 26789
Any ideas?
Edited by: Penky October 10, 2011 14:51Penky wrote:
Note that I have not even the error when you make a right selection * of dba_tab_statistics which I think should work fine, no?It is that:
select * from dba_tab_statistics
or
select * from sys.dba_tab_statistics
It is unusual for a view error SYS, unless it is a specific bug in this version of the database, but I wonder if there are other patterns, such as SYS who have something in their basket (not that anyone should have to be create or drop things in SYS)?
-
Any idea about this error ORA-20001: this post doesn't exist at all.
Hi, I keep getting the error when I try to update of position and work with hr_assignment_api.update_emp_asg_criteria below
Error report:
ORA-20001: invalid Position
This position does not exist, or is not completely in the period of the assignment.
ORA-06512: at "APPS.HR_ASSIGNMENT_API", line 16616
ORA-06512: at line 36
But the id id and job position exists in the system.
But if I use different position combination id id and work it works fine.
One has faced similar problem?Hello
You are visiting l_datetrack_update_mod VARCHAR2 (100): = 'FIXED '; so he's trying to fix the Position of 30-Sep-2011, but there is no such thing as the post on 30-Sep-2011, so it is in error.So, if you give l_datetrack_update_mod VARCHAR2 (100): = 'UPDATE '; Then he will try to fix the Position as on sysdate and it will not work properly.
I hope this helps.
PS - please mark my messages useful/correct if that is so he can help others.
Thank you
Gerard -
Error ORA-20001 when you create a new application
Hello
I am creating a new application of an existing table in the database and I get the following error. The application is created using the Wizard (type of database application, from scratch, report and our page)
ORA-20001: unable to create modules. ORA-20001: create error pages. 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" a same name something like existing at the level of applications. ORA-0000: normal end successfully
The table I created the app on is defined as follows:
I use APEX version 4.0.2.00.07CREATE 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 ) ;
Any idea what could be wrong and what can be done to solve the problem?
See you soon,.
AndyIf you add a synonym for display to the database, the generator must see and allow you to use...
Thank you
Tony Miller
Webster, TXNever argue with a fool. They do you drag down to their level, then beat you with experience.
If you answer this question, please mark the thread as closed and give points where won...
-
Hi, I get this error msg
Internal error in the routine mru: ORA-20001: error in MRU: line = 1, ORA-20001: ORA-20001: current version of the data in the database has changed since the user has launched the process of update. current checksum
I'll try to show a picture of the form in which I can edit and add data
When I use the wizzard that's fine with editing but I cant creat a new element because I insert my primary key and that shoud be done automatically.
New on OK
My PK is the first col1 and col2 second
I got a drop-down list in which I choose an item in col1 to just display items in my form with this value, here is a possible results more
No, I want to change until col4 col2
or add a line with the same col1 col2 different and some values for col3 col4
But if I add a line I want to insert col2 to until col4 (and the PK of col1 shoud be automatically insert in my list of dropwdown I chose before)
I want to col2, a drop-down list
so it all works very well I got all the changes I want, but when I try register or update my changes I got the error above frome
I think the problem is the primary cause key thing I want to choose a part manually but I
to get the new line u uses the line link add but I use rather after my statement select one
Select Union: P62_PNR_VOll, null, null, null from double
to get my first pk automatically of my item in the drop-down list (in my case: P62_PNR_VOLL)
How can I solve this error?
thx for your help
regadrs
FalkHi Falk,
I ask you if there is already data in the table. You said no. :D
If you do not need the data, you can delete it. Otherwise, you will need to change your number sequence from 41 instead of 1.
To change your dialing sequence, you must file the sequence and recreate it. Run these two statements, one at a time.
DROP SEQUENCE "E_BEDARFSTRAEGER_ID_SEQ"
CREATE SEQUENCE "E_BEDARFSTRAEGER_ID_SEQ" MINVALUE 41 MAXVALUE 99999999999999999999999 INCREMENT BY 1 START WITH 1 NOCACHE NOORDER NOCYCLE
Sometimes the trigger can become invalid by doing this, if yes, just run the following again:
ALTER TRIGGER "E_Bedarfstraeger_BI" ENABLE
Andy
-
ORA-20001: System error: procedure sort_segment_order step 40
ORA-20001: System error: procedure sort_segment_order step 40
DECLARE
lc_employee_number per_all_people_f.employee_number%TYPE; -: = "tan_01";
ln_person_id per_all_people_f.person_id%TYPE;
ln_assignment_id per_all_assignments_f.assignment_id%TYPE;
ln_object_ver_number per_all_assignments_f.object_version_number%TYPE;
ln_address_id PER_ADDRESSES. ADDRESS_ID % TYPE;
ln_asg_ovn NUMBER;
ld_per_effective_start_date per_all_people_f.effective_start_date%TYPE;
ld_per_effective_end_date per_all_people_f.effective_end_date%TYPE;
lc_full_name per_all_people_f.full_name%TYPE;
ln_per_comment_id per_all_people_f.comment_id%TYPE;
ln_assignment_sequence per_all_assignments_f.assignment_sequence%TYPE;
lc_assignment_number per_all_assignments_f.assignment_number%TYPE;
lb_name_combination_warning BOOLEAN;
lb_assign_payroll_warning BOOLEAN;
lb_orig_hire_warning BOOLEAN;
-------------------
-Assignment
l_assignment_id NUMBER;
l_effective_date DATE: = NULL;
l_supervisor_id NUMBER;
lb_correction BOOLEAN;
lb_update BOOLEAN;
lb_update_override BOOLEAN;
lb_update_change_insert BOOLEAN;
lc_dt_ud_mode VARCHAR2 (100): = NULL;
l_obj_version_num NUMBER;
l_organization_id NUMBER: = 81;
l_soft_coding_keyflex_id hr_soft_coding_keyflex.soft_coding_keyflex_id%TYPE;
l_concatenated_segments VARCHAR2 (2000);
l_comment_id per_all_assignments_f.comment_id%TYPE;
l_effective_start_date per_all_assignments_f.effective_start_date%TYPE;
l_effective_end_date per_all_assignments_f.effective_end_date%TYPE;
l_no_managers_warning BOOLEAN;
l_other_manager_warning BOOLEAN;
ERROR_MESSAGE VARCHAR2 (4000): = NULL;
current_records NUMBER;
total_records NUMBER;
error_records NUMBER;
l_effective_date_valid NUMBER;
error_message1 VARCHAR2 (4000): = NULL;
v_ledger_id gl_ledgers.ledger_id%type;
v_job_definition_id PER_JOB_DEFINITIONS.job_definition_id%type;
v_position_definition_id per_position_definitions.position_definition_id%type;
v_location_id hr_locations_all.location_id%type;
v_emp_count number: = 0;
-The Variables of the criteria of update for employees Assgment
-- -------------------------------------------------------------------------------
-ln_people_group_id NUMBER: = null; -This will cause the error ORA-20001: System error: procedure step 40
ln_people_group_id NUMBER: = hr_api.g_number; -PEOPLE_GROUP_ID
end;
ln_special_ceiling_step_id PER_ALL_ASSIGNMENTS_F.SPECIAL_CEILING_STEP_ID%TYPE;
lc_group_name VARCHAR2 (30);
ld_effective_start_date PER_ALL_ASSIGNMENTS_F.EFFECTIVE_START_DATE%TYPE;
ld_effective_end_date PER_ALL_ASSIGNMENTS_F.EFFECTIVE_END_DATE%TYPE;
lb_org_now_no_manager_warning BOOLEAN;
lb_other_manager_warning BOOLEAN;
lb_spp_delete_warning BOOLEAN;
lc_entries_changed_warning VARCHAR2 (30);
Entry: HR_ASSIGNMENT_BK3. UPDATE_EMP_ASG_CRITERIA_B 10
hr_api.validate_commit_unit 10
Leave: HR_ASSIGNMENT_BK3. UPDATE_EMP_ASG_CRITERIA_B 20
Enter hr_kflex_utility set_profiles 5
hr_kflex_utility set_profiles 10
hr_kflex_utility set_profiles 20
hr_kflex_utility set_profiles 30
hr_kflex_utility set_profiles 40
hr_kflex_utility set_profiles 50
Leaving hr_kflex_utility set_profiles 100
Enter hr_kflex_utility set_session_date 5
hr_kflex_utility set_session_date 30
Leaving hr_kflex_utility set_session_date 100
Inbound: upd_or_sel_keyflex_comb 10
upd_or_sel_keyflex_comb 20
Inbound: check_ignore_varray 10
Seg3 $Sys_Def$ 101
Inbound: ins_or_sel_keyflex_comb 10
ins_or_sel_keyflex_comb 20
Inbound: check_ignore_varray 10
ins_or_sel_keyflex_comb 30
Inbound: sort_segment_order 10
sort_segment_order 20
sort_segment_order 30
sort_segment_order 40
ins_or_sel_keyflex_comb 100
Leaving upd_or_sel_keyflex_comb 140
-RollBack ORA-20001: System error: sort_segment_order procedure step 40
Cause: The sort_segment_order procedure created a mistake in step 40.
Action: Contact your system administrator citing the sort_segment_order procedure and 40 of the step.
Thank you all,
I found the solution of adding at least one value in the key flexfield: "Flexfield group of people.
Kind regards
-
ORA-20001: GET_BLOCK error. ORA-20001: Execution of the statement was due
Hello
We did an upgrade to 3.0 APEX to APEX 3.2.
When I tried to import an application I got the following error:
ORA-20001: GET_BLOCK error. ORA-20001: Execution of the statement was not successful. ORA-01756: Anfa¼hrungsstrich fehlt EIB Zeichenfolge & lt; pre & gt; Start run immediately "alter session set nls_numeric_characters =" ' | " wwv_flow_api.g_nls_numeric_chars | " ' ; end; & lt; / pre & gt;
I got the same error when I tried to import another APEX 3.2 application.
What I did wrong?
Thank you for your help.
Concerning
SiegwinHi Siegwin,
No, the language should not be a problem...?
Was the file transferred by FTP...? CR information can be a problem here when
Export on Unix/Linux and import on windows (or vice versa). You might consider re-export
He (note not only characters, but also the "File Format" setting) and be careful when
FTP file transfer (ascii / binary mode).If this does not work, you can try the following approach:
Import the file using SQL * Plus - you need to manually adjust space of work-ID and application ID.
at the beginning of the script. You will see the same error in SQL * Plus, but then it is easier to
find the position corrupted in the script and fix.Does that help?
Carsten-
-
Hi all
I write scripts for an Oracle OLM implementation project. Converting data via the API "ota_event_api.create_class", I get the error "ORA-20001: OTA_443321_EVT_OFF_INVALID_ACT: I have looked for help on the forums, but so far I am unable to get any relevant information. On some sites it says that we should pass a value non-zero to 'p_offering_id '. I do the same thing and passing a value to this parameter but I get the same error.
The script is can be to find the attached word file.
Kind regards
Natacha Amal Khan
Dear Natasha
- You must ensure that your class shoud be created under a valid course and offer.
- Further, use Parent_Offering_Id instead of the Offering_Id parameter.
Make those changes and try again, Hope it works
Concerning
Fasquel
-
ORA-20001: you cannot cancel termination that they did not yet end
Hi all
I'm trying to rehire an employee who stopped. This is the API that I use:
declare
date of ld_hr_termination_date: =' 31-DEC-4712;
Start
APPS.hr_ex_employee_api.reverse_terminate_employee
(p_validate = > false - Boolean false by default)
p_person_id = > 1059 - number
, p_actual_termination_date = > ld_hr_termination_date - ld_actual_termination_date - in date
, p_clear_details = > "n" - in varchar2
);
exception
while others then
dbms_output.put_line (' error: ' |) SQLERRM);
end;
Error: ORA-20001: you cannot cancel termination that they did not yet end
I checked in hr.per_all_people_f and the employee is laid off.
I checked in human resources. PER_PERIODS_OF_SERVICE and the ACTUAL_TERMINATION_DATE corresponding to its expiry date in hr.per_all_people_f.
I checked in hr.per_all_assignments_f and has an effective end date that corresponds.
Can you please tell me where I could look at to fix this error.
Thank you
Harsha.
Hello
You will need to move the effective date of the employee for the p_actual_termination_date parameter and not 31-Dec-4712.
Thank you
Mudassir
-
Create_collection_from_query_b; ORA-20104 and ORA-20001
Hi all
First of all:
The APEX Version: Application Express 4.2.1.00.08
SQL-Developer: Version 3.0.04
Oracle: Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
I have an application process, which is expected to generate a collection. If I run this feature in the apex, a collection will be created, but no data.
If I run this in the SQL-Developer, the
As a result:
ORA-20104: create_collection_from_query_b error: ORA-20001: invalid analysis of schema for the current workspace ID
ORA-06512: in "APEX_040200.WWV_FLOW_COLLECTION", line 1878
ORA-06512: in "APEX_040200.WWV_FLOW_COLLECTION", line 1915
Code:
[...]
l_query: = ' select pal.valid_from, pal.valid_till, pa.supplier, Pal.Equipment_Type
of quotation.purchase_agreement pa, quotation.purchase_agree_line pal
IF APEX_COLLECTION. COLLECTION_EXISTS (p_collection_name = > c_coll_name)
THEN APEX_COLLECTION. DELETE_COLLECTION (p_collection_name = > c_coll_name);
END IF;
APEX_COLLECTION. () CREATE_COLLECTION_FROM_QUERY_B
p_collection_name = > c_coll_name,
p_query = > l_query);
The select statement is correct. (Already checked)
Why my error occure?
Thanks for help
Hello
First of all: thanks vinc.
This error occurse just in the sql developer.
This error is not important for apex.
If you see this error message in the sql developer, you should omit the collection and "print" query. [dbms_output.put_line (l_query);]
You copy the result (select... from... where the...) of the dbms_output and run this. I had really no results. I had just a space after a variable.
I got the error
This problem is now resolved.
-
I'm creating an application that uses the authentication of the APEX and characteristics (work) registration and forgot password forms (does not work).
My I forgot the password is public (requires authentication). The user provides the user name and a secret answer, which are validated and then provides the new password. I try to use htmldb_util.reset_pw to reset the password of the user, but it does not work.
I have a process on the new password page call a PL/SQL anonymous block that looks like this (see below), where username = P16_ITEM1 and P18_ITEM1 = new password.
BEGIN
apex_040000.htmldb_util.reset_pw (V ('P16_ITEM1'), V ('P18_ITEM1'));
END;
I don't know how to send a message of success/failure of such PL/SQL block to the APEX, but that's a separate issue, I guess.
In any case, during the trial through SQL Developer as the user with APEX_ADMINISTRATOR_ROLE, I get the following error:
ORA-20001: unauthorized access (package for the undefined security group variable).
ORA-06512: at "APEX_040000.WWV_FLOW_FND_USER_API", line 22
ORA-06512: at "APEX_040000.WWV_FLOW_FND_USER_API", line 1220
ORA-06512: at "APEX_040000.HTMLDB_UTIL", line 1253
ORA-06512: at line 8 level
I've searched previous discussions and tried different suggestions with no luck.
I'm on Oracle DB 11g XE and APEX 4.x.
Any help will be appreciated. Thank you
Alex.In any case, during the trial through SQL Developer as the user with APEX_ADMINISTRATOR_ROLE, I get the following error:
ORA-20001: unauthorized access (package for the undefined security group variable).
When executing code outside the Apex which depends on the security defined Apex group, perform the following steps before your own code:
wwv_flow_api.set_security_group_id(apex_util.find_security_group_id('YOUR_SCHEMA_NAME'));
Google "wwv_flow_api.set_security_group_id" for more details, like this blog:
http://www.easyapex.com/index.php?p=502
-Morten
http://ORA-00001.blogspot.com
-
Gets the error ORA-01779 after I added the column
Hi, I'm a total newbie in APEX but collaborated with ordinary development Oracle (tables, views, packages, triggers, etc) for a number of years.
I ve been assigned in order to respect an existing application to APEX. One task is to add a column to a single character named 'ACTIVE' to a database table and also present on a current project list page. The value can be 'Y' or 'n'. In the view which is the source of data for the project page ad 'Y' turned into 'Yes' and 'n' turned into 'no '. So far so good, everything works well.
There is another page on which it is possible to create new or modify existing projects. This page uses a view as a source of data. On this page, I added a group of radiobutton that contains two options: 'Yes' and 'no '. When I select to edit a project in the project list page the second page is loaded and the correct option, 'yes' or 'No', is marked on the page. This group of radiobutton works exactly like a couple of other groups of radiobutton also represented with a single character column in the database. So far so good!
However, when I try to save the project file by clicking on "Apply Changes" I get this error:
ORA-20001: DML error: p_rowid = 50, ID = p_alt_rowid, p_rowid2 =, p_alt_rowid2 is. ORA-01779: cannot modify a column that is mapped to a table not preserved key
What is the problem here? The new 'ACTIVE' column is added to the view, when I run the view I Don t get all records in duplicate, the underlying table has a column id as the primary key.
Since I Don t know that APEX is under the hood it s hard tp what's wrong. Anyone knows the solution to this problem?
/ MagnusHello Magnus,
Is there an INSTEAD OF trigger defined on the view? Have you added the new column ACTIVE there too?
Greetings,
Roel
http://roelhartman.blogspot.com/
You can reward this response in marking it as useful or Correct ;-) -
Internal error in the routine mru: ORA-20001
Hello
I have a tabular presentation, what ointment to data, works very well. But what update of data following error occurs: error in routine internal mru: ORA-20001: current version of the data in the database has changed since the user has launched the process of update. current checksum.
Thanks for help e time.Happy to read that you have solved the problem
Please, mark the question as answered
Maybe you are looking for
-
I received an email stating that there is a charge on my ITune account for $99 for Microsoft Word. I NEVER order anything of the nature. He said bought was made on June 7, 2016. I would like to know is it a spam of a certain type. I certainly did not
-
My Canadian iPhone charger adapter will be working in the United States
got to the iPhone 5 s Canada, can I use the power charger in the USA travel adapter, it says 100-240 volts in small letters, you know the original provided with the iPhone box. I'm not sure of the Canada and the USA have the same voltage in hotels, a
-
Cannot read the KEY for the installation of the recovery disc.
My Toshiba Satellite has crashed and I have used the recovery disk provided to re - install. It asks for the product key, but I can't read it on the underside of the computer. How can I get the key while I am legal with this OS? Thank you Joe
-
Driver ATI Radeon HD 4600 Series
My driver listed above has been disabled by windows. When I try to update windows says not to install it since it has not been tested by Microsoft Windows. I'm frustrated because my computer is not correctly, but I can't download the correct video
-
Cannot find my documents or excel files
Help My computer crashed and I am unable to find document such as doc and .xls files. microsoft programs or files. Any ideas? In addition, which is a new installation?