MouseOver CLOB fields in the spreadsheet poster a long text string

I use SQL Developer 4.1.1.19.59. Running a query on a table with a CLOB field (for example, the view System V$ SQL) displays the CLOB column with «...» "at the end of the field. When I mouse over this column, I get a long string of text that extends on to my second monitor. A current colleague 4.0.0.12 version gets a beautiful bubble pop up that shows the wrapped around CLOB field is actually readable.

Is there a setting that controls this? Or is it a (bug) difference between the two versions of the SQL Developer? If it is a parameter, I was not able to find it through preferences.

Received a response from Oracle.

Try to set the following preferences:
-Open tools/preferences/environment
-set the 'Look and Feel' = Oracle
-define "Line terminator" = Platform Default

He fixed it. I had the 'Look and Feel', set to "Windows". Change to 'Oracle' now annoys me long SQL statements in a little easier to read the pop-up box.

I will still argue that it should display the text in this way, the 'Look and Feel' no matter what I choose. It will be fixed or changed in a later version.

Thank you

Brian

Tags: Database

Similar Questions

  • Function group with CLOB fields in the Select statement

    I try to query our following sql database. Remove the Clob (a.description) field I managed. But I need the Clob (a.description) field. Here is my sql class
    select  a.id_number, a.id_owner,  MAX (n.next_action_required)
                KEEP (DENSE_RANK LAST ORDER BY n.modified_date),
             MAX (n.modified_date) KEEP (DENSE_RANK LAST ORDER BY n.modified_date) 
    from table1 a, table2 n
    where a.id_number = n.id_number
    group by a.id_number, a.id_owner
    I tried the following which works sometimes, but not always because the Clob field length (a.description) varies; anywhere from 10 characters up to 12 000 characters. I get a few drafts with the following and some where the text is cut off. I can not write the correct dbms_lob.substr function.
    select  a.id_number, a.id_owner,  MAX (n.next_action_required)
                KEEP (DENSE_RANK LAST ORDER BY n.modified_date),
             MAX (n.modified_date) KEEP (DENSE_RANK LAST ORDER BY n.modified_date) , DBMS_LOB.SUBSTR (a.description, 8001, 10000)
    from table1 a, table2 n
    where a.id_number = n.id_number
    group by a.id_number, a.id_owner, DBMS_LOB.SUBSTR (a.description, 8001, 10000)
    Help, please. Thank you

    Maybe

    select id_number,
           id_owner,
           description,
           next_action_required,
           modified_date
      from (select a.id_number,
                   a.id_owner,
                   a.description,
                   n.next_action_required,
                   n.modified_date
                   row_number() over (partition by a.id_number,a.id_owner
                                          order by n.modified_date desc,n.next_action_required desc) rn
              from table1 a,
                   table2 n
             where a.id_number = n.id_number
           )
     where rn = 1
    

    Concerning

    Etbin

  • Write the spreadsheet in an array of strings on a different worksheet

    Hello

    is it possible to write the spreadsheet to a table of chains, but to an additional worksheet?

    I am writing the results of the spreadsheet, but I want to create a different worksheet so that I can put the raw data.

    is this possible?

    If so, how?

    You can't unless you start using ActiveX or report generation tool to connect with a real spreadsheet .xls file.

    You are read and write a text file in the form in the way of a spreadsheet with delimiters between values in a row and the lines of text on the other.  Text files have no understanding of the data being on a "sheet" and other data on another.  It is a peculiarity of the format property of Excel file (and thus other spreadsheets) that allows Excel what data need to be put on what spreadsheet.  It is not the kind of information that you can pass along the use of LabVIEW based text file i/o functions.

  • How to convert the currency amount in a text string?

    Is there a simple way to convert a quantity of money (with a variable number of characters but always two decimal places), a text string? Currently we send UPDATED at the end of a session, but the data warehouse is only set up to accept the text values.

    We use version 9.4 of the software if it makes a difference.

    Thank you very much
    Rob

    Hi Rob.
    You can concatenate a currency with an empty string "" which translates in the text, but that would give you the currency symbol or 2 decimal places.
    for example = concatenation of & «»

    £1.50 would release 1.5. You can format these rules, but it is annoying if you have had plenty of outings like this.

    text = the concatenation of ' £' & currency & padding

    table of Pseudo-regles
    padding =
    «. 00' if Trunc (currency, 0) = currency
    '0' if Trunc (currency, 1) = currency
    "' otherwise

  • I have two text fields, where the user will sign a text field and the other text field should be mandatory

    I have 2 text fields, and how can I do a condition when the text 1 field is entered, then they must enter data into the text field 2.  I know it seemed simple, but I'm just a beginner in this... Thanks in advance!

    Hello

    I'm sorry, I forgot this matter.

    Please try this code...

    If (this.isNull)

    {

    TextField2.validate.nullTest = 'error ';

    }

    on the other

    {

    TextField2.validate.nullTest = "disabled";

    }

    Hope than that,

    S, candy.

  • get the size of a select text string

    I have a script that works in Illustrator 10, but fails in CS5. Here is the code snippet. It fails to textSize = selection.textRange () .size

    I was trying different things, but I don't write a lot more code, so I'm rusty. I tried things, like: textSize = TextRange.CharacterAttributes.Size;

    Help me, I seem to be a dope.

    Douglas


    If (documents.length > 0) {}

    var doc = activeDocument;

    Get the size of the text in the control art number

    function findTextSize() {}

    selectedItems = selection.

    Make sure that option is selected.

    If (selectedItems.length == 0) {}

    Alert ("nothing is selected");

    return;

    } else {}

    pageObject = selectedItems;

    pageItemType = pageObject.typename;

    If (pageItemType == 'TextRange') {}

    textSize = TextRange.CharacterAttributes.Size;

    Alert (textSize);

    } else {}

    Alert ("selection is not a text element");

    return;

    }

    Return to textSize;

    }

    }

    Hi, Douglas.

    Try below:

    textSize = selectedItems.characterAttributes.size;

    When your selection is textRange, you can get properties characterAttributes.

    10.

  • Get the ORA-01489 "result of concatenating string is too long."

    Hello world

    Im having problems with updating of a specific field. I got this error after I run my Update statement.

    * Cause: Result of concatenation of string exceeds the maximum size.

    * Action: Make sure that the result is less than the maximum size.

    Here is my script:

    declare
    cursor material is
        SELECT tt.column2,
               m.name, 
               m.MATERIAL_ID,
               tt.column3,
               tt.column4,
               tt.column5,
               tt.column6,
               tt.column7,
               tt.column8
        FROM material m, tmp_text tt
        WHERE m.NAME like tt.column2 || '%'
        AND tt.column9 = 'SI';
       
                begin
    
      for u in material loop
       
        update material
        set fields_xml =  '<?xml version="1.0" encoding="UTF-8"?>
                            <fields>
                              <field type="text" name="Size EU" maxlength="200"/>
                             <field type="text" name="Size UK" maxlength="200"/> 
                             <field type="text" name="Weight per size" maxlength="200"/>
                             <field type="text" name="Shaft height" maxlength="200"/>  
                             <field type="textarea" name="Product Description Norwegian" maxlength="2000">' || u.column8 || '</field>
                             <field type="textarea" name="Product Description Swedish" maxlength="2000">' || u.column7 || '</field>
                             <field type="textarea" name="Product Description Danish" maxlength="2000">' || u.column4 || '</field>
                             <field type="textarea" name="Product Description Finnish" maxlength="2000">' || u.column5 || '</field>
                             <field type="textarea" name="Product Description German" maxlength="2000">' || u.column6 || '</field>
                             <field type="textarea" name="Product Description English" maxlength="2000">' || u.column3 || '</field>
                             <field type="text" name="Additional Information" maxlength="200"/>
    
    
                             
                            </fields>'
        where material_id = u.material_id;
    
    
    
         end loop;
    
    end;
    
    
    
    
    
    
    
    
    
    
      
    

    That the script is that it will update the 'FIELD_XML' (CLOB) field in the table "material". I know that it exceeds the maximum size. Is there another way to do this?

    I would like to know your opinion... Thank you guys.

    Hello

    You can try with CLOB variable declaration and concatenate the value you want in it.

    For example:

    declare
    cursor material is
        SELECT tt.column2,
               m.name,
               m.MATERIAL_ID,
               tt.column3,
               tt.column4,
               tt.column5,
               tt.column6,
               tt.column7,
               tt.column8
        FROM material m, tmp_text tt
        WHERE m.NAME like tt.column2 || '%'
        AND tt.column9 = 'SI';
    
        v_clob CLOB;  
    
                begin  
    
      for u in material loop
        v_clob := '
                            
                              
                             
                             
                             
                             ';
        v_clob := v_clob || u.column8 || ' ';
        v_clob := v_clob || '' || u.column7 || ' ';
        v_clob := v_clob || ''  || u.column4 || ' ';
        v_clob := v_clob || '' || u.column5 || ' ';
        v_clob := v_clob || ''  || u.column6 || ' ';
        v_clob := v_clob || '' || u.column3 || ' ';
        v_clob := v_clob || ''
        update material
        set fields_xml =  v_clob
        where material_id = u.material_id;
         end loop;
    end;
    

    Cheerz,

    Stako

  • get the table script using dbms_metadata.get_ddl but with clob field

    Thus, Oracle 11g R2...
    I use dbms_metadata.get_ddl for table scripts and it works fine...

    now, I have a table with clob field, and it does not work... I got an error "missing a closing parenthesis (ora-0907) '...
    I could paste a script I had, but I don't think that it makes no sense...

    does anyone have an experience on the use of this package on clob tables?


    TNX

    See this code.

    DECLARE
      myddl clob;
      PROCEDURE print_clob(p_clob in clob) as
        l_offset number default 1;
      BEGIN
        loop
          exit when l_offset > dbms_lob.getlength(p_clob);
          dbms_output.put_line(dbms_lob.substr(p_clob, 255, l_offset));
          l_offset := l_offset + 255;
        end loop;
      END print_clob;
      FUNCTION get_metadata return clob is
        h   number;
        th  number;
        doc clob;
      BEGIN
        h := dbms_metadata.open('TABLE');
        dbms_metadata.set_filter(h, 'SCHEMA', 'HR');
        dbms_metadata.set_filter(h, 'NAME', 'EMPLOYEES');
        th := dbms_metadata.add_transform(h, 'MODIFY');
        th := dbms_metadata.add_transform(h, 'DDL');
        --dbms_metadata.set_transform_param(th,'SEGMENT_ATTRIBUTES',false);
        doc := dbms_metadata.fetch_clob(h);
        dbms_metadata.CLOSE(h);
        return doc;
      END get_metadata;
    BEGIN
      myddl := get_metadata;
      print_clob(myddl);
    END;
    

    This procedure of print_ddl I took of the documentation.
    Use of the long VALUE. See, in the first example out put is truncated.

    SQL> SELECT dbms_metadata.get_ddl('TABLE','EMP','SCOTT') FROM dual;
    
    DBMS_METADATA.GET_DDL('TABLE','EMP','SCOTT')
    --------------------------------------------------------------------------------
    
      CREATE TABLE "SCOTT"."EMP"
       (    "EMPNO" NUMBER(4,0),
            "ENAME" VARCHAR2(10),
    
    SQL> set long 10000
    SQL> /
    
    DBMS_METADATA.GET_DDL('TABLE','EMP','SCOTT')
    --------------------------------------------------------------------------------
    
      CREATE TABLE "SCOTT"."EMP"
       (    "EMPNO" NUMBER(4,0),
            "ENAME" VARCHAR2(10),
            "JOB" VARCHAR2(9),
            "MGR" NUMBER(4,0),
            "HIREDATE" DATE,
            "SAL" NUMBER(7,2),
            "COMM" NUMBER(7,2),
            "DEPTNO" NUMBER(2,0),
             CONSTRAINT "PK_EMP" PRIMARY KEY ("EMPNO")
    
    DBMS_METADATA.GET_DDL('TABLE','EMP','SCOTT')
    --------------------------------------------------------------------------------
      USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "USERS"  ENABLE,
             CONSTRAINT "FK_DEPTNO" FOREIGN KEY ("DEPTNO")
              REFERENCES "SCOTT"."DEPT" ("DEPTNO") ENABLE
       ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "USERS"
    
    SQL> SET LINESIZE 132
    SQL> SET pagesize 0
    SQL> SET LONG 1000000
    SQL> /
    
      CREATE TABLE "SCOTT"."EMP"
       (    "EMPNO" NUMBER(4,0),
            "ENAME" VARCHAR2(10),
            "JOB" VARCHAR2(9),
            "MGR" NUMBER(4,0),
            "HIREDATE" DATE,
            "SAL" NUMBER(7,2),
            "COMM" NUMBER(7,2),
            "DEPTNO" NUMBER(2,0),
             CONSTRAINT "PK_EMP" PRIMARY KEY ("EMPNO")
      USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "USERS"  ENABLE,
             CONSTRAINT "FK_DEPTNO" FOREIGN KEY ("DEPTNO")
              REFERENCES "SCOTT"."DEPT" ("DEPTNO") ENABLE
       ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "USERS"
    
    SQL>
    
  • Fusion of the fields on form before posting

    Anyone know how I can combine three form fields in a field until I post to another page?

    The first two fields are drop-down lists, and the second is a text field. Run the page that they are assigned to a PHP script that uses merged data.

    for example, if DropDown1value = "123" and DropDown2value = "456" and TextFieldvalue = "789".
    I want them all to be merged so that the value passed to the PHP script = "123456789".

    I know that the merged data will be stored in a hidden field, but after hours of Googling, I can't find how I merge fields before they are posted.

    I know that I can do this with a CONCAT SQL statement but I don't want this sata into a database.

    Thanks for your help, but I had now works without the script.

    I've added an onchange to the numeric field that updates the spirit of field brphonebr concatinated after changing data.

    for example:


    size = "20" value = "" id = "number" onchange = "bnrphonenr.value =
    Country.options [Country.SelectedIndex]. "Value + area_code.options [area_code.selectedIndex] .value + number.value" >

  • Is there a file size limit when using read the spreadsheet file?

    I'm reading in a large file, approximately 52 MB, 525600 lines with 27 fileds in each line using "Read SpreadsheetFile.vi". I then explore table 2D-999, which represents bad/no data in this area and the total number of fields with-999 in there. All works on 3 months ' worth of data. The program is giving me a memory error output and stopping in case reading takes place on the file of the year a large. So my question is that the reading of the spreadsheet file has size limitations? Is there a better way to do it? Thanks in advance for the help.

    ssmith


  • Custom field highlighting the problem

    Hello

    I have a custom field class that extends the field.  the custom class allows me to put a photo inside the field.  The problem I have is when I give him a click event, it accentuates not.

    I overrided onUnfocus() drawFocus() onFocus() and object;

    I tried to use super.drawFocus () inside the drawFocus(), tried to use drawHighlightRegion with HIGHLIGHT_SELECT and HIGHLIGHT_FOCUS but no luck.

    Anyone know what I need to do to give hightlight when the user touches the screen, or click?

    OK, so as I said in the previous post, you can paint the blue highlight, but your bitmap image will then paint over clear tones.

    So that the nail is visible, you must set a fill around the bitmap. In other works, the measurement of field must be slightly larger than the size of the bitmap.

    You the best solution would have been to extend BitmapField (rather than field) and use the setSpace() method to set some padding.

    Otherwise, you will need to adjust the measurement of field in your replacement of subLayout().

  • [ADF, JDev12.1.3] SelectOneChoiche created from VO instance with 3 fields: how to retrieve the value of all the fields of the selected element?

    Hallo,

    I defined a VO with 3 fields (A, B and C) and I would like to create a SelectOneChoiche that shows only the field as options from this instance of VO.

    In a managed bean, I need to retrieve the values for all areas (A, B and C) of the item selected by the user.

    I started dragging the entire VO instance to UI to create a SelectOneChoiche (in which I have chosen to show only the to field).

    Then, I created a for the SOC ValueChangeListener read the values A, B and C of the selected element, but the only thing I've done is to get the displayed value:

    System.out.println((String) ((RichSelectOneChoice) FacesUtils.findComponent("MySoc")).getValue());
    

    You kindly help me?

    Thank you

    Federico

    Federico, sorry I didn't see your answer.

    As you use 12.1.3 you can do this more easily than the code that I posted before. You can use

    {} public void onCountrySelection (ValueChangeEvent valueChangeEvent)

    FacesContext will involve = FacesContext.getCurrentInstance ();

    Make sure that the selection change is processed and the current link lov line has the new selected line

    valueChangeEvent.getComponent () .processUpdates (contxt);

    BindingContext lBindingContext = BindingContext.getCurrent ();

    BindingContainer lBindingContainer = lBindingContext.getCurrentBindingsEntry ();

    List JUCtrlListBinding = lBindingContainer.get ("CountryId") (JUCtrlListBinding);

    the newindex in not necessary, but ok let's get it (must be equal to the CountryId, the pharmacokinetics of the binding of the lov

    String newindex = (String) valueChangeEvent.getNewValue ();

    get the selected value in the list that is the selected line of the binding of the lov

    Line lFromList = list.getSelectedValue () (line);

    now, we can get the attributes of the line of lov

    String s = (String) lFromList.getAttribute ("CountryId");

    System.out.println ("CountryId:" + s);

    String s2 = (String) lFromList.getAttribute ("CountryName");

    System.out.println ("CountryName:" + s2);

    BigDecimal s3 = lFromList.getAttribute("RegionId") (BigDecimal);

    System.out.println ("RegionId:" + s3.toString ());

    }

    The form that I use is based on the location of the HR DB schema table. The CountryId is configured in the view object to display a lov based on the campagneVoir. This view contains thre CountryId, CountryName and RegionId attributes.

    If you want to get to the attributes of an action listener you can use this code

    {} public void onGetSelectedCountryLov (ActionEvent actionEvent)

    BindingContext lBindingContext = BindingContext.getCurrent ();

    BindingContainer lBindingContainer = lBindingContext.getCurrentBindingsEntry ();

    List JUCtrlListBinding = lBindingContainer.get ("CountryId") (JUCtrlListBinding);

    get the selected value in the list that is the selected line of the binding of the lov

    Line lFromList = list.getSelectedValue () (line);

    now, we can get the attributes of the line of lov

    String s = (String) lFromList.getAttribute ("CountryId");

    System.out.println ("CountryId:" + s);

    String s2 = (String) lFromList.getAttribute ("CountryName");

    System.out.println ("CountryName:" + s2);

    BigDecimal s3 = lFromList.getAttribute("RegionId") (BigDecimal);

    System.out.println ("RegionId:" + s3.toString ());

    }

    You must add the valueChangeListener and at least add the lines

    FacesContext will involve = FacesContext.getCurrentInstance ();

    Make sure that the selection change is processed and the current link lov line has the new selected line

    valueChangeEvent.getComponent () .processUpdates (contxt);

    to ensure that the selected line is available when you click the button.

    And set autosubmit'= true for the field in the UI that displays the LOV.

    Timo

  • Home field after the validation error

    Using Application Express 4.2.5.00.08

    I created a validation for each required to shoot the submit button field. If a field is NULL, the error message 'field is required' online is displayed.

    If an error occurred, is there a way to put the cursor in the field associated with the error? Currently, it returns the first field at the top of the page.

    Thank you very much

    Validation_Error.png

    Hi HRSysAdmin,

    Your answer is already given by fac586 in the very next post the question. Although there are a few minor changes to the solution.

    fac586 wrote:

    HRSysAdmin wrote:

    Using Application Express 4.2.5.00.08

    I created a validation for each required to shoot the submit button field. If a field is NULL, the error message 'field is required' online is displayed.

    If an error occurred, is there a way to put the cursor in the field associated with the error? Currently, it returns the first field at the top of the page.

    Do the a Page Load Set Focus dynamic action with Selection of Type jQuery Selector and jQuery Selector defined value on :input.apex-page-item-error:first .

    Here are the changes made to the fac586 solution:

    • Go to the Page attributes-> display attributes-> Set Cursor Focus not cursor focus

    Why is it necessary? As it is set by default to the first point of page bothers our dynamic action set out below and, making it useless.

    • Here is the dynamic action proposed by fac586

    Here, the change is jQuery Selector is passed to input.apex - page-point-error: first to .apex-page-point-error: first as the prior takes the elements of entry into consideration, what happens if the first element on which the error occurred is a textarea or select list. For more information, see jQuery selectors.

    jQuery is a powerful javascript library when it comes to complex interactions between the user interface. You should save some time to learn the basics.

    Not to mention that the solution of Reema is not relevant because it proposes to transfer validation logic in javascript.

    I hope this helps!

    Kind regards

    Kiran

  • Can I use program generator to change a field in the contacts that run a campaign?

    I am a new user, Eloqua, from a company that is a new client Eloqua (E10), try to penetrate the opaque world of the program Builder (PB).  I have spent some time looking for answers, but just empty and hope you can help: to end a pretty simple campaign of the canvas (CC) campaign, I want to edit a field in a contact to indicate that the contact has traveled the countryside. (We want to be able to easily return the bit on this area apart from Eloqua so that the customer returns in the campaign).

    I know CC this is impossible, but I gleaned that can of PB. And if I understand correctly, CC can put contacts in a program of PB.  My question: How can I build (and a link to my campaign) a PB simple program to change the value of a single field in everyone who enters the program through campaign canvas?  Is it still possible?  Is there a simpler way that I don't see?  I am really a beginner, so be gentle if I'm missing something basic.

    Thanks in advance!

    -Kevin

    Post edited by: Kevin for spelling/typo

    Yes, you can go to the canvas of the campaign on the program generator. You can still run a segment on the contacts that have responded to a campaign, if you're looking for just a way to pull the contacts who have or have not entered a campaign. Here is a basic outline of what you try to do with PB and the canvas of the campaign.

    To update the field in the program generator, you need to first put in place a rule update for updating the contact with a value field. (Updated contacts--> data tool--> new rule). Use the option 'Set to Value' in the update rule.

    Then build a program in PB with three steps - Enter (passage of the stage), update a Contact with the updated rule, program output.

    Then, as a campaign backdrop, choose either the "add a program" or "move to the program." 'Add' will maintain contacts in the campaign and 'Add' the program 'move' will move them to the campaign in the program. Whatever it is, choose the update program and step 1 at the stage of the campaign.

    Do you need more specific information?

  • Add the merge fields in the url

    We would like to dynamically add the id to contact SFDC email recipient (which is an existing merge Eloqua field) in the query string of a url in an e-mail message to follow the results of the survey through zoomerang. (for example www.zoomerang.com/survey/aa3w4roafadfos?contactid=#sfdccontactid# where sfdccontactid is the merged field.

    If anyone has experience doing this, please tell us where we try to send this email shortly.

    Thank you

    Joel

    Hi Joel,

    Merger of field, you can generate the HTML code required for the merger of field uttering one in your email and then merge in the email your work with.  Discover the grab HTML HTML field merging and post it in your URL.  Commonly, the syntax would be 'SFDC_ContactID1' or something of the sort (this is depends on the merge field name). In your particular case, the finished HTML code would look like, "SFDC_ContactID1">."

    -Erik Hertzman

Maybe you are looking for