Focus/highlight all the columns in TableLayoutManager

Is possible with my code highlight all columns?

public NewScreen () {}
   
int [] columnStyles = new int]
{
TableLayoutManager.USE_PREFERRED_SIZE,
TableLayoutManager.USE_PREFERRED_SIZE,
TableLayoutManager.USE_PREFERRED_SIZE,
TableLayoutManager.USE_PREFERRED_SIZE,
TableLayoutManager.USE_PREFERRED_SIZE,
TableLayoutManager.USE_PREFERRED_SIZE
};
       
int [] columnWidths = new int]
{
30,
110,
110,
110,
110,
110
               
};
               
VFM VerticalScrollManager = new VerticalScrollManager (Display.getWidth (), 128);
       
TableLayoutManager colFMgr = new TableLayoutManager (columnStyles, columnWidths, 10, Manager.HORIZONTAL_SCROLL);
       
for (int i = 0; i)<10;i++){     >
Bitmap BitmapField = new BitmapField(Bitmap.getBitmapResource("img/item.png"),Field.FOCUSABLE;)
colFMgr.add (bitmap);
colFMgr.add (new LabelField ("Label"));
colFMgr.add (new LabelField ("ABC"));
colFMgr.add (new LabelField ("DC"));
colFMgr.add (new LabelField ("FDG"));
colFMgr.add (new LabelField ("A"));
}
VFM. Add (colFMgr);
Add (VFM);
}

Check this link http://supportforums.blackberry.com/t5/Java-Development/Displaying-a-list-of-complex-records/ta-p/44...

Tags: BlackBerry Developers

Similar Questions

  • How can I get my email back contacts views? I can only see my contacts 'online status. I accidentally deleted all the columns and cannot see contacts, emails.

    I can only view my contacts by "online status" in windows live mail.   I accidentally deleted all the columns and cannot see contacts, emails. How to bring back my columns?

    Hi celine,.

    For a more specialized on issue of Windows Live Mail help, post your query on the Windows Live Forum. Windows Live Forum - http://windowslivehelp.com/

  • Error when selecting all the columns in the table

    Hi all

    When I write a query by selecting all the columns of the table fromo using * function as well as another new column, I get the error,

    Select *, to_char (hiredate, 'fmday') day

    WCP

    where to_char (hiredate, 'fmday') ('Monday');

    ERROR on line 1:

    ORA-00923: THE KEYWORD not found where expected

    I need all the columns in the table with the column user-defined 'day '. Is there a way I can get the result like this?

    Hello

    padders wrote:

    Alias table to use...

    Or the name of the table, for example

    Select emp.*, to_char (hiredate, "fmday") as day

    WCP

    where to_char (hiredate, 'fmday') ('Monday');

    The bottom line is that * must be qualified (with a table name or alias) when the SELECT clause includes anything else besides *.

  • Bug: 4.1.1 as a table with all the columns of conditionals

    I need to make all the columns in a tabular form conditional because in some situations the editable elements must not appear. For some reason, simply change the columns in the form of work conditional stop valves, the ApplyMRU/ApplyMRD process works but not action lines changed. I can't understand why all or of a workaround.

    You can easily replicate this in 4.1.1 creating a form of table with the wizard by selecting a column in the form. Then subordinate the selector colunn line and your editable column using the expression 1 = 1 plsql. The form is displayed all the same with these real conditions but it does not work. Weird how?

    Rod West

    Rod,

    In your scenario, the tabular rendering engine may not place the hidden status columns, internal tabular form in your form, i.e. the columns that contain amounts of control, etc.. The logic that puts these columns search the last column unconditional, visible in the form of your table and includes hidden fields here. If you need at least a column that is always indicated to do so. This can be an empty column. I filed a bug (#13881803) to do this, so we can look to improve this logic.

    Kind regards
    Marc

  • Display all THE columns in the session state for a collection V4.0

    I loaded columns into a collection of APEX c001 to c020. as follows
    I'm in 1.:P1_SPC_NO_OF_SPECIMENS LOOP
    htmldb_collection.add_member (p_collection_name = > 'SPECIMEN_BATCH',)
    p_C001 = >: P1_LEVEL,.
    p_C002 = >: P1_PARENT_ID,.
    p_C003 = >: P1_SPC_TYPE,.
    p_C004 = >: P1_SPC_BANK_ASSIGNED,.
    p_C005 = >: P1_SPC_TRIAL,.
    p_C006 = >: P1_SPC_CONCENTRATION,.
    p_C007 = >: P1_SPC_SERUM_TAKEN_DATETIME,.
    p_C008 = >: P1_SPC_SERUM_FROZEN_DATETIME,.
    p_C009 = >: P1_SPC_CELL_COUNT,.
    p_C010 = > case: P1_SPC_CELL_COUNT_UNIT when '?' then "else: P1_SPC_CELL_COUNT_UNIT end.
    p_C011 = >: P1_SPC_VIABILITY_STATUS,.
    p_C012 = >: P1_SPC_VIABILITY_REASON,.
    p_C013 = >: P1_SPC_INITIAL_QUANTITY,.
    p_C014 = > case: P1_SPC_QUANTITY_UNIT when '?' then "else: P1_SPC_QUANTITY_UNIT end.
    p_C015 = >: P1_SPC_COMMENTS,.
    p_C016 = >: P12_SPC_VOL_OF_SAMPLE,.
    p_C017 = >: P12_SPC_DILUTION_FACTOR,.
    p_C018 = >: P12_SPC_A260,.
    p_C019 = >: P12_SPC_A280,.
    p_C020 = >: P12_SPC_RIN);
    END LOOP;

    When I discovered the contents of the collection in session state, I don't see until c010. How can I view all the columns 'C' of a collection in session state? I know that the values are in the columns to c020 c011 as I can successfully insert 20 values into a table!

    Thanks in advance
    Paul P

    Hello

    Better create report own region for debugging.

    SELECT *
    FROM apex_collections
    WHERE collection_name = 'SPECIMEN_BATCH'
    

    You can set the status of report never when you need, or just delete the entire region.

    Kind regards
    Jari

  • All the columns after first column null/white

    Database: 10.2.0.1
    OS: Windows xp

    I need your help in the future. I have a table whose columns varchar2 20. Table looks something like this:
    -------------------------------------------------------------------------------------------------------------------------------------------------------------
    Col1                       Col2                       Col3                                  Col4                    Col5               Col6...Col20
    -------------------------------------------------------------------------------------------------------------------------------------------------------------
    In some operating systems, you can use a character in place of HOST such as "$" in Windows.                         On some platforms,
    SQL*Plus removes the       SQLTERMINATOR              (a semicolon by default)              before the HOST command                    A workaround for this     
    Power required (all columns after first null/white column for a given row)
    Output
    On some platforms,
    A workaround for this     
    I'm sorry, I'm not having the machine in this moment, which is why I'm not necessary validation create table and SAMPLES.

    I hope I'm clear in my question.

    Thank you.

    Hello

    Assuming that you know a few suibstring who never appears in the data, you can get all the columns after the first NULL like this:

    SELECT     REPLACE ( REGEXP_SUBSTR ( '/' || col1  ||
                                         '/' || col2  ||
                                         '/' || col3  ||
                          ...
                                         '/' || col20 ||
                           , '//.*'
                           )
               , '/'
    --           , ' '
               )
    FROM    table_x
    ;
    

    As indicated, this returns the concatenated text, without any delimiter.
    If you want the delimiter, omit to REPLACE them; Just use REGEXP_SUBSTR.
    If you want a delimiter which may appear in the text, then a comment the argument 3 to REPLACE.

  • Focus on all the controls

    Hello

    I want to be able to move focus to all controls, as authorized by the option "All controls" in system preferences > keyboard > shortcuts. However, after a few days, the option keeps changing by itself to "Text boxes and lists only.

    I had to re - select dozens of times over the past months option. If I remember correctly, the problem started to appear with El Capitan.

    Can someone help me solve this problem? Thanks in advance.

    Kind regards

    Jonas

    Control + F7 changes this setting. Maybe you accidentally hit this key combination?

  • all the columns in a database instance

    Hi all

    I need all these columns in the database for all tables to check some specific query ones. We have a table for the columns as we ALL_TABLES for all tables?

    Hello

    954475 wrote:

    Hi all

    I need all these columns in the database for all tables to check some specific query ones. We have a table for the columns as we ALL_TABLES for all tables?

    Yes, there is ALL_TAB_COLS.

    'ALL' in ALL_TAB_COLS, as in ALL_TABLES. You hear all those you have privileges to see, not necessarily those in the database.  The data dictionary views whose names begin with DBA_ (for example, DBA_TAB_COLS and DBA_TABLES) include all those in the entire database.  Usually, not everyone is allowed to use the DBA_ views.

  • When I have a constarint of deferable in the Oracle database, while creating the ADF BC, all the columns in this table is marked as primary key. any help on how to fix this?

    DROP TABLE TWO.

    DROP TABLE ONE;

    CREATE TABLE 'A

    (

    ACTIVATE THE 'ID' NUMBER NOT NULL,

    ACTIVATE THE "SERIAL" VARCHAR2 (10 BYTE) NOT NULL,

    ACTIVATE THE "FIRST NAME" VARCHAR2 (30 BYTE) NOT NULL,

    ENABLE 'PK_ONE' CONSTRAINT PRIMARY KEY ('ID', "SERIAL")

    )

    TABLESPACE 'USERS ';

    CREATE TABLE "TWO"

    (

    ACTIVATE THE 'ID' NUMBER NOT NULL,

    ACTIVATE THE "SERIAL" VARCHAR2 (5 BYTE) NOT NULL,

    ACTIVATE THE "DEGREE_CODE" VARCHAR2 (10 BYTE) NOT NULL,

    'TEST_NAME' VARCHAR2 (20 BYTE),

    ACTIVATE THE KEY PRIMARY CONSTRAINT 'PK_TWO' ('ID', 'SERIAL'),

    "FK_TWO' FOREIGN KEY ('ID', 'DEGREE_CODE') CONSTRAINT REFERS TO 'ONE' ('ID', 'SERIAL') MAYBE DEFERRED ENABLE

    )

    TABLESPACE 'USERS ';

    If we use the above sql scripts to create the tables and create the ADF BC using the above 2 tables, all 4 columns in table 2 are reported as the primary key.

    User, tell us your version of Jdev, please!

    You should file an SR with support.oracle.com for this.

    As a work around you can change the area of occurrence, and remove the check mark key pirmary on the unwanted columns. After that, it should work.

    Timo

  • count all the columns in the tables belonged to the user

    I want to get a handle on the width of the collar of ALL tables owned by a user.
    I have this syntax to check individual tables:
    SELECT COUNT (*)
    Of user_tab_columns
    WHERE table_name = < tbl_name >;

    But, I did a DESC on the USER_TAB_COLUMNS and it is not an owner\user that I can use to get all the tbls.

    Any suggestions how I can get it to go through all the tables (I will be rolled up the output to a file)

    Hello

    USER_TAB_COLUMNS view is not the owner because all available information is on your own schema.

    The DBA_TAB_COLUMNS view has the same information more OWNER. Then, you can query the number of columns for each table of any user. For example:

    SELECT TABLE_NAME, COUNT(*)
    FROM DBA_TAB_COLUMNS
    WHERE OWNER = 'SCOTT'
    GROUP BY TABLE_NAME
    

    Or, for all schemas

    SELECT OWNER, TABLE_NAME, COUNT(*)
    FROM DBA_TAB_COLUMNS
    GROUP BY OWNER, TABLE_NAME
    ORDER BY OWNER, TABLE_NAME
    

    Kind regards
    Miguel

  • Highlight all the text in Textarea

    Hi guys

    I have several text boxes in a VBox called documentContainer. Now, what I want to do, is when a user presses the button 'a', the text all textareas is selected. I managed to make it work partially because it will select all the text in the current text box, but it will not select the text in the other textareas. Code below:

    if(event.keyCode == 65) {
         for(var i:uint=0; i<documentContainer.numChildren; i++) {
               var taTextSelection:TextArea = documentContainer.getChildAt(i) as TextArea;
               taTextSelection.setSelection(0, taTextSelection.length);
         }
    }
    

    I think that's how it's done:

    var myString:String = "test string";
    System.setClipboard (myString);

    You will not be able to read the Clipboard once defined in Flex though. You can in the AIR. Here's another one I found on a blog:



    http://www.Adobe.com/2006/mxml '.
    Layout = "vertical".
    verticalAlign = "middle".
    backgroundColor = "white" >


            Import mx.controls.Alert;

    private void button_click (): void {}
    System.setClipboard (richTextEditor.text);
    Alert.Show ("Done");
    }
    ]]>
       


           
    label = "copy the text to the Clipboard.
    toolTip = "Click here to copy the contents of the RichTextEditor control to the operating system Clipboard."
    Click = "Button_Click (); "/ >
       


    Text = "The quick brown fox jumped over the lazy dog."
    Width = '100% '.
    Height = "100%" / >

  • Count of values in all the columns when there is no group by attribute in table

    I have the table which contains attributes of bucket 10 for a product_id. Each segment can contain values of x 3 x 20.
    create table products_quality 
    (PROD_ID varchar2(5),
    bkt1 varchar2(3),
    bkt2 varchar2(3),
    bkt3 varchar2(3),
    bkt4 varchar2(3),
    bkt5 varchar2(3),
    bkt6 varchar2(3),
    bkt7 varchar2(3),
    bkt8 varchar2(3),
    bkt9 varchar2(3),
    bkt10 varchar2(3));
    
    Insert into products_quality values ('332','x12','x12','x12','x12','x12','x12','x12','x12','x12','x12');
    Insert into products_quality values ('2375','x19','x19','x19','x19','x16','x16','x16','x10','x10','x10');
    Insert into products_quality values ('2558','x19','x19','x19','x19','x16','x16','x16','x10','x10','x10');
    Insert into products_quality values ('2729','x19','x19','x19','x19','x16','x16','x16','x10','x10','x10');
    Insert into products_quality values ('2833','x19','x19','x19','x19','x16','x16','x16','x10','x10','x10');
    Insert into products_quality values ('2970','x19','x19','x19','x19','x16','x16','x16','x10','x10','x10');
    Insert into products_quality values ('3115','x19','x19','x19','x19','x16','x16','x16','x10','x10','x10');
    Insert into products_quality values ('3251','x19','x19','x19','x19','x16','x16','x16','x10','x10','x10');
    Insert into products_quality values ('3580','x19','x19','x19','x19','x16','x16','x16','x10','x10','x10');
    Insert into products_quality values ('4511','x19','x19','x19','x19','x16','x16','x16','x10','x10','x10');
    Insert into products_quality values ('5904','x19','x19','x19','x19','x16','x16','x16','x10','x10','x10');
    Insert into products_quality values ('6875','x19','x19','x19','x19','x16','x16','x16','x10','x10','x10');
    Insert into products_quality values ('6982','x20','x20','x18','x18','x18','x18','x9','x9','x9','x9');
    Insert into products_quality values ('6983','x20','x20','x18','x18','x18','x18','x12','x12','x12','x12');
    Insert into products_quality values ('22848','x20','x20','x18','x18','x18','x18','x6','x6','x6','x6');
    Insert into products_quality values ('8818','x16','x16','x16','x16','x16','x16','x16','x12','x12','x12');
    Insert into products_quality values ('11478','x19','x19','x19','x19','x16','x16','x16','x10','x10','x10');
    Insert into products_quality values ('12783','x19','x19','x19','x19','x16','x16','x16','x10','x10','x10');
    Insert into products_quality values ('19742','x18','x18','x18','x18','x18','x8','x3','x3','x3','x3');
    Insert into products_quality values ('20074','x19','x19','x19','x19','x19','x19','x16','x10','x10','x10');
    Insert into products_quality values ('20093','x19','x19','x19','x19','x16','x16','x16','x10','x10','x10');
    Insert into products_quality values ('22392','x19','x19','x19','x19','x16','x16','x16','x10','x10',null);
    Insert into products_quality values ('22392','x19','x19','x19','x19','x16','x16','x16','x10','x10',null);
    Insert into products_quality values ('23287','x19','x19','x19','x16','x16','x16','x13','x9','x9',null);
    Insert into products_quality values ('23794','x20','x18','x18','x9','x9','x9','x9','x9','x9','x9');
    Insert into products_quality values ('23957','x18','x11','x11','x11','x11','x11','x7','x3','x3',null);
    Insert into products_quality values ('23957','x18','x14','x14','x14','x14','x10','x6','x6','x6',null);
    Insert into products_quality values ('26886','x10','x10','x10','x6','x3','x3','x3',null,null,null);
    Insert into products_quality values ('27794','x20','x20','x18','x11','x11','x11','x9',null,null,null);
    Insert into products_quality values ('27795','x20','x20','x18','x9','x9','x9','x9','x9','x9',null);
    Insert into products_quality values ('27795','x12','x12','x12','x12','x12','x12','x12',null,null,null);
    Insert into products_quality values ('28013','x20','x13','x13','x13','x13','x13','x13',null,null,null);
    Insert into products_quality values ('28270','x19','x19','x19','x14','x14','x11','x8',null,null,null);
    Insert into products_quality values ('28732','x20','x13','x13','x13','x13','x13','x13',null,null,null);
    Insert into products_quality values ('29042','x20','x18','x9','x9','x9','x9','x9',null,null,null);
    Insert into products_quality values ('29279','x20','x20','x18','x9','x9','x9','x9',null,null,null);
    Insert into products_quality values ('29279','x20','x13','x13','x13','x13','x13','x13',null,null,null);
    Insert into products_quality values ('29487','x20','x20','x20','x19','x9','x9','x9',null,null,null);
    Insert into products_quality values ('29550','x19','x19','x19','x12','x12','x12','x9',null,null,null);
    Insert into products_quality values ('29833','x20','x12','x12','x12','x12','x12','x12',null,null,null);
    Insert into products_quality values ('30174','x5','x5','x5','x5','x5','x5','x5',null,null,null);
    Insert into products_quality values ('30339','x20','x9','x9','x9','x9','x9','x9',null,null,null);
    Insert into products_quality values ('30339','x13','x13','x13','x13','x13','x13','x13',null,null,null);
    Insert into products_quality values ('32017','x15','x15','x15','x9','x9','x9','x9',null,null,null);
    Insert into products_quality values ('34680','x20','x20','x19','x9','x9','x9','x9',null,null,null);
    Insert into products_quality values ('34680','x20','x12','x12','x12','x12','x12',null,null,null,null);
    Insert into products_quality values ('39083','x20','x18','x12','x12','x12','x12',null,null,null,null);
    Insert into products_quality values ('45800','x20','x20','x18','x12','x12','x12',null,null,null,null);
    Insert into products_quality values ('47650','x12','x12','x12','x12','x12',null,null,null,null,null);
    I want to count the appearance of each value in each of the compartments. The result is as follows:
    value     bkt1     bkt2     bkt3     bkt4     bkt5     bkt6     bkt7     bkt8     bkt9     bkt10
    x3     0     0     0     0     1     1     2     2     2     1
    x4     0     0     0     0     0     0     0     0     0     0
    x5     1     1     1     1     1     1     1     0     0     0
    x6     0     0     0     1     0     0     2     2     2     1
    x7     0     0     0     0     0     0     1     0     0     0
    x8     0     0     0     0     0     1     1     0     0     0
    x9     0     1     2     7     8     8     11     4     4     2
    x10     1     1     1     0     0     1     0     17     17     15
    x11     0     1     1     2     2     3     0     0     0     0
    x12     3     5     6     8     8     7     4     3     3     3
    x13     1     4     4     4     4     4     5     0     0     0
    x14     0     1     1     2     2     0     0     0     0     0
    x15     1     1     1     0     0     0     0     0     0     0
    x16     1     1     1     2     18     18     18     0     0     0
    x17     0     0     0     0     0     0     0     0     0     0
    x18     3     4     9     4     4     3     0     0     0     0
    x19     20     20     21     18     1     1     0     0     0     0
    x20     18     9     1     0     0     0     0     0     0     0
    How can I write an SQL to do this?

    Thank you.

    Hello

    The problem in my previous query was SELECT DISTINCT : the SEPARATE must not have been there.

    And I missed the party, including the values (such as 'x 4') which do not appear in the data. Sorry about that.
    I don't know how to do this with a solution UNPIVOT.

    Here's something (very similar to the idea of Michaels) who will work in Oracle 9 (or higher):

    WITH       all_values  AS
    (
         SELECT     'x' || LEVEL     AS val
         ,     LEVEL            AS sort_order
         FROM     dual
         WHERE     LEVEL     >= 3          -- Lowest number to include
         CONNECT BY     LEVEL <= 20     -- Highest number to include
    )
    SELECT     a.val
    ,     NVL (SUM (CASE WHEN a.val = p.bkt1  THEN 1 END), 0)     AS bkt1
    ,     NVL (SUM (CASE WHEN a.val = p.bkt2  THEN 1 END), 0)     AS bkt2
    ,     NVL (SUM (CASE WHEN a.val = p.bkt3  THEN 1 END), 0)     AS bkt3
    ,     NVL (SUM (CASE WHEN a.val = p.bkt4  THEN 1 END), 0)     AS bkt4
    ,     NVL (SUM (CASE WHEN a.val = p.bkt5  THEN 1 END), 0)     AS bkt5
    ,     NVL (SUM (CASE WHEN a.val = p.bkt6  THEN 1 END), 0)     AS bkt6
    ,     NVL (SUM (CASE WHEN a.val = p.bkt7  THEN 1 END), 0)     AS bkt7
    ,     NVL (SUM (CASE WHEN a.val = p.bkt8  THEN 1 END), 0)     AS bkt8
    ,     NVL (SUM (CASE WHEN a.val = p.bkt9  THEN 1 END), 0)     AS bkt9
    ,     NVL (SUM (CASE WHEN a.val = p.bkt10 THEN 1 END), 0)     AS bkt10
    FROM               all_values         a
    CROSS JOIN      products_quality  p
    GROUP BY  a.val
    ORDER BY  MIN (a.sort_order)
    ;
    

    If you have a real table with one line per possible Val, then don't need it the all_values questioning.
    It would probably be a good idea to have such a table. You can use it for foreign key constraints, for example.

    Thanks for posting the CREATE TABLE and INSERT. That makes things a lot easier.
    I'm sorry to complain about having too many examples of data. It is quite easy to this problem of a few lines in comment and ignore some columns. It is often better to have too much than nothing at all.

  • The data forms Web site - how to display the dimensions of all the columns?

    Hello

    I'm working on a data form. I took accounts in lines and period, year and scenario in my columns. The first pass is displayed correctly-> P #JAN. Y#@CUR. S #ACTUAL
    But when I used the second col-> P #FEB. Y#@CUR. S #ACTUAL and save my data form. I can see the year and only col1 scenario dimension. Col2: Only FEB appears without year and scenario. How can I spread the year and the other columns scenario, rather than display only in col1. Your help will be greatly appreciated. Thank you.

    If you use the standard Web in the workspace form tool, you can bring up the form in edit mode, select the Details tab and there is an option "Repeat the headers", Just check the box and you should be good to go.

    JOINT TASK FORCE

  • I still have not found "help" to tell me how to remove all the lines and columns beyond those needed for my spreadsheet.

    I used several worksheets.  More allows me to specify the rows/columns and then delete them.  This is to remove all the lines/columns beyond those set up and formatted for my spreadsheet.   I tried many ways to remove all additional lines/columns, but without success.  I even took the time to scroll down/on to highlight all the unnecessary lines and columns, but they do not remove it.
    Any suggestions?  I used spreadsheets most allow me to specify the number of rows/columns for my worksheet

    You can ask your question in the office | Excel Forum because it is not really a problem of Windows XP performance and maintenance.

    Office | Excel

    http://answers.Microsoft.com/en-us/Office/Forum/Excel

    Also, providing specific information may help to get a faster response or better, such as the version of Office or Excel? version of Windows XP? Home, Pro, 32-bit or 64-bit.

    I hope this helps.

  • Changing all the semantic VARCHAR2 length in BYTE to CHAR columns

    Hello

    our database is to use character set AL32UTF8, i.e. multibyte.

    All our VARCHAR2 columns have been specified as VARCHAR (xxx) semantic unspecified length explicit, which makes VARCHAR(xxx BYTE) because NLS_LENGTH_SEMANTICS is set on 'BYTE' (default Oracle).

    I wonder now if it would cause problems to enter and execute the ALTER TABLE statement to change all the columns of VARCHAR2(xxx BYTE) to VARCHAR2(xxx CHAR), leaving the same xxx. For example, if a VARCHAR2 column (100 BYTE) would be amended to be VARCHAR2(100 CHAR).

    If I am not entirely mistaken, - on the contrary - it would make the columns longer, not shorter; I expect to not get errors on the values of existing records being too long to change the specifications of the column in this way (as it may happen when the shortening of a VARCHAR column, for example, of varchar (10) to varchar (5)). So I think the ALTER TABLE statements should go without problem.

    I would also change NLS_LENGTH_SEMANTICS to TANK.

    Are there problems or consequences I might meet when I do this? I'm not worried about the implications for code enforcement external or such, but simply the integrity / performance / etc on the database level.

    It is a 11.2.0.x of Oracle database.

    Thank you

    MSA

    You can make this change to your drawings, but not for Oracle schemas or third party. It would usually not be supported.

    You will not get the errors associated with the data in the table. However, you can encounter errors due to:

    1 index of issues of key length - the maximum length of an index key in bytes (based on the column definitions, no real content column) is limited to about 70% of the size of the block of the tablespace containing the index. If you try to do a column belonging to a larger index key by applying the semantics of length in characters, you get an error if the change causes the index key limit.

    2. some columns cannot be changed. This includes, but may not be limited to, the columns that are referenced by expressions of virtual column and the functional index expressions, columns that have indexes defined on them, and columns field belonging to a partitioning key.

    3. you can not change the columns that store attributes of the type defined by the user in this way. You must change the definition of type instead.

    Also, do not change NLS_LENGTH_SEMANTICS initialization file. Include the keyword CHAR in your scripts or ALTER SESSION SET NLS_LENGTH_SEMANTICS = CHAR in these scripts. Value of the initialization file will affect all the scripts for Oracle products and third-party and can create tables with the semantics of unexpected length. Therefore, for compatibility reasons, this parameter in init.ora/spfile parameters is not recommended.

    Thank you

    Sergiusz

    Post edited by: Sergiusz Wolicki (Oracle)

Maybe you are looking for