to display the separted by commas in multiple columns

Hello


I want to display the value in multiple columns like below

data like this

col1

res_menaHome:MenaHome
res_menaHomeEmp:MenaHome used
res_MDSpecialSer:MD Special Services
res_Smart: Smart

now, I want to display like

col1 col2
res_menaHome MenaHome
res_menaHomeEmp employee MenaHome
res_MDSpecialSer® Special Services
chip res_Smart


Thanks in advance.

You mean like this?

with q as (select 'res_menaHome:MenaHome' myString from dual)
select substr(myString, 1, instr(myString, ':') - 1) col1,
substr(myString, instr(myString, ':') + 1) col2
 from q

COL1,COL2
res_menaHome,MenaHome

Tags: Database

Similar Questions

  • Display the values selected in a multiple selection prompt

    Is it possible to display all the values selected from a multiple selection prompt? One who is not in a mini report with a filter = promt tabular. I need in the narrative field.

    I don't have anythign to find at the moment which gives no other alternatives.

    Don't know why you need in the view of the narrative, but outside of what you mentioned (prompt = filter), there is no way to store multiple values in a variable to use in the same report selections. But you know that if you chose the way you mentioned, you could do this:

    (1) to your "mini-report" switch to the display of explanatory text.

    (2) since there is only a single column, type @1 in the narrative field.

    (3) consider the maximum number of values that a user would choose 10. Then in the 'lines to display' set 10.

    (4) in the line separator, put in a comma and press the SPACEBAR (this will add a space after the comma).

    (5) now drag this report to the dashboard and the button report properties, select 'View', then select your narrative point of view.

    HTH,

  • display the same value in a times column in multiple lines

    Dear all:

    I have a table id, with the following data values

    ID VALUES
    ===============
    EG001 5888314
    EG001 5888315
    EG001 5888316
    EG002 5888317
    EG002 5888318


    I want to display a query to display the result as follows:

    ID VALUES
    ===============
    EG001 5888314
    5888315
    5888316
    EG002 5888317
    5888318


    Kind regards

    Hassan

    Hello
    Try:

    WITH test_tab AS (
    SELECT 'EG001' REC_ID, 5888314 VALUE FROM DUAL UNION ALL
    SELECT 'EG001', 5888315 FROM DUAL UNION ALL
    SELECT 'EG001', 5888316 FROM DUAL UNION ALL
    SELECT 'EG002', 5888317 FROM DUAL UNION ALL
    SELECT 'EG002', 5888318 FROM DUAL)
    -- end test data
    SELECT LTRIM(CASE WHEN row_num = 1 THEN REC_ID ELSE NULL END || ' ' || VALUE) VALUES
      FROM (
    SELECT REC_ID, VALUE,
         ROW_NUMBER() OVER (PARTITION BY REC_ID ORDER BY VALUE) row_num
      FROM test_tab)
    
    VALUES
    ----------------------------------------------
    EG001 5888314
    5888315
    5888316
    EG002 5888317
    5888318
    
  • The display of a single line to multiple columns

    Hello Oracle gurus,
    I am fairly new to the SQL development and hope that someone could help me

    I have an ID that repeated several times in 3 different tables based on a condition

    For your convenience, you can go

    Select a.id,
    B.SID,
    case when b.state = 1 then 'K' another thing ' n end.
    case when c.city = 2 then 'K' another thing ' n end
    PRIM one
    outer join STATE b left on a.id = b.id
    outer join CITY c left on a.id = c.id

    Results

    ID NAME STATE CITY
    1 Peter K N
    1 Peter N K
    Stewie 2 K N
    2 Stewie N K

    An additional line is coming because of Peter, his State Y and Y for the city.
    Expected results
    ID NAME STATE CITY
    1 Peter K K
    Stewie 2 N N


    How can I achieve this? I think I can do a union. but my actual query made 140 columns. so, I'm curious to know if there is another way to address the issue?
    Is it possible to use separate?
    Thanks in advance.

    What about

    select
     a.elig_id,
     max(case when b.part_supp_id= 2 then 'Y' else 'N' end) as A,
     max(case when b.part_supp_id=21 then 'Y' else 'N' end) as B
    from
      Elig_Test a
     ,Elig_Suppr b
    where
     a.elig_id=b.object_id
    group by
    a.elig_id
    
  • the use or condition in multiple-column subquery SQL

    Hi team,

    I need this accountability manual analysis between two tables in an easier way. These tables do not have a direct relationship.

    Please find below the scripts to create table, insert data with the incorrect select query, I.,

    CREATE TABLE TEST1)
    KEY_PRM VARCHAR (30),
    NOM_LISTE VARCHAR (30),
    TEL_NO VARCHAR (10),
    DATE OF CREATE_DT,
    DATE OF CEASE_DT,
    STATUS VARCHAR (20) - VALUE USED EITHER A OR C
    );

    CREATE TABLE TEST2)
    KEY_PRM1 VARCHAR (30),
    TEL_NO VARCHAR (20),
    DATE OF TRANS_DATE,
    TRANS_TYPE VARCHAR (20) / * VALUE USED ARE the INSERT, CEASE (Many others) * /.
    );

    INSERT INTO TEST1 (KEY_PRM, NOM_LISTE, TEL_NO, CREATE_DT, CEASE_DT, STATUS) VALUES ('1 ', 'SAM', '0123456789',' 01-APR-2013', NULL, 'A');
    INSERT INTO TEST1 (KEY_PRM, NOM_LISTE, TEL_NO, CREATE_DT, CEASE_DT, STATUS) VALUES('2','MARS','0123456789','10-APR-2013','12-APR-2013','C');
    INSERT INTO TEST1 (KEY_PRM, NOM_LISTE, TEL_NO, CREATE_DT, CEASE_DT, STATUS) VALUES('3','PLUTO','0123456799','05-APR-2013',,'A');
    INSERT INTO TEST1 (KEY_PRM, NOM_LISTE, TEL_NO, CREATE_DT, CEASE_DT, STATUS) VALUES ('4 ', 'MAN', '0123456999',' 06-APR-2013', NULL, 'A');
    INSERT INTO TEST1 (KEY_PRM, NOM_LISTE, TEL_NO, CREATE_DT, CEASE_DT, STATUS) VALUES('6','JIN','0123456999','06-APR-2013','08-APR-2013','C');
    INSERT INTO TEST1 (KEY_PRM, NOM_LISTE, TEL_NO, CREATE_DT, CEASE_DT, STATUS) VALUES('7','RIM','0123456789','20-APR-2013',,'A');
    INSERT INTO TEST1 (KEY_PRM, NOM_LISTE, TEL_NO, CREATE_DT, CEASE_DT, STATUS) VALUES('8','JIM','0123456789','12-APR-2013','12-APR-2013','C');
    COMMIT;

    INSERT INTO TEST2 (TEL_NO, TRANS_DATE, KEY_PRM1, TRANS_TYPE) VALUES('10','0123456789','01-APR-2013','INSERT');
    INSERT INTO TEST2 (TEL_NO, TRANS_DATE, KEY_PRM1, TRANS_TYPE) VALUES('11','0123456789','12-APR-2013','CEASE');
    INSERT INTO TEST2 (TEL_NO, TRANS_DATE, KEY_PRM1, TRANS_TYPE) VALUES('12','0123456799','12-APR-2013','INSERT');
    INSERT INTO TEST2 (TEL_NO, TRANS_DATE, KEY_PRM1, TRANS_TYPE) VALUES('13','0123456999','06-APR-2013','INSERT');
    COMMIT;

    SELECT T1. KEY_PRM, T1. STATUS, T1. CREATE_DT, T1. TEST1 T1 CEASE_DT WHERE
    (T1.TEL_NO, (T1. CREATE_DT OR T1. CEASE_DT)) IN (SELECT T2.TEL_NO, T2. TRANS_DATE of TEST2 T2 where TRANS_TYPE in ('INSERT', 'END');

    / * T1 SHOULD PRODUCE RESULTS. KEY_PRM = 1,2,4,6,8. * /


    There are two tables T1 TEST1 and TEST2 T2 having only matching column as TEL_NO but with many duplicates in both tables.

    Results of the query to produce T1. KEY_PRM of TEST1 T1 where CONDITION 1 and CONDITION 2 game

    CONDITION 1:-MATCH T1.TEL_NO WITH T2.TEL_NO
    CONDITION 2:-BE T1. CREATE_DT OR T1. CEASE_DT CORRESPONDENCE WITH T2. TRANS_DATE.


    Also kindly to me if it is not possible to create this select query?

    l

    Published by: a friend on April 11, 2013 01:21

    Published by: a friend on April 11, 2013 01:22

    This forum is dedicated to the support of the SQLDeveloper tool, to get answers more quickly for this kind of pure questions of SQL, you use the SQL and PL/SQL forum:

    SQL and PL/SQL

    Please repost it and mark this question as answered.

  • Using the procedure to display the table of multiple data

    Hi, I need help for the procedure in oracle

    I want to create the procedure to display the table of multiples with sample plan

    with a parameter imployee_id to display an employee_id, name, function, start_date, end_date

    IAM using this query to select more than one table

    SELECT e.employee_id, e.first_name, j.job_title, h.start_date, h.end_date

    E EMPLOYEES

    JOIN j jobs

    ON j.job_id = e.job_id

    JOIN the job_history:

    ON h.employee_id = e.employee_id

    WHERE e.employee_id = 200;

    Thanks for the help

    Blu and Billy showed you the 'real' solution. You can display the data returned by a cursor ref in SQL Developer, too:

    http://www.thatjeffsmith.com/archive/2011/12/SQL-Developer-tip-viewing-refcursor-output/

    Yet as a duty for a beginner is generally do not have the expected solution. Usually, teachers want to see you using a LOOP and dbms_output. something like

    DECLARE

    Xy CURSOR IS

    SELECT whatever

    As much as;

    BEGIN

    FOR r IN xy LOOP

    dbms_output.put_line (r.col1 |' # ' | r.col2);

    END LOOP;

    END;

    Of course this suggestion will inaugurate a discussion abusing DBMS output but I keep my position that it is authorized to use it for learning the basics.

  • How to get the values separated by commas of multiple records in table

    How to get the values separated by commas of multiple records in table

    for example

    name address age sex
    a 12 m e
    b hh 12 f
    BB c 13 h

    I need to get output as a, b, c from a query

    Use the query as below he works for me, change the names of tables and columns

    SELECT SUBSTR (SYS_CONNECT_BY_PATH (PROXY_EMAIL, ','), 2) csv FROM (SELECT PROXY_EMAIL, ROW_NUMBER () ON the rn (ORDER OF PROXY_EMAIL), COUNT (*) NTC (STARS_PROXY_ASSIGNMENT) WHERE EMPLID = #EMPLID) WHERE rn = cnt START WITH rn = 1 CONNECT BY rn = rn + 1 ADVANCE

  • Displays the text of Cat Endangered in Landscape Mode

    I use a German HTC 7 Pro Windows Phone 7.10.8107.79 running and the text of conversations disappears completely when trying to enter text in Landscape Mode.

    This happens in the following circumstances:

    Click on a Skype contact

    Hold the phone sideways to switch to Mode landscape

    Slide the physical keyboard to enter text

    automatically any text of the conversation that happened so far will disappear, any new text added to the conversation by you or your conversation partner is not displayed either. The text in the chat box you enter gets displayed (up to it send it to you).

    The bug does not occur in the following circumstances:

    Click on a Skype contact

    Hold the phone sideways to switch to Mode landscape

    Do not drag on the physical keyboard, commit the software keyboard instead by clicking on the chat box

    Once the software keyboard gets displayed, drag the physical keyboard

    When this replica, the conversation always appears (as opposed to the "natural method" to simply drag the physical keyboard).

    Hello

    Unfortunately, this behavior can be changed for the moment. We are sorry for the inconvenience.

    -----
    If the answer was helpful please give Kudos and if the problem is solved mark with the solution for other users. Thank you!

  • File copy/delete dialog box is off the screen in a staggered multiple follow Setup

    I'm on Windows 8 on a ThinkPad W520 with a 1920 x 1080 screen and a secondary antibody NEC LCD2070NX 1600 x 1200 display connected via DisplayPort. The NEC is positioned to the left of the ThinkPad and raised higher than the ThinkPad display; the bottom of the NEC is near the center of the left edge of the ThinkPad.
    I put to the top of the poster in the Panel to take account of this arrangement:
    If I have a window of the Explorer of files open in the secondary monitor on the left and use this window to copy or remove some large files or folders, the progress dialog box is not visible. It is currently displayed in the "man no of land" above the main monitor and the secondary screen.
    The problem occurs when the secondary monitor is on the right, or above or below the primary. (I have tested some of these cases, but not completely). Also, this does not happen when the Explorer window is on the primary monitor. The problem does occur at all on Windows 7.
    Here's a film that illustrates the problem. For each image, I copied a large directory on the network and took a screenshot to display side by side and move the secondary display up to about 120 pixels in the control panel every time. You can see how the copy dialog box follows the secondary monitor vertically, but her left side is pinned to the left edge of the main screen, so he ends up disappearing from the screen.
    It is easy to see what is happening here: Explorer normally centers the dialog box of progression on the same screen as the Explorer window that opened the dialog box. This does not work as expected in the direction, but on the axis X to the left edge of the dialog box's get pinned to the left edge of the main screen.
    As the corner at the top left of the primary monitor is always (0,0), it acts as if the dialog box was positioned like this pseudo-code:
    monitor = getWindowMonitor (feed)
    dialog.centerOnMonitor (monitor)
    If dialog.left< 0:="">
    Dialog.Left = 0
    When the dialog box is off the screen, it's a bit disturbing, because it makes the impression that the Explorer window is locked. The only way I know to make visible the dialog box is with this exercise of the superpowers of keyboard shortcut:
    1. use Alt + space to open the system menu of the dialog box. The menu will open on the screen no matter where is the dialog box.
    2. Press m to move (or click on move).
    3. you will see a four-headed mouse cursor, just to fool you into thinking the mouse could do something now. It will not!
    4 instead of this, you have to hit any key of the arrow, which begins the displacement of the dialog box.
    5. now you can use the mouse (or the puree on the arrow keys) to move the dialog on the screen.

    A bit of good news...

    I just tested this on the latest version of Windows preview 10 technical, and it seems to be fixed.

  • Do not display the context menu set when the display manager

    Hello gurus,

    I m having this error during disconnection:

    Error 404 - not found

    Of RFC 2068 Hypertext Transfer Protocol - HTTP/1.1:

    10.4.5 404 not found

    Server not found anything matching the request URI. No indication is given whether the condition is temporary or permanent.

    If the server does not wish to make this information available to the client, the status code 403 (refused) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through a configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.

    When is a declare a view in faces-config Manager. XML accordingly with the tutorial: https://technology.amis.nl/2012/08/11/supporting-multiple-languages-in-adf-applications-backed-by-resource-bundles-and-p...

    I have a stark call to a message in a pop-up window which is showned when I clicked on the modelled Logout button

    Capture.PNG

    If I Don t declare the display manager, it works (the popup is showned and redirects to the login page).

    If I Don t display the context menu, it works (redirects to the login page).

    by no reason i Don t know, they are incompatible, but I need them working.

    JDev 12.1.3.0.0

    any ideas guys?

    Thank you

    Angela

    Hello

    I ve just erased the action button (goToLogout), and it worked fine. A didn t of controlFlowCase there were more (goToLogout).

    action = "goToLogout" actionListener = "#{LoginBean.doLogout}" targetFrame = "_self" / > "

    action listener (LoginBean.doLogout) shows the pop-up message.

    the dialogListener in the context menu when you click yesButton call the invalidate session and redirects to login page programaticaly.

    It was rubbish in my code.

    KDario thanks for your help, but you could never predict that in my code.

  • Since the last update when you import images directly into Lightroom, metadata display the correct focal length, but display no information of the lens, Lightroom reports only as "unknown lens", the news of the lens are in meta-data... whe

    Since the last update when importing image directly in Lightroom, metadata display the correct focal length, but will not display any information from the lens, Lightroom reports only as 'unknown lens', the info from the lens is in the meta-data... When you change an image in LR in PS then save, lens Info appears as if by magic. This is a problem of workflow for those who could use multiple lenses on a shoot... What is the status on this issue? I shoot with Nikon D800... thnx ted-lens-metadata-field-missing-on-import?topic-reply-list[settings][filter_by]=company_promo https://feedback.photoshop.com/photoshop_family/topics/camera-raw-9-5-lens-information-aux I posted this on FB with LIGHTROOM page, they instructed me to send you.  Needless to say that it is a huge problem for the workflow, and reduce my bright room isn't an option because whenever he do it takes two days to arrive, and I have no time to lose if I appreciate some type of response as soon as possible

    What is the status on this issue?

    The link you gave clearly indicates the status of this issue. Adobe is working on it.

  • Display the column name of the column more recently updated

    I wonder if it is possible to display the name of the column in the column most recently updated in a table.

    Example:

    Emp table

    Name

    Height

    Weight

    Age

    Update_Date

    Update_Column

    Original record (03/20/14)

    Name size weight Age Update_date Update_Column

    John                                                 03/20/14          Name

    Then someone comes and update the height on 22/03/14:

    Name size weight Age Update_date Update_Column

    John 5'9 03/22/14 height

    And the Update_date and the Update_column would change again if someone came and put a value for the age. And so on.

    Is this possible?

    Also, if the above is possible, would it be possible to display the name of extreme right column if a user updated several columns at the same time?

    Example:

    User updates the sub-folder:

    Name size weight Age Update_date Update_Column

    John 5'9 03/22/14 height

    And adds weight and age at the same time on 24-03-14:

    Name size weight Age Update_date Update_Column

    John 5'9 150 31 03/24 / 14

    The Update_Column would display age because it is the furthest to the right. (Think by reading from left to right, the column that has been updated if the extreme right)

    So to sum things, I need to be able to display Updated_date (which will be the date of the day when the record is the last updated) and Updated_Col (which is the column name of the column was last updated, and if multiple columns are updated then display that value has been updated last in)

    I hope that the examples help to clarify things.

    Thank you

    Steven

    I think I found a solution.

    delimiter //
    create table a (
      id int (10) unsigned auto_increment,
      a int(10),
      b int(10),
      update_date datetime NULL,
      update_column varchar(16) NULL,
      primary key (id)
    )//

    create trigger bu_a before update on a for each row begin
      set NEW.update_date = NOW();
      set NEW.update_column = NULL;
      -- you need to start with the rightmost column if you want
      -- that matched with the highest priority
      if OLD.b != NEW.b then
       set NEW.update_column = "b";
      elseif OLD.a != NEW.a then
       set NEW.update_column = "a";
      end if;
    end //

    TEST

    insert into a (id,a,b) values (1,1,1), (2,1,1), (3,1,1), (4,1,1)[
    update a set b = 2 where id = 2;
    update a set a = 2 where id = 3;
    update a set a = 2 where id = 4;
    update a set b = 2 where id = 4;
    select * from a;

    DISPLAY

    ID  A   B   UPDATE_DATE                    UPDATE_COLUMN
    1   1   1   (null)                          (null)
    2   1   2   March, 24 2014 23:22:33+0000      b
    3   2   1   March, 24 2014 23:22:33+0000      a
    4   2   2   March, 24 2014 23:22:33+0000      b

  • Cannot display the results to the database during "Update": SQL statement

    Hello

    I get this error trying to update a VO via the UI or BCBrowser.

    Cannot display the results to the database during "Update": SQL statement

    This is a default single front & right THAT VO creates on the object of the entity (Database Table)

    On the same table and with the same credentials of DB, I could update the record.

    Any guess on what went wrong?

    Thanks in advance for any help.

    p.s Jdev 11.1.1.6

    Journal:

    oracle.jbo.DMLException: Houston-26041: could not publish data from database in "Update": SQL statement "START the CAR UPDATED CarEO SET SEL_ITEM =: 1 WHERE TXN_NO =: 2 AND LOGID =: AND SEQNO = 3: 4 POLL DELIVERY_MODE, CERTIFICATION_REQ, SOFT_COPY_IND, SELITEM IN: 5,: 6,: 7,: 8; END; ».

    at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:583)

    at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:8575)

    at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6816)

    at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3290)

    at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3093)

    at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2097)

    at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2378)

    at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1615)

    at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1417)

    at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1437)

    at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2150)

    at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)

    at oracle.jbo.uicli.jui.JUActionBinding.actionPerformed(JUActionBinding.java:193)

    at oracle.jbo.uicli.controls.JUNavigationBar.doAction(JUNavigationBar.java:412)

    at oracle.jbo.jbotester.NavigationBar.doAction(NavigationBar.java:111)

    to oracle.jbo.uicli.controls.JUNavigationBar$ NavButton.actionPerformed (JUNavigationBar.java:118)

    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)

    in javax.swing.AbstractButton$ Handler.actionPerformed (AbstractButton.java:2318)

    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)

    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)

    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)

    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)

    at java.awt.Component.processMouseEvent(Component.java:6289)

    at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)

    at java.awt.Component.processEvent(Component.java:6054)

    at java.awt.Container.processEvent(Container.java:2041)

    at java.awt.Component.dispatchEventImpl(Component.java:4652)

    at java.awt.Container.dispatchEventImpl(Container.java:2099)

    at java.awt.Component.dispatchEvent(Component.java:4482)

    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)

    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)

    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)

    at java.awt.Container.dispatchEventImpl(Container.java:2085)

    at java.awt.Window.dispatchEventImpl(Window.java:2478)

    at java.awt.Component.dispatchEvent(Component.java:4482)

    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)

    to java.awt.EventQueue.access$ 000 (EventQueue.java:85)

    in java.awt.EventQueue$ 1.run(EventQueue.java:603)

    in java.awt.EventQueue$ 1.run(EventQueue.java:601)

    at java.security.AccessController.doPrivileged (Native Method)

    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)

    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:98)

    in java.awt.EventQueue$ 2.run(EventQueue.java:617)

    in java.awt.EventQueue$ 2.run(EventQueue.java:615)

    at java.security.AccessController.doPrivileged (Native Method)

    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)

    at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)

    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)

    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)

    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)

    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)

    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

    Caused by: java.sql.SQLException: invalid column type

    at oracle.jdbc.driver.OracleCallableStatement.registerOutParameterInternal(OracleCallableStatement.java:150)

    at oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(OracleCallableStatement.java:399)

    at oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(OracleCallableStatement.java:581)

    at oracle.jdbc.driver.OracleCallableStatementWrapper.registerOutParameter(OracleCallableStatementWrapper.java:1765)

    at oracle.jbo.server.OracleSQLBuilderImpl.bindUpdateStatement(OracleSQLBuilderImpl.java:2243)

    at oracle.jbo.server.EntityImpl.bindDMLStatement(EntityImpl.java:10524)

    at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:412)

    ... 52 more

    The problem is solved now.

    new columns added to the database table, after the creation of the entity object. Those changes were not picked up in the entity object.

    I found this difference after object entity with the DB Table comparison.

    And when I added these new columns to EO & VO, I don't get this error more.

    Thanks to all who tried to help

  • Library: Can I display the file size? Can I import namesake twice?

    Hi, I have two questions regarding the use of Lightroom:

    • Can I display the file size under a thumbnail and I can sort the images by file size? In my view, this is not possible. (Knowing that "Megapixel" is a criterion.)
    • Is it possible to import images with identical names twice, when they are duplicates in different folders? In my view, this is not possible. I believe that you must rename the images in a folder until you can import it again. I believe that you can import only a file name, once, even if the second file is in a different folder.

    Am I wrong?

    Are there other simple things that miss you?

    Thank you.

    You can import a picture with a duplicate file name - just see the file management section in the right of the Module to import Panel and deselect the option that says "don't import suspected duplicates."

    Given that I work with multiple cameras and some of them turned on back to the "0001" in their file numbering sequence, (and new cameras go back to 0001), I have duplicate names stored throughout my catalogue. Or, at least, I did until I started my files to import with a sequence of name custom including the date of name change.

    HD ++

  • 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

Maybe you are looking for