Unknown hidden column

DB version: 12.1.0.2

I'm doing a swap partition operation, but it failed with the error:

ERROR on line 1:

ORA-14097: type mismatch or the column ALTER TABLE EXCHANGE partition size

After research, I detected the presence of a hidden column, but I do not know why this column SYS_NC00036$ should be there:

SQL > select column_id column_name data_type, data_length, data_default, virtual_column, hidden_column from dba_tab_cols where table_name = 'CEL_FACTURA"of order 1.

COLUMN_ID COLUMN_NAME DATA_TYPE, DATA_LENGTH HIDDEN VIR DATA_DEFAULT

---------- ------------------------------ -------------------- ----------- ------------------------------ --- ---

1 CODIGO_COMPROBANTE NOT ONLY NUMBER 22

...

TOTAL_DESCUENTO 11 NUMBER 22 NO

PROPINA 12 NUMBER 22 0.00 NO

IMPORTE_TOTAL 13 NOT ONLY NUMBER 22

14 MONEDA VARCHAR2 100 NO NO

15 FECHAP DATE 7 TO_DATE (' 01/01/1900 ',' YYYY/MM/NO NO)

...

TOTAL_BASE_IMPONIBLE_REEMBOLSO 32 NOT ONLY NUMBER 22

33 TOTAL_IMPUESTO_REEMBOLSO NOT ONLY NUMBER 22

VALOR_RETENCION_IVA 34 NOT ONLY NUMBER 22

VALOR_RETENCION_RENTA 35 NOT ONLY NUMBER 22

36 TIPO_FACTURA VARCHAR2 3 ', OR ' NO NO.

...

FECHA_TRANSACCION 53 NOT ONLY NUMBER 22

TOTAL_SUBSIDIO NUMBER 22 54 0 NO NO

BASE_TARIFA_0 55 NOT ONLY NUMBER 22

SYS_NC00036$ 126 BRUTES NO YES <-THIS COLUMN!

56 selected lines.

It seems only that column is due to a function based index but there is no indication of function based there:


SQL > select * from dba_ind_expressions where index_name in (select index_name in dba_indexes where table_name = 'CEL_FACTURA');

no selected line


SQL >

I have run the following query to view its content:

08:22:13 prucel > select SYS_NC00036$, count (*) from the Group CEL_FACTURA of SYS_NC00036$;

SYS_NC00036$ COUNT (*)

------------------ ----------

55047156

03                        838

01                          1

3 selected lines.

I tried to delete the column, but it's impossible:

SQL > alter table COMPROBANTES_ELECTRONICOS. Drop column SYS_NC00036 CEL_FACTURA $;

*

ERROR on line 1:

ORA-14148: DML and DDL operations are not allowed on the guard column.

SQL > alter table COMPROBANTES_ELECTRONICOS. CEL_FACTURA set the unused column SYS_NC00036$;

*

ERROR on line 1:

ORA-14148: DML and DDL operations are not allowed on the guard column.

SQL > purge DBA_RECYCLEBIN;

Recyclebin DBA purged.

I should also mention that this table is partitioned.

(1) you can get the explanation of what is 'special' on a column looking at sys.col$ (query by object id and column name). The column 'property' is a bit field that describes the column.

  property      number not null,           /* column properties (bit flags): */
                /* 0x0001 =       1 = ADT attribute column                   */
                /* 0x0002 =       2 = OID column                             */
                /* 0x0004 =       4 = nested table column                    */
                /* 0x0008 =       8 = virtual column                         */
                /* 0x0010 =      16 = nested table's SETID$ column           */
                /* 0x0020 =      32 = hidden column                          */
                /* 0x0040 =      64 = primary-key based OID column           */
                /* 0x0080 =     128 = column is stored in a lob              */
                /* 0x0100 =     256 = system-generated column                */
                /* 0x0200 =     512 = rowinfo column of typed table/view     */
                /* 0x0400 =    1024 = nested table columns setid             */
                /* 0x0800 =    2048 = column not insertable                  */
                /* 0x1000 =    4096 = column not updatable                   */
                /* 0x2000 =    8192 = column not deletable                   */
                /* 0x4000 =   16384 = dropped column                         */
                /* 0x8000 =   32768 = unused column - data still in row      */
            /* 0x00010000 =   65536 = virtual column                         */
            /* 0x00020000 =  131072 = place DESCEND operator on top          */
            /* 0x00040000 =  262144 = virtual column is NLS dependent        */
            /* 0x00080000 =  524288 = ref column (present as oid col)        */
            /* 0x00100000 = 1048576 = hidden snapshot base table column      */
            /* 0x00200000 = 2097152 = attribute column of a user-defined ref */
            /* 0x00400000 = 4194304 = export hidden column,RLS on hidden col */
            /* 0x00800000 = 8388608 = string column measured in characters   */
           /* 0x01000000 = 16777216 = virtual column expression specified    */
           /* 0x02000000 = 33554432 = typeid column                          */
           /* 0x04000000 = 67108864 = Column is encrypted                    */
          /* 0x20000000 = 536870912 = Column is encrypted without salt       */

      /* 0x000800000000 = 34359738368 = default with sequence                */
      /* 0x001000000000 = 68719476736 = default on null                      */
      /* 0x002000000000 = 137438953472 = generated always identity column    */
      /* 0x004000000000 = 274877906944 = generated by default identity col   */
      /* 0x080000000000 = 8796093022208 = Column is sensitive                */

Unfortunately, Oracle developers are not so strict these days and not all bits are documented.

(2) oracle 12 (or was this some 11.2 end?) has introduced a new feature: possibility to add a new NULLable column with a default value, without updating the actual lines. However, it is not feasible 'usual way' - if the column is not present in the line, how can you tell if it is omitted because it is NULL ('trailing null values'), or because it was never there in the first place, and therefore the default value is the correct value?

So the solution is Oracle adds a column '' custody '' at the table. This column is added when the value of the new column is updated - it forces the NULL values to be actually there. And even the guard column is a bitmap, marking whose columns are present here now.

So... you did edit the table and added a few new columns with default values?

Tags: Database

Similar Questions

  • Interactive report based on the hidden column cell color

    Hello

    APEX 5.0.1 used here.

    How can I set the color of a specific cell (or column) based on a hidden column?

    Seems the link that I can't use the built-in feature because I need the custom color returned by my request.

    I tried to set the color with javascript by iterate over each line, by taking the value. text() of the color column and value

    This color-specific cell. It works, but it requires the column is visible.

    A column containing a hexadecimal value of the color does not look good...

    I tried to hide / display: no column complete but this messes up the layout.

    THX

    the force says:

    APEX 5.0.1 used here.

    How can I set the color of a specific cell (or column) based on a hidden column?

    Seems the link that I can't use the built-in feature because I need the custom color returned by my request.

    I tried to set the color with javascript by iterate over each line, by taking the value. text() of the color column and value

    This color-specific cell. It works, but it requires the column is visible.

    A column containing a hexadecimal value of the color does not look good...

    I tried to hide / display: no column complete but this messes up the layout.

    Specify the color of cell required using the hidden column and a data attribute to the property Expression of HTML in the column:

    #VISIBLE_COLUMN_ALIAS#

    Apply a static ID of the visible column to serve as a selector, jQuery, and you can access the invisible color value in your JS code in dynamic action to run the JavaScript Code using the dataset property.

  • hidden column in download

    I have an interactive report where I have a few hidden columns. I would like for the hidden columns to be included in the download (columns, I will not be displayed on the report, but it would be useful is an excerpt from csv) is there a way to do this? I use 5 APEX.

    RoboMan says:

    I have an interactive report where I have a few hidden columns. I would like for the hidden columns to be included in the download (columns, I will not be displayed on the report, but it would be useful is an excerpt from csv) is there a way to do this? I use 5 APEX.

    It is not possible to view or download the hidden columns. Instead, the column can be excluded from the report on the screen and included in the Export CSV by using a report based on the query page allows you to select the Download CSV.

    Set attributes for column as follows:

    • If you use the view of the component:

      • Column definition

        • Display type: Display as text (escape special characters)
      • Conditional display
        • Condition of Type: Request = Expression 1
        • Expression 1: CSV
    • If you are using Page Designer:
      • Identification

        • Type: Plain text
      • Condition
        • Type: Ask = value
        • Value: CSV
  • IR searchable hidden columns?

    I wonder if anyone knows a way to make the hidden columns available? I wish I had a hidden column full of tags, but I don't want to see the.

    I tried to change the column type "Hidden" and it does not work I also tried to remove the column from the IR, but that no longer works.

    Please let me know.

    Thank you

    MICAH

    If your column is named CATEGORY, you can create a dynamic action triggered by "after update" report area.

    This dynamic action will run javascript:

    $("th[id='CATEGORY']").hide ();

    $("td[headers='CATEGORY']").hide ();

  • What't the purpose of having a hidden column in the report

    Hello experts,
    So, since I'm still fresh to the company I meet things worth exploring... I've seen many times where a report will have a certain column in the criteria but its hidden analytical results. There someone why


    for example... the criteria shall: time, name of the project, the project task. then the results will show: time and task project, then the project name is hidden... why?


    Thanks as always

    The hidden column can be referenced in a calculation or be used to sort the results, but not required by the user final report is visible.

  • How to hide the hidden columns below label in the Collection of panels

    Hi all

    I'm working on JDEVELOPER 11.1.1.5 and I created a table of the ADF. There are 5 columns are visible = false. Now, when my table, it shows below the collection of panels as hidden columns: 5. I don't want to show this. How can I achieve this?

    Features off who will make and how?

    Please think!

    Kind regards
    Shah

    Try to set the property featuresOff = "status bar".

    Timo

  • The hidden column dimensions are break Internet Explorer on the client

    Hello
    We have an implementation on a customer system 11. We had to hide some dimensions of the column in some of web forms. Every time that the clients connect and try to open these types of forms where there is the hidden column dimensions, process internet explore in the customer hits the use of 50% and never to open the form. More interesting still, process continues to run even if we stop planning and essbase servers. I tried the same on the two planning 11.1.1.1 and 11.1.1.2 and unfortunately the results are the same. I would be very surprised if I'm the only one facing this problem. Otherwise I have to miss a few essential adjustments to bring.

    Thanks in advance & Best looks,
    Alp

    I just got an additional update for the SR, I logged with Oracle. looks like a bug, here's what the analyst:

    "Thank you for your update... On further research on your case, I replicated the issue at my end as well and found the same problem...

    When I found this question in order to be logged as a BUG and our development team worked on this...

    I enclose this SR this BUG... »

    Will update with something else I hear...

    Out DQ

  • Involuntary and moving the hidden columns after correction in the SQL

    Hello

    I am very new to the APEX and created an interactive report. I was to adjust manually using SQL column name in the Source of the region box and noticed one of my columns moved to the right of the report.

    When I unstapled "column_name" AS "column 1" disappeared from the column of the report.

    I cannot find any setting where it is specified as hidden, and when I click to filter the report via the Actions button, it appears under the section 'Other' under the section 'displayed '.

    Is there an easy way to display this column?

    Thank you very much

    Matthew

    1135826 wrote:

    Please update your forum profile with a recognizable username instead of "1135826": Video tutorial how to change username available

    Always include the information referred to in these guidelines when you post a question: How to get the answers from the forum

    I am very new to the APEX and created an interactive report. I was to adjust manually using SQL column name in the Source of the region box and noticed one of my columns moved to the right of the report.

    When I unstapled "column_name" AS "column 1" disappeared from the column of the report.

    I cannot find any setting where it is specified as hidden, and when I click to filter the report via the Actions button, it appears under the section 'Other' under the section 'displayed '.

    Is there an easy way to display this column?

    After adding new columns or change the names of columns in an existing IR, you must select them for display as developer and Save the new report as the default main.

  • Create snapshot for all columns in a tableview, including hidden columns

    I am trying to create a snapshot of a tableview. The table view has width fixed on the screen, but can have multiple columns. When a snapshot of the tableview is taken only the columns that are visible appear in the image and the remaining columns that are hidden and who must scroll by a scroll bar does not appear. How to do this. is it possible. code example will be a great help.

    Thank you.

    public static WritableImage createSnapShotOfANode(Node node, int width, int height) {
            WritableImage img = new WritableImage(width, height);
            img = node.snapshot(null, img);
            return img;
        }
    

    In this method, I pass a tableview as a node. the width of the tableview as setting width and height.

    This takes only the snapshot of the visible columns but not all columns. I also added the width of all columns and that past as the param for the width parameter, but no change.

    How to do this.

    1. Remove the TableView to its current stage.
    2. Create a new scene.
    3. Put the TableView in the new scene.
    4. Take a snapshot of the new scene.
    5. Replace the TableView in its original scene.
  • onMouseOver displays the ToolTip of hidden column of the classic report

    What: The goal:
    Access more information that fits on a single line of the screen without using multiple fixed lines.

    Background:
    Classic report with 18 data elements (columns) visible. At the search box, and the user can choose the number of rows displayed.
    Some data elements can be long (20 to 30 characters) compared to the width of the screen. The element more right data risk of 100 characters.

    Proposed strategy:
    (1) display the n first characters of the item (s) long in the report.
    (2) display the entire item onMouseOver.

    Proposed approach:
    (1) for each column with the data of type long, contain the integer value in a hidden item.
    (2) value of (hidden) long display in tooltips (bubble? / ball?) on this value onMouseOver.

    Note: It is not framed to help/Help for a column but the display of the value of long type for a particular element in the line of a column.

    Search feature:
    (1) to reduce maintenance, wants to set up for several columns using a single common block of code.

    Question:
    In view of the other approaches, you know, it's a good approach to achieve the goal? Alternative approaches?

    Howard

    Well it took some time, and you really made me work for it. :)

    For flight hover end result on the job column Ln Nm.
    http://Apex.Oracle.com/pls/Apex/f?p=991202:1

    I added some old code, I had laying around. It adds a bubble that will stay for 5 seconds or until you click Next or move to another record.

    What I would do at this point, it is simply truncate the length of the Nm long to something short (with a substr). Use any indicator wished to hover. Like for example these glasses it's really up to you.

    You will see there is a PLSQL AJAX callback where you can retrieve and format the content of the pop-up window to everything you want. You can make it real.

    Here's what I did:
    1. the new procedure of ShowJob javascript.

    function ShowJob(pThis,pId){
         this.dTimeout;
          clearTimeout(this.dTimeout);
          this.dGet = dGet;
          this.dShow = dShow;
          this.dCancel = dCancel;
          var get = new htmldb_Get(null,$v('pFlowId'),'APPLICATION_PROCESS=FULL_LONG_NAME',$v('pFlowStepId'));
          this.dGet();
         return;
    
         function dGet(){
               this.dTimeout = setTimeout("this.dCancel()",6500);
              get.addParam('x01',pId);
               get.GetAsync(dShow);
         }
    
         function dShow(){
               $x_Hide('rollover');
               if(p.readyState == 1){
               }else if(p.readyState == 2){
               }else if(p.readyState == 3){
               }else if(p.readyState == 4){
                     $x('rollover_content').innerHTML = p.responseText;
                     $x_Show('rollover');
    
                var l = findPosX(pThis)+pThis.offsetWidth+5;
                     var t = findPosY(pThis);
    
                $x_Style('rollover','left',l + 'px');
                     $x_Style('rollover','top',t + 'px');
    
    // This math would center on the vertical
    //                 $x_Style('rollover','left',findPosX(pThis)+pThis.offsetWidth+5);
    //                 $x_Style('rollover','top',findPosY(pThis)-($x('rollover').offsetHeight/2)+($x(pThis).offsetHeight/2));
                   document.onclick = function(e){
                   dCheckClick(e);
                   }
               }else{return false;}
         }
         function dCheckClick(e){
              var elem = html_GetTarget(e);
              try{
                        var lTable = $x_UpTill(elem,"DIV");
                        if(lTable.id!='rollover_content'){dCancel();}
                        else{}
              }catch(err){dCancel();}
         }
    
         function dCancel(){
               $x_Hide('rollover');
              document.onclick = null;
               get = null;
         }
    }
    

    2 rollover div on the page footer (div id = "reversal"...). Of course, this could also be a region.

    < div id = "reversal" style = "display: none;" color: black; background: #FFF; border: 2px solid #369; width: 290px; position: absolute; padding: 4px; » >
    < div id = "rollover_content" > < / div >
    < / div >

    3 PLSQL AJAX callback. : FULL_LONG_NAME

    -- select your value with apex_application.g_x01
    
    htp.p('You hover over ' || apex_application.g_x01 || '
    '); htp.p('Here is the Full Long Name: XXXXXXX XXXXXXX XXXXXXX 1234565');

    4 changed the Nm of Long column to have a link with the onmouseover call that calls the new procedure ShowJob. I made the assumption that with the NUM parameter, you could go the full record of what you need.
    onmouseover = "ShowJob(This,#num#) '"

    This should be it.

    Let me know what you think.
    -Jorge

    Published by: jrimblas on April 22, 2013 13:05: added code to validate for the completion

  • Retention of grid SV of groups of rows and hidden columns parameters

    Hello

    I noticed that whenever I update my SV grid, rows and columns, I've hidden and grouped become visible and groups are maximized ('+' ' becomes '-'). And what I have to do is go back and hide rows and columns and minimize the grouping. I have the "Use Excel formatting" option checked in Smartview. No idea how this can be fixed to keep my settings?

    Thank you!

    Uncheck the option "adjust the width of the columns.

  • A hidden column in CSV export

    I don't know if it miss me something or what, but you can print a hidden export column?

    For example, in the browser web, I don't want to show him the ID column, but when they export to CSV, I want to include the column ID.

    I know I can create an export script and do call it, but it's a very dynamic and report would like to do it from the report attributes, or print integrated report region attributes. If I change the column and select include in export = Yes and see the column = no, it does not export.

    What APEX version do you use?

    APEX 3.2, it is pretty easy to do, you add conditions to display on the columns you want to see in the export file. The condition is: apex_application.g_excel_format = TRUE. Whenever she is fake, your column will not appear on your report page, but it will be true when you click on your link for export.

  • How do you get the invisible/visible or hidden columns with the box?

    Hi, I'm doing a column in a table visible or invisible when I click on a check box or a button.

    I have a table row with mutiple columns of text objects in, I put the "repeat for each line item data" 4 minutes, so I have four displayed on the page.

    I put the box with the following script, but it's only the first line of "Received" visible when I click on the check box. and not the other

    3 «received» textobjects.

    example:

    Form1.PurchaseOrder.ProductHeader.Receivedchkbox::click - (JavaScript, client)

    If (this.rawValue == '1') {}
    Form1.PurchaseOrder.ProductDetails.detail.received.presence = "visible";
    Form1.PurchaseOrder.ProductDetails.detailHeader.StaticReceived.presence = "visible";
    }
    on the other
    {
    Form1.PurchaseOrder.ProductDetails.detail.received.presence = "invisible";
    Form1.PurchaseOrder.ProductDetails.detailHeader.StaticReceived.presence = 'invisible '.


    }

    So what I try to achieve is to shape make the textobject "Receipts", "invisible or hidden" by default.

    Then when filling out form click on the checkbox it become visible, and vice versa.

    So how I apply a script like this to hide all instances of "Received" 4 and also new I add by addinstance script?

    I have attached the form, if someone could give me a help to develop it?

    Thank you!!!

    Hello

    It does help to see the form!

    Basically, you will need to loop through all instances of the detail row and change the presence of the object received individually.

    First the script calculates the number of lines:

    var vRows = Productdetails._detail.count;
    

    The use of _ before repeating detail is a shortcut for instanceManager.

    Then the if statement would change a little, with the insertion of a statement that works across all four lines.

    if (Receivedchkbox.rawValue == true) {
         form1.purchaseOrder.Productdetails.detailHeader.StaticReceived.presence = "visible";
         for(var i=0; i
    
    Attached form.
    Good luck
    Niall
  • Hidden columns in oracle 11 g and re - view it...?

    Hello

    I'm new on this and I need to hide a column and re post. I don't have to use views and I have to work with ORACLE 11 g.

    Please suggest.

    Thank you

    Perhaps you have discovered why programmers who use SELECT * instead of projecting only the columns they need, should be shot.

    Returns null for columns acceptable? You can do it with a policy of the CAE.

  • How can I get rid of a hidden column?

    See the Document without title - I need to remove the content from the left column. Is there a way to get rid of the right column? That would be nice, because I really don't want to have to retype all the text and redo all the links. I just need to see if I can get rid of a line of code somewhere.

    OMG!  What is with all the redundant inline styles?  I hope that it is not used for a web site.

    change inline styles, you have now this:

    margin: 0 auto; / * with width, this centers on screen page * /.

    padding: 0 10px 10px 0;

    float: left; / * you don't need this * /.

    Width: 550px; / * adjust width as required * /.

    border-right: 1px solid #C1DBDD;

    Top: 0px; / * you don't need this * /.

    do-family: Verdana, Arial, Helvetica, without serif.

    do-size: 14px; / * make fonts readable on large screens * /.

    Repeat the procedure for your title.

    Nancy O.

Maybe you are looking for

  • Operating system is 10.8.5 with iTunes 12.3.2.35! A DISASTER! I need to downgrade iTunes.

    I'm under 10.8.5 mountain lion because it has been very stable for me. However, I updated iTunes to 12.3.2.35! I refuse to OS level... but I'd love to downgrade iTunes! I am a singer with more than 400 songs and before I updated I got a nice working

  • VI of closing

    Hello Just a simple question: Why doesn't this work? With a loop that it works perfectly, with two it doesn't? Why? I mean the two structures of the event have their own instance, and why you can not control two separate event with a single command s

  • T610, how to maintain existing hostname after re-imaging?

    HI people, I have sp3 HPDM 4.5. image of T610 ThinPro 4.3 current (T6X43202) Updated agent 4.5.3668.17625 As soon as I have a camera HPDM, up to now, things I've tried, work as it should, as far as I can tell. I can capture and deploy settings and pi

  • Blue button ThinkVantage

    Dear all, I have the model T60p 8743. Blue Center button and productivity is not displayed (of work). I've recently updated thinkvantage update by downloading of lenovo, also udated shortcut keys. Thanks in advance for the help Concerning Yogi

  • my laptop does not recognize my wireless network card

    I have a laptop HP Pavilion that I've owned for about 4 years now and it has built in wireless network card. Suddenly, I can't connect to the internet and its saying that I don't have. (ONDAAAH) I think it's NVIDIA. I went to Device Manager and I thi