ORA-01445 error: cannot select ROWID from where sample, a join without a view

Hi all

I get an error when I created a VO based EO with standard Table (forced) jtf_notes_vl
It gives me the error ORA-01445: cannot select ROWID from where sample, a join without key preserved table view

the Table has the ROW_ID as Primery key


Thanks in advance

Hello

Creation of an EO-based the rowid as primary key is usually the cause of this error as is not recommended to use the rowid as the primary key. Try to use jtf_note_id as the primary key.

Furthermore, why are you using NAV it is seen for the creation of EO. If I remember correctly, there is a JTF_NOTES_B and JTF_NOTES_TL table that you can use.

Thank you
AJ

Tags: Oracle Applications

Similar Questions

  • v4.0 - in the form of ORA-01445: cannot select ROWID from where sample,.

    Hello
    I have created a form in table form in version 4.0.
    Selection is based on three tables that have primary keys, the keys are selected, and whenever I run the page I get the following error:-
    Failed to parse the SQL query:
    ORA-01445: cannot select ROWID, or sample, join without table views preserved key

    The query runs very well in the TOAD

    Any ideas?

    Thank you

    Mike
    ___________________________________________________________________________________
    Select
    CTR. PERF_RATING_LINE_ID,
    CTR. PERF_RATING_LINE_ID PERF_RATING_LINE_ID_DISPLAY,
    CTR. BUSINESS_UNIT,
    CTR. EMPLID,
    ''''|| CTR. REVIEW_YEAR REVIEW_YEAR,
    CTR. REVIEW_PERIOD,
    CTR. PERFORMANCE_SCORE,
    CTR. MODERATED_SCORE,
    CTR. HUMAN RESOURCES MANAGEMENT,
    PRL.COMMENTS,
    ACB. BU_DESC,
    ''''|| ACB. DEPTID DEPTID,
    ACB. DEPT_DESC,
    ACB. EMPLOYEE_NAME,
    ACB. GRADE,
    CTR. SCORE_APPROVED_BY,
    ACB. TEMP_PERM,
    ACB. GENDER,
    ACB. JOB_START_DATE,
    decode (DECODE (SUBSTR (ACB. FLAG, 1, 5), "S Job", substr (CPR. FLAG, instr (CPR. FLAG,'~ ', 1) + 2, 3));
    "HIR", "Committed", "XFR", "Transfer", "REH", "recall").
    Decode (SUBSTR (ACB. FLAG, 1, 30), "work starts the period ~ XFR ',' - ' | substr (CPR. FLAG, instr (CPR. FLAG,'~ ', 1, 2) + 2)) JOB_START_DETAILS,.
    ACB. APPOINTMENT_DATE,
    SUBSTR (CPR. JOB_END_DETAILS, INSTR (CPR. JOB_END_DETAILS,'~ ', 1, 2) + 2) JOB_END_DATE.
    SUBSTR (CPR. JOB_END_DETAILS, INSTR (CPR. JOB_END_DETAILS,'~ ', 1, 1) + 2, INSTR (CPR. JOB_END_DETAILS,'~ ', 1, 2) - INSTR (CPR. JOB_END_DETAILS,'~ ', 1, 1)-2) REASON,
    ACB. JOB_GROUP,
    ACB. JOB_GROUP_DESC,
    ACB. JOBCODE,
    ACB. JOBCODE_DESC JOB_DESC,
    ACB. JOB_FAMILY,
    ACB. JOB_FAMILY_DESC,
    ACB. PBR_ID,
    MD. MGR_DEPT_ID
    PERFORMANCE_BASE_REFRESH_V ACB,.
    PERFORMANCE_RATING_LINE PRL,
    Y00_OPR_MGR_DEPT MD
    WHERE (PRL. BUSINESS_UNIT = ACB. BUSINESS_UNIT
    AND PRL. EMPLID = ACB. EMPLID
    AND PRL. REVIEW_YEAR = ACB. REVIEW_YEAR
    AND PRL. REVIEW_PERIOD = ACB. REVIEW_PERIOD)
    AND MD. OPRID =: APP_USER
    AND INSTR (': ' |) MD. DEPTS_MANAGED |': ',' :'|| ACB. DEPTID |': ') > 0
    AND MD. MGR_DEPT_ID > 0
    AND CPR. ADMIN_CENTRE IN
    (select c.deptid AC
    of PSHR. PSOPRDEFN@PSHR. CSIR.CO. ZA,.
    PSHR.PS_SCRTY_TBL_DEPT@PSHR. CSIR.CO. ZA C
    where A.ROWSECCLASS = C.ROWSECCLASS
    AND C.DEPTID! = 'ZZZZ '.
    and a.oprid =: APP_USER)
    AND (: P2210_BUSINESS_UNIT IS NULL)
    OR PBR. BUSINESS_UNIT =: P2210_BUSINESS_UNIT)
    AND (: P2210_EMPLOYEE_NAME IS NULL)
    OR INSTR (UPPER (CPR. Employee_name), UPPER (:P2210_EMPLOYEE_NAME)) > 0)
    AND (: P2210_DEPARTMENT IS NULL)
    OR PBR. DEPTID =: P2210_DEPARTMENT)
    AND (: P2210_PERFORMANCE_RATING IS NULL)
    OR PBR. PERFORMANCE_SCORE =: P2210_PERFORMANCE_RATING)
    AND (: P2210_MODERATED_RATING IS NULL)
    OR PBR. MODERATED_SCORE =: P2210_MODERATED_RATING)
    AND (: P2210_GRADE IS NULL)
    OR PBR. CATEGORY =: P2210_GRADE)
    AND (: P2210_PERM_TEMP IS NULL)
    OR PBR. TEMP_PERM =: P2210_PERM_TEMP)
    AND SUBSTR (NVL (ACB. (JOB_END_DETAILS, "XXX"), 1, 3) NOT ("TER", "TOC")
    AND PRL. SCORE_APPROVED_BY IS NULL

    Mike,

    We also changed our Wizard to create only validations for columns that are selected to be updated (in the wizard on the page in a table). And in the case of the application wizard, we examine if the columns have been excluded on the edit page popup page, and they are set to read-only through the default user interface. If you should only get validations for the columns that are modifiable, view-only / save state or hidden. We include only display / save state and hidden, because in both cases, you have actual shape on your page elements, which could easily be manipulated through common web tools.

    Kind regards
    Marc

  • ORA-01445: cannot select ROWID, or sample, a view of join without key - preserved table form w/report and LOV

    I create a page "Form on a Table with Report" (APEX 5). Table I has 3 columns: cat_key, item_value, item_description. The cat_key is a foreign key in a table with columns cat_key, cat_value. I created the report and everything works fine.  The page of the report shows my domain cat_key in number, so I want it instead to display the cat_value. I change the field cat_key to a text based on LOV, select my LOV and now when I view the page of report I get the "'ORA-01445: cannot select ROWID from where sample, a join without key preserved table view ' error." The report uses the ROWID as a link to the edit page field.

    If I use the same tables and even shared LOV in a report page interactive, it works fine.

    What I am doing wrong?

    This is a limitation of the IR Apex will rewrite your query to a query that includes the lookup table and the columns. So now you have actually created a query on an inline view, which causes the error. You can see the query apex created when running in debug mode. APEX will join the table of choice with your primary table. For example from one of my IR:

    Select 'ID '...

    "MSL". "" HIS_COUNTRIES "=> my primary table

    ) ) b,

    (select rv_meaning d, rv_low_value r

    of msl_ref_codes_table

    where rv_domain = "JOHN".

    ) L1 = > query My LOV Lookup

    ...

    So, if possible, base your reports and forms on the real primary key, no rowid.

    You can also write the IR query with the search yourself:

    Select T1.rowid...

    of primary_table T1

    look_table L1

    ...

  • "ORA-01445: cannot select ROWID' v4 tabular.

    Hi guys,.

    We had major problems since the transition from v2 to v4.

    One of the problems I've had is with tabular forms.

    I have a complex page with many regions which has always worked well in version 2. One of these regions is a tabular presentation. When loading the page, I get the:

    "ORA-01445: cannot select ROWID from where sample, a join without key preserved table view ' error."

    The initial request was quite complex, but I've broken down it:

    This query runs and allows me to update the base table (xxmel_apex_eco_alterations)

    Select
    replace. ALTERATION_ID,
    replace. ALTERATION_ID ALTERATION_ID_DISPLAY,
    replace. ECO,
    alt.ORGANIZATION_ID,
    replace. ACD_TYPE,
    replace. INVENTORY_ITEM_ID,
    replace. BEFORE_CHANGE_QTY,
    replace. AFTER_CHANGE_QTY,
    replace. MODIFY_FLAG,
    replace. REVISED_ASSEMBLY_ID,
    replace. BILL_SEQUENCE_ID,
    alt.COMPONENT_SEQUENCE_ID,
    replace. LAST_UPDATE_DATE,
    replace. LAST_UPDATE_BY,
    alt.COMMENTS,
    replace. BOM_IMPLEMENTATION_DATE,
    replace. BOM_CHANGE_NOTICE,
    replace. ASSEMBLY_NAME,
    alt.COMPONENT_NAME,
    replace. SELECTION_CRITERIA,
    replace. ORACLE_CHANGE_NOTICE,
    alt.COMP_CURRENT_COST,
    alt.COMP_NEW_COST,
    alt.COMP_CURRENT_SC,
    alt.COMP_NEW_SC,
    alt.COMP_DESCRIPTION,
    alt.COMP_CURRENT_UOM,
    alt.COMP_NEW_UOM,
    alt.COMP_CURRENT_PUR_STATUS,
    alt.COMP_NEW_PUR_STATUS
    ALT XXMEL_APEX_ECO_ALTERATIONS
    where eco =: P2_ECO


    But as soon as I try to join another table (I do not update, just view as shown below), I get the error.

    Select
    replace. ALTERATION_ID,
    replace. ALTERATION_ID ALTERATION_ID_DISPLAY,
    replace. ECO,
    alt.ORGANIZATION_ID,
    replace. ACD_TYPE,
    replace. INVENTORY_ITEM_ID,
    replace. BEFORE_CHANGE_QTY,
    replace. AFTER_CHANGE_QTY,
    replace. MODIFY_FLAG,
    replace. REVISED_ASSEMBLY_ID,
    replace. BILL_SEQUENCE_ID,
    alt.COMPONENT_SEQUENCE_ID,
    replace. LAST_UPDATE_DATE,
    replace. LAST_UPDATE_BY,
    alt.COMMENTS,
    replace. BOM_IMPLEMENTATION_DATE,
    replace. BOM_CHANGE_NOTICE,
    replace. ASSEMBLY_NAME,
    alt.COMPONENT_NAME,
    replace. SELECTION_CRITERIA,
    replace. ORACLE_CHANGE_NOTICE,
    alt.COMP_CURRENT_COST,
    alt.COMP_NEW_COST,
    alt.COMP_CURRENT_SC,
    alt.COMP_NEW_SC,
    alt.COMP_DESCRIPTION,
    alt.COMP_CURRENT_UOM,
    alt.COMP_NEW_UOM,
    alt.COMP_CURRENT_PUR_STATUS,
    alt.COMP_NEW_PUR_STATUS
    msib.segment1
    ALT XXMEL_APEX_ECO_ALTERATIONS
    mtl_system_items_b msib
    where eco =: P2_ECO
    and msib.organization_id = 26
    and msib.inventory_item_id = ALT INVENTORY_ITEM_ID

    I read Re: v4.0 - in the form of ORA-01445: cannot select ROWID from where sample, where someone had a similar problem for me, but their solution (by copying the script to create a new page) isn't really an option for us the complexity to the page as a whole.

    Is this a bug in 4 APEX?

    Any help would be great,

    Thank you
    Chris

    Hello

    This isn't a bug in the apex, if you want to display a different table column there is a way to create a function to get the value of this table

    to "msib.segment1", you must create a function that accepts that some primary key to and retrieves the value of 'mtl_system_items_b' and can return a value in the field "segment1".

    and you can use your previous query, you can add the name of function as a new field

    for example

    Select
    replace. ALTERATION_ID,
    replace. ALTERATION_ID ALTERATION_ID_DISPLAY,
    replace. ECO,
    alt.ORGANIZATION_ID,
    replace. ACD_TYPE,
    replace. INVENTORY_ITEM_ID,
    replace. BEFORE_CHANGE_QTY,
    replace. AFTER_CHANGE_QTY,
    replace. MODIFY_FLAG,
    replace. REVISED_ASSEMBLY_ID,
    replace. BILL_SEQUENCE_ID,
    alt.COMPONENT_SEQUENCE_ID,
    replace. LAST_UPDATE_DATE,
    replace. LAST_UPDATE_BY,
    alt.COMMENTS,
    replace. BOM_IMPLEMENTATION_DATE,
    replace. BOM_CHANGE_NOTICE,
    replace. ASSEMBLY_NAME,
    alt.COMPONENT_NAME,
    replace. SELECTION_CRITERIA,
    replace. ORACLE_CHANGE_NOTICE,
    alt.COMP_CURRENT_COST,
    alt.COMP_NEW_COST,
    alt.COMP_CURRENT_SC,
    alt.COMP_NEW_SC,
    alt.COMP_DESCRIPTION,
    alt.COMP_CURRENT_UOM,
    alt.COMP_NEW_UOM,
    alt.COMP_CURRENT_PUR_STATUS,
    alt.COMP_NEW_PUR_STATUS,
    newfunction (pkId) as segment1
    ALT XXMEL_APEX_ECO_ALTERATIONS
    where eco =: P2_ECO

    Thank you
    Abdou Bosamiya

  • VSphere client light web - cannot select boot from ISO via the CD/DVD drive

    I had used P2v to virtualize a Windows 7 machine and after the start he said that the "the boot selection failed because a required device is inaccessible. I think I need to run a repair using Windows 7 image and possibly launch a fixboot and fixmbr, but when I try to adjust the settings of the virtual machine using the web client to boot from the ISO it displays an error and the ok button to save the settings is grayed out. How is it doesn't let me do this?

    Never mind. I got the VM running in Vsphere client while trying to change the setting in the web client.

  • Cannot select photos from the Photos app

    Hey!

    Whenever I want to download pictures on iMovie, Facebook, by selecting a new wallpaper etc when I go to select my photos of Photos (which replaces iPhotos), none of my photos or photo albums can be viewed or selected.

    There is a buffering icon indicating that something can be load but no matter how long I leave it without photos appear.

    I noticed only to happen since I have updated to OS X 10.11.5

    Any help would be appreciated, soon.

    P....

    Try to repair the library holding down ⌥ ⌘ at the launch of the app.

  • Cannot select items from menu top 25% of the window of the browser most of the time.

    Running Windows 7 Pro, on a new HP Ultrabook (2 months) with FF 15.0.1. Several times, selectable items work not, but usually in the 20-30% of the browser window. With the pointer hovering over selections, it does not change to indicate a selectable element, or if it will allow you to select. It happens on sites such as Yahoo!, HP, etc. He doesn't do it all the time, but I'd say at least 50% of the time, even if you reload the page and allow all sites with NoScript. There is no warning of filtering.

    You are welcome.

    Please let us know the name of the extension of the problem because it helps others.

  • Cannot install plugin from the sample of the source

    Hello

    I downloaded osmf_1-5_fc_source. Compilation of the command line samples/MASTPluginNew/MASTPlugin.as is ok.

    But when I try to run Flash Player with the new MASTPlugin of my host, it does not work. But MASTPlugin (downloaded from http://smpfmp.appspot.com) works well.

    Someone knows why?

    Hi Walltex,

    You try to use the Strobe Media Playback code in trunk:

    svn checkout svn://svn.code.sf.net/adobe/smp/svn/trunk

    We test currently it against osmf 1.5 CF.

    Thank you

    ANDRIAN

  • ORA-01445 when literals in a view

    OTN dear Forum,

    I am creating this point of view, which generates a list of files with metadata in each line for example. "Description". I want to add a column with the same literal value in each row - 'Photo Unit Legacy Collection', but he doesn't seem to like it. I tested without the code on line 10 and I tested 10 independently in a separate query lines - both work.

    I get the error message "unhandled exception warning,: ORA-01445: cannot select ROWID from where sample, a join without key preserved table view.

    Can anyone help?


    1 Select
    2 csv. "" FILE "as"#FILE. "
    3 csv.security_policies as "#SECURITY POLICIES."
    4 csv.model as "#MODEL."
    5 csv.nhm_field_department as "NHM_FIELD_DEPARTMENT."
    6 photo_lib.jobtitle as "NHM_FIELD_ASSET_DESCRIPTION."
    7 csv.nhm_field_asset_keywords as "NHM_FIELD_ASSET_KEYWORDS."
    8 csv.nhm_field_file_creation_date as "NHM_FIELD_CREATION_DATE."
    9 csv.nhm_field_original_file_path as "NHM_FIELD_ORIGINAL_FILE_PATH."
    10 "Legacy Collection of photo unit" as "NHM_FIELD_GROUP_TITLE."
    11 regexp_substr (csv. ("' NHM_FIELD_ASSET_DESCRIPTION",'[[: digit:]] {4,}') as 'TASK IDENTIFIER.
    12 years of
    13 csv join internal photo_lib
    14 on (photo_lib.fk_jobid = regexp_substr (csv. "" FILE "," [[: digit:]] {4}')) "
    15 where photo_lib.jobtitle is not null
    16 and regexp_like (csv. "" FILE ","[...] *\. ((tif)')

    You get the error create view, or when you try to choose in this one? What version of 4 numbers of Oracle are you running? There is at least a bug reported in MOS (see Doc ID 412362.1 if you have a support contract) for outer joins against versions 10.2.0.1 - 10.2.0.3.

    You can try either simplify the view somewhat, perhaps to ot to rid the superfluous double quotes. Another possibility might be to try to make the regexp in a view online and join with this, something like:

    select csv.file as "#FILE", csv.security_policies as "#SECURITY POLICIES",
           csv.model as "#MODEL", csv.nhm_field_department,
           photo_lib.jobtitle as NHM_FIELD_ASSET_DESCRIPTION,
           csv.nhm_field_asset_keywords, csv.nhm_field_file_creation_date,
           csv.nhm_field_original_file_path,
           'Photo Unit Legacy Collection' as NHM_FIELD_GROUP_TITLE,
           csv.job_identifier
    from (select file, security_policies, model, csv.nhm_field_department,
                 nhm_field_asset_keywords, nhm_field_file_creation_date,
                 nhm_field_original_file_path,
                 regexp_substr(NHM_FIELD_ASSET_DESCRIPTION,'[[:digit:]]{4,}') JOB_IDENTIFIER,
                 regexp_substr(FILE,'[[:digit:]]{4}') jobid
          from csv
          where regexp_like(csv.FILE,'[...]*\.(tif)')) csv
       join photo_lib
          on photo_lib.fk_jobid = csv.jobid
    where photo_lib.jobtitle is not null
    

    John

  • Error ORA-01445 tabular form on a Collection in APEX 5

    When I load a page with a tabular presentation built on a display of a collection to the APEX 5, I'm getting an ORA-01445: cannot select ROWID, or the sample, a view of joining without an error table preserved key.

    I create a view

    CREATE or REPLACE FORCE VIEWS test_coll_vw

    (

    C001,

    C002,

    C003,

    C004,

    seq_id

    )

    AS

    SELECT TO_NUMBER (c001),

    C002,

    TO_NUMBER (c003),

    TO_NUMBER (c004),

    seq_id

    Of apex_collections

    WHERE collection_name = 'TEST '.

    Then create a tabular presentation on the view with the primary key of the source SEQ_ID and primary key of the trigger existing through the wizard.

    Debug information shows the statement which is a failure:

    Select NULL NULL "CHECK$ 01", "SEQ_ID,' NULL 'C001', NULL"C002', 'C003', 'C004', NULL NULL NULL "APEX$ ROWID ' sys.dual union all select ' CHECK$ 01", 'SEQ_ID', 'C001', 'C002', 'C003', "C004", "APEX$ ROWID" in (select NULL "CHECK$ 01", "SEQ_ID", "C001", "C002", "C003", "C004", "ROWID" "APEX$ ROWID" (select).

    "SEQ_ID."

    "C001."

    "C002."

    "C003."

    "C004.

    of 'WPCAMS_APP '. "" TEST_COLL_VW ".

    ) APEX$ RPTSRC

    order of 1, 7

    ).

    These tabular forms worked up to 4.2, but they seem to fail at 5 APEX for upgrade or newly created pages one.  The generated query is identical between versions, but it seems that the underlying apex_collections view has changed between versions and the origin of the problem.

    Does anyone have a solution or workaround?

    Thank you

    Hi Phil,

    APEX 5.0 the definition of the view of apex_collection had to be changed for security reasons. This change introduced a regression with tabular form validations, when the table refers to this view. Tabular form declarative validations require the ROWID in order to restore your changed data after a validation failed, and for this reason, APEX is insert the IDENTIFIER in the query in a table. It is currently not possible when tables refers to the sight of apex_collections. We are looking at a solution to this problem, but for now the only way to get around this is not, in this case, use the declarative validation and use some custom validations or process.

    Kind regards
    Marc

  • ORA-00936 error select * statement

    Hi all

    I am a newbie in Oracle and used Sybase (7,0) front. The following SELECT statement is worked on Sybase, but has not worked on Oracle. Oracle has shown an error ORA-00936.

    SELECT column1 * From Table1;

    Could someone tell me how to edit?

    Thank you very much.

    Michael

    Try this:

    SELECT column1, Table1.* From Table1;

  • Width maximum and ORA-1445 for the selection of the field.

    Hello

    We recently had the ORA-01445 error in the database.

    A friend of mine directed me to the following address:
    http://www.ErrorHelp.com/search/details/65019/ora-01445

    And explained to me that Oracle takes all fields in all the tables in internal and external joins to build a HUGE table before choosing which fields are really needed for the query.

    I can't believe that Oracle made such stupid thing so I ran here for ask the experts.

    An example:

    Two tables:

    TABLE1:
    -----------
    Field1
    Field2
    ...
    Field100



    TABLE2
    ----------
    Field1
    Field2
    ...
    Field500


    Select table1.champ1, table2.champ1
    FROM table1
    INNER JOIN table2 on table1. Field2 = table2. Field2
    WHERE table1.champ3 = '1'


    ->
    It is:

    How the join is based on detail?


    If it generates an intermediate table with 100 + 500 = 600 fields to not get the 5 that are used in the query (table1.champ1, table2.champ1, table1. Field2, table2. Field2, table1.field3)?


    Thank you.
    Sincere greetings,

    864737 wrote:
    Hi John,.

    Maybe it's a complete nonsense, but even if has no instance of sense which way solved the issue.

    I have a request who suddenly cannot run with the described error, version 10.2.0.3 but it does not happens in 10.2.0.4. As a solution, we did it using Subselects and join as described in the post and the query reworked.
    If ORA-01445 is triggered even if this isn't the cause of the error. You have there a circumstance where it fits...

    So, it is clearly a bug introduced (possibly in 10.2.0.3) and fixed with 10.2.0.4.

    I can't post the query because of license restrictions but believe or not, this happens with Oracle. It is good to know that the number of tables fields is not serious. I was surprised to hear it. But your clarification was good. : D Tnx.

    It seems that our DBA found that this behavior can be corrected by an official patch.

    Which clearly indicates a bug, just be sure that the patch is really good.

    Thanks again for your response.

    There are a number of bugs in MOS around ansi joins this error, bug
    4369235.8 ORA-1445 may occur for queries to ANSI join with great views/subqueries

    seems possiblefor your case. However, workaround for this was to not use ansi style joins, once again, the number of columns is not directly the cause of the error.

    John

  • ERROR: ORA-01445

    Hello

    Can you please let me know how to select the ROWID of the table all_ind_expressions? I tried to run the following SQL query on the Oracle version 10.2.0.3 but received the error ORA-01445.


    Select the ROWID in all_ind_expressions
    where index_owner = "DBO."

    Thank you

    Published by: user12088323 on February 24, 2011 18:29

    Published by: user12088323 on February 24, 2011 18:30
    SQL> select text from dba_views where view_name = 'DBA_IND_EXPRESSIONS';
    
    TEXT
    --------------------------------------------------------------------------------
    select io.name, idx.name, bo.name, base.name, c.default$, ic.pos#
    from sys.col$ c, sys.obj$ idx, sys.obj$ base, sys.icol$ ic,
         sys.user$ io, sys.user$ bo, sys.ind$ i
    where bitand(ic.spare1,1) = 1         /* an expression */
      and (bitand(i.property,1024) = 0) /* not bmji */
      and ic.bo# = c.obj#
      and ic.intcol# = c.intcol#
      and ic.bo# = base.obj#
      and io.user# = idx.owner#
      and bo.user# = base.owner#
      and ic.obj# = idx.obj#
    
    TEXT
    --------------------------------------------------------------------------------
      and idx.obj# = i.obj#
      and i.type# in (1, 2, 3, 4, 6, 7, 9)
    

    Who should be returned to ROWID when SELECT view above?

    Published by: sb92075 on February 24, 2011 16:47

  • ORA-00942 on sys when SELECT table_name FROM all_tables;  11rg2 (answered)

    I run SQLPLUS on windows and use sqlplus.
    Conn sys as sysdba. Fine
    Then, I want to see the tables under sysdba
    I create the table and I can do SELECT * from table. SQL watch me release.
    But I can't see tables
    SELECT table_name FROM user_tables;
    SELECT table_name FROM all_tables;
    SELECT table_name FROM dba_tables;
    SELECT * from user_objects where type_objet = "TABLE";

    SQLPLUS:ORA - 00942: table or view does not exist.

    How to fix it?
    I created earlier DB and could do that, but I want to repair this database.

    And he had problems with db mynewdb1, may be corrupt

    recover database until cancel using backup controlfile;
    ORA - 279 marked during: ALTER DATABASE RECOVER database until cancel using backup controlfile...
    ALTER DATABASE RECOVER CONTINUE DEFAULT
    C:\APP\STR\FLASH_RECOVERY_AREA\MYNEWDB1\ARCHIVELOG\2013_05_10\O1_MF_1_1_%U_ media recovery log. ARC
    Friday 10 May 21:06:30 2013
    Errors with log C:\APP\STR\FLASH_RECOVERY_AREA\MYNEWDB1\ARCHIVELOG\2013_05_10\O1_MF_1_1_%U_. ARC
    Errors in the C:\APP\STR\diag\rdbms\mynewdb1\mynewdb1\trace\mynewdb1_pr00_9920.trc file:
    ORA-00308: cannot open archived log ' C:\APP\STR\FLASH_RECOVERY_AREA\MYNEWDB1\ARCHIVELOG\2013_05_10\O1_MF_1_1_%U_. ARC'
    ORA-27041: could not open the file
    04002 - OSD: could not open the file
    S/O-error: (OS 2) the system cannot find the file specified.
    ORA - 308 marked during: ALTER DATABASE RECOVER CONTINUE DEFAULT...





    CREATE CONTROLFILE REUSE DATABASE RESETLOGS MYNEWDB1
    WARNING: Temporary Tablespace default not specified in the CREATE DATABASE command
    Default temporary tablespace will be necessary for a locally managed database in future release
    Errors in the C:\APP\STR\diag\rdbms\mynewdb1\mynewdb1\trace\mynewdb1_ora_8588.trc file:
    ORA-01565: error to identify the file ' % ORACLE_HOME%\DATABASE\DBS1%ORACLE_SID%. ORA'
    ORA-27041: could not open the file
    04002 - OSD: could not open the file
    S/O-error: (OS 2) the system cannot find the file specified.
    ORA-1503 scored at the course: CREATE CONTROLFILE REUSE DATABASE RESETLOGS MYNEWDB1...

    Published by: 1005307 on 10.05.2013 18:08

    Hello

    Welcome to the forums!

    What you showed us, I guess that you have created the database manually using the CREATE DATABASE command?

    If so, did you run CATPROC.sql and CATALOG.sql correctly? It seems that your problem is related to these scripts, because they are responsible for creating the tables and the data dictionary views.

    Have you run them with SYS schema?

  • ORA 17410 - cannot read data from socket

    Hey guys!

    I am faced with a query and would like to ask your advice. During the execution of the statement, I always get an error 17410. No data is transferred that data cannot be read from the socket.

    In my application, I am trying to join the two results. When you run queries individually fine and no error occurs.

    Ever tried to convert the output columns for the same types of data to apply compatibiliy. However, in vain.

    Here's the query! You have an idea?
    with w as
    ((select b.ba_lang, x.lng_baumart, to_char(x.ba_kat) ba_kat,
     x.flag, 0 disable_status
    from 
    vt_tbl_qb_zu_bestand v,
    vt_qb_join q,
    vt_tbl_baumart b,
    vt_tbl_matrix x
    where 
    (q.cnt_gebiet = :p2024_cnt_gebiet)
    and (v.lng_baumart = b.cnt_baumart) 
    and (v.lng_qb_sub = q.lng_qb_sub)
    and (q.str_lrt_main = :p2024_str_lrt)
    and (q.int_wg = :p2024_wg)
    and (q.str_be_main = :p2024_be)
    and (q.int_status_sub = 3)
    and (x.lrt_class = :p2024_str_lrt_mx)
    and (x.lng_baumart = b.cnt_baumart)
    group by b.ba_lang, x.lng_baumart, x.ba_kat, b.ba_gruppe, x.flag
    ) 
    union
    (select b.ba_lang, x.lng_baumart,
        x.ba_kat,
       x.flag, 0 disable_status
      from vt_tbl_qb_verjuengung v,
        vt_qb_join q,
        vt_tbl_baumart b,
        vt_tbl_matrix x
      where (q.cnt_gebiet   = :p2024_cnt_gebiet)
      and (v.lng_baumart    = b.cnt_baumart)
      and (v.lng_qb_sub     = q.lng_qb_sub)
      and (q.str_lrt_main   = :p2024_str_lrt)
      and (q.int_status_sub = 3)
      and (q.int_wg         = :p2024_wg)
      and (q.str_be_main    = :p2024_be)
      and (x.lrt_class      = :p2024_str_lrt_mx)
      and (x.lng_baumart    = b.cnt_baumart)
      group by b.ba_lang, x.lng_baumart, x.ba_kat, b.ba_gruppe, x.flag))
      
     (
      (select ba_lang, lng_baumart,
        to_char(ba_kat) ba_kat,
        decode(ba_kat,'H',1,'N',2,'B',3,'S',4,'P',5,'hG',6,'nG',7) as cs,
        flag, 
        disable_status,
        null str_comment
      from w
      ) 
    union all
      (select distinct r.ba_lang, d.lng_baumart, to_char(d.ba_kat) ba_kat, decode(d.ba_kat,'H',1,'N',2,'B',3,'S',4,'P',5,'hG',6,'nG',7) as cs,
        d.flag, 
    case when d.lng_baumart in (78, 74, 72,71, 54, 53) then 1
    else null end as disable_statusx, 'not valid' str_comment
      from vt_tbl_baumart r,
        vt_tbl_matrix d
      where r.cnt_baumart    = d.lng_baumart
      and d.lrt_class        = :p2024_str_lrt_mx
      and d.ba_kat in ('S','B','H','P','N')
      and r.cnt_baumart not in (select lng_baumart from w)))
    Thanks a lot for your help!

    I appreciate it!

    Edited by: skahlert the 01.06.2010 09:02

    Hello

    You are right. They fixed in the 11.2.0.2.0 JDBC driver and have a patch for 11.1.0.7. They won't patch 10.2. You can find information about this in the notes 1082926.1.

    Success

    Herald tiomela
    htendam.WordPress.com

Maybe you are looking for

  • The field 'description' in iPhoto?

    In iPhoto, there is a text field, 'Description '.  A lot of my photographs are documents I use the Description field to transcribe the text. With a previous update the contents of this field that is not automatically reported, but the values could be

  • EliteBook 840 G3: Installation of Windows 7 x 64 Enterprise | EliteBook 840 G3

    Hello world. Need help to install Windows 7 x 64 enterprise in an EliteBook 840 G3. The installation disc does not recognize the HARD internal disk (in bios is recognized without problems). I ve tried to join the AHCI drivers for chipsets intel in th

  • need driver audio beats for pavilion dv7t - 6 c 00 product a1l69av

    I had to replace the hard drive and restore my computer but I do not see the driver audio beats? can someone tell me where to find the link?

  • Intermittent internet connection.

    Hi, I have a Linksys WRT54G Router and have been meet with intermittent internet connection on a daily basis. I tried several things to solve without result. Any suggestion would be appreciated. Thank you.

  • Search for Windwos not capable of search text blocks

    Origanal title: indexing Hello. I'm a translator so text searches are important. for some reason, the search for th does not locate certain blocks of text. files and file types seem to be included in the index. Why could this be? Thank you GJH