want to insert null into a column, but "-" is inserted

Hello

Whenever I insert a null value into a column using apex then in place and places the value null, '-' is inserted. Where to change the setting or other methods so that whenever I want to insert null then null should be inserted not «-»

Please give an idea. I use apex 4.2 and oracle XE 11 g database.

Thank you

Chebli

Eric wrote:

Hi Jorge,.

What I have to change on each report page? Is there a setting in any place that will do to all the pages of the report. I need to write a query to find which column is null. So, if someone is using another page of report then, '-' could get inserted for null value and it will give problem to my request in the future.

Thank you

Chebli

Hi Brice, Yes, you will need to change this setting in all reports if you do not want to see the dashes.

There is no risk of a dash is inserted in the comic book.  The DB updates and insertions are managed by your forms (or process) a report will only display data.

Go to the workshop of SQL and query your tables to validate what I say.

Hope that helps.

Thank you

-Jorge

Tags: Database

Similar Questions

  • Any ideas how can I insert a pdf into word, by using the option object to insert. However, the pdf file that I want to insert text and annotated lines, but once inserted comments do not appear?  any help would be greatly appreciated.

    Any ideas how can I insert a pdf into word, by using the option object to insert. However, the pdf file that I want to insert text and annotated lines, but once inserted comments do not appear?  any help would be greatly appreciated.

    You will need to find a forum for MS Word, since it is the software you are trying to manipulate in the present.  If you think that the treatment/creation of the PDF file plays a role, then you should ask in the forum for the software that you use to create the PDF file.

    This forum is for a question about downloading and installing Adobe products test, so in all circumstances, your question does not fit in this forum.

  • divide a column value and insert it into several columns

    Hello
    am new to plsql.
    I want to divide a characters in a column and insert into multiple columns

    I tried the function substr used the symbol ',' vary its place dynamically, so I can't apply the substr function.


    for example: before split
    col1:
    col2:
    COL3:
    COL4:
    colu5: adsdf, fgrty, erfth, oiunth, okujt



    after separation

    col1: adsd
    col2: fgrty
    COL3: erfth
    COL4: oiunth
    col5: adsdf, fgrty, erfth, oiunth, okujt



    can someone help me

    Thank you

    Published by: 800324 on December 23, 2010 08:28

    Published by: 800324 on December 23, 2010 08:36

    What:

    SQL> create table t
      2  (col1 varchar2(30)
      3  ,col2 varchar2(30)
      4  ,col3 varchar2(30)
      5  ,col4 varchar2(30)
      6  ,col5 varchar2(30)
      7  );
    
    Table created.
    
    SQL> insert into t (col5) values ('adsdf,fgrty,erfth,oiunth,okujt');
    
    1 row created.
    
    SQL> insert into t (col5) values ('x,y');
    
    1 row created.
    
    SQL> insert into t (col5) values ('a,b,c,d');
    
    1 row created.
    
    SQL> select * from t;
    
    COL1                           COL2                           COL3                           COL4                           COL5
    ------------------------------ ------------------------------ ------------------------------ ------------------------------ ------------------------------
                                                                                                                                adsdf,fgrty,erfth,oiunth,okujt
                                                                                                                                x,y
                                                                                                                                a,b,c,d
    
    3 rows selected.
    
    SQL>
    SQL> merge into t a
      2  using ( with t1 as ( select col5||',' col5
      3                       from   t
      4                     )
      5          select substr(col5, 1, instr(col5, ',', 1, 1)-1) col1
      6          ,      substr(col5, instr(col5, ',', 1, 1)+1, instr(col5, ',', 1, 2)- instr(col5, ',', 1, 1)-1) col2
      7          ,      substr(col5, instr(col5, ',', 1, 2)+1, instr(col5, ',', 1, 3)- instr(col5, ',', 1, 2)-1) col3
      8          ,      substr(col5, instr(col5, ',', 1, 3)+1, instr(col5, ',', 1, 4)- instr(col5, ',', 1, 3)-1) col4
      9          ,      rtrim(col5, ',') col5
     10          from   t1
     11        ) b
     12  on ( a.col5 = b.col5 )
     13  when matched then update set a.col1 = b.col1
     14                             , a.col2 = b.col2
     15                             , a.col3 = b.col3
     16                             , a.col4 = b.col4
     17  when not matched then insert (a.col1) values (null);
    
    3 rows merged.
    
    SQL> select * from t;
    
    COL1                           COL2                           COL3                           COL4                           COL5
    ------------------------------ ------------------------------ ------------------------------ ------------------------------ ------------------------------
    adsdf                          fgrty                          erfth                          oiunth                         adsdf,fgrty,erfth,oiunth,okujt
    x                              y                                                                                            x,y
    a                              b                              c                              d                              a,b,c,d
    
    3 rows selected.
    
    SQL> 
    

    Assuming you're on 9i...

  • How do I update my laptop so he sees my micro sd card, I inserted into my laptop, but it did not come

    How I update my laptop so he sees my micro sd card, I inserted into my laptop, but it didn't come up.

    help much appreciated.

    Hello

    Thank you for visiting Microsoft Community.

    According to the description, I understand that the problem with you want to update the laptop so that it can recognize the micro SD card in the computer.

    Of course, I understand the inconvenience and will try my best to help you.

    In order to understand the issue more clearly, please provide me the following information.

    1. What exactly happens when you insert the micro SD card in the laptop?
    2. Do you receive an error message? If Yes, what is the exact error message and the error code?
    3. What is the brand and model of the laptop?
    4. How you try to connect the SD card? Is inserting into the card reader on your computer or you are using an external card reader?
    5. You see an error message or the exclamation point in Device Manager when you connect the SD card?

    I suggest you follow the steps how to check for the exclamation point in Device Manager.

    1. Click on Start and go to Run.
    2. In the prompt to run it, type devmgmt.msc , and then click OK.
    3. Device Manager opens.
    4. In Device Manager, double-click the device category.
    5. Check the yellow exclamation point against each category.

    It is possible that this problem would have occurred if the chipset drivers are not updated in the system.

    I would suggest trying the following methods and check if it helps.

    Method 1:

    I suggest you to update the Chipset drivers on the manufacturer's Web site and check if it helps.

    If the problem persists, please follow method 2.

    Method 2:

    Try to run the built-in troubleshooting utility and check if it works.

    Open the hardware and devices Troubleshooter, please follow the steps in the link provided below.

    http://Windows.Microsoft.com/en-us/Windows7/open-the-hardware-and-devices-Troubleshooter

    Note: If your computer is having problems with a recently installed device or other hardware, try to use the hardware and peripheral troubleshooting tool to solve the problem. It checks the common issues of interest and ensures that a new device or hardware connected to your computer has been installed correctly.

    I hope this information is useful.

    Please let us know if you need more help, we will be happy to help you.

    Thank you.

  • SQL query * I want to insert a file column in the other table based on two columns

    I want to insert a column records to another table based on two columns

    the query below does not work

    insert into def_ver_lnki_p (job_name)

    Select def_job.job_name

    from def_job where def_job.job_id = def_ver_lnki_p.job_id and def_job.table_id = def_ver_lnki_p.table_id;

    Just to correct sql

    Update

    def_ver_lnki_p define job_name =)

    Select def_job.job_name

    of def_job

    where def_job.job_id = def_ver_lnki_p.job_id

    (and def_job.table_id = def_ver_lnki_p.table_id);

  • Error then that try to do the full deployment - cannot insert NULL into ("PROD". "" "" DPS_SEG_LIST '. "" ASSET_VERSION')

    Kindly let me know if someone have a solution for this.

    NEWSPAPERS are:

    Debug sat May 16 12:29:59 IST 2015 1431759599345/atg/epub/DeploymentServer DistributedDeploymentAdapter:DAFDeploymentID: 300001 corresponds DeploymentID: 300001
    Debug sat May 16 12:29:59 IST 2015 1431759599352/atg/epub/DeploymentServer DistributedDeploymentAdapter:ApplyCommittedSynchronization.afterCompletion
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production SQL statement failed: [++ SQLInsert ++]
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production INSERT INTO dps_seg_list (segment_list_id, display_name, description)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production VALUES(?,?,?)
    Error Sat May 16 12:29:59 / atg/userprofiling/PersonalizationRepository_production IST 1431759599935 2015 - settings.
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production p [1] = {pd} CommerceReporting (java.lang.String)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production p [2] = {pd: displayName} trade reports (java.lang.String)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production p [3] = {pd: description} Segments of interest to trade reports. (java.lang.String)
    Error Sat May 16 12:29:59 / atg/userprofiling/PersonalizationRepository_production IST 2015 [- SQLInsert-] 1431759599935
    Error Sat May 16 12:29:59 java.sql.SQLIntegrityConstraintViolationException/atg/userprofiling/PersonalizationRepository_production IST 1431759599935 2015: ORA-01400: cannot insert NULL into ("PROD". "" "" DPS_SEG_LIST '. "" ASSET_VERSION')
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:445)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:879)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:450)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:192)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:207)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1044)

    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1329)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3594)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3675)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1354)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:174)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to atg.adapter.gsa.SQLStatement.executeUpdate(SQLStatement.java:725)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to atg.adapter.gsa.Table.insert(Table.java:1410)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to atg.adapter.gsa.GSAItemDescriptor.addItem(GSAItemDescriptor.java:7314)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to atg.adapter.gsa.GSARepository.addItem(GSARepository.java:1054)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to atg.deployment.repository.RepositoryWorkerThread.deployItem(RepositoryWorkerThread.java:1128)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to atg.deployment.repository.RepositoryWorkerThread.processMarkerForAddUpdatePhase(RepositoryWorkerThread.java:263)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:562)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)
    Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager = case repositoryMarker:mark200015 element = CONTAINER: atg.deployment.DistributedDeploymentException; Source: Container: ATG.repository.RepositoryException; Source: Java.Sql.SQLIntegrityConstraintViolationException: ORA - 0
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.deployment.repository.RepositoryWorkerThread.processMarkerForAddUpdatePhase(RepositoryWorkerThread.java:275)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:562)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)
    Sam May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager error message = failure of deployment time = Sat 16 May 12:30 IST 2015 atg.deployment.DeploymentFailure@2e11da44 CONTAINER: atg.deployment.DistributedDeploymentException; Source: Container: ATG.repository.RepositoryExcept
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.deployment.repository.RepositoryWorkerThread.processMarkerForAddUpdatePhase(RepositoryWorkerThread.java:275)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:562)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)
    Error Sat 16 May 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager Caused by: CONTAINER: atg.repository.RepositoryException; Source: Java.Sql.SQLIntegrityConstraintViolationException: ORA-01400: cannot insert NULL into ("PROD". "" "" DPS_SEG_LIST '. "" ASSET_VERSION')
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.adapter.gsa.GSAItemDescriptor.addItem(GSAItemDescriptor.java:7393)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.adapter.gsa.GSARepository.addItem(GSARepository.java:1054)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.deployment.repository.RepositoryWorkerThread.deployItem(RepositoryWorkerThread.java:1128)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.deployment.repository.RepositoryWorkerThread.processMarkerForAddUpdatePhase(RepositoryWorkerThread.java:263)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:562)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)
    Error Sat 16 May 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager Caused by (#2):java.sql.SQLIntegrityConstraintViolationException: ORA-01400: cannot insert NULL into ("PROD". "" "" DPS_SEG_LIST '. "" ASSET_VERSION')
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:445)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:879)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:450)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:192)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:207)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1044)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1329)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3594)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3675)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1354)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:174)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.adapter.gsa.SQLStatement.executeUpdate(SQLStatement.java:725)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.adapter.gsa.Table.insert(Table.java:1410)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.adapter.gsa.GSAItemDescriptor.addItem(GSAItemDescriptor.java:7314)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.adapter.gsa.GSARepository.addItem(GSARepository.java:1054)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.deployment.repository.RepositoryWorkerThread.deployItem(RepositoryWorkerThread.java:1128)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.deployment.repository.RepositoryWorkerThread.processMarkerForAddUpdatePhase(RepositoryWorkerThread.java:263)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:562)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)
    Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager
    Error Sat May 16 12:30 IST 2015 1431759600145/atg/deployment/DeploymentManager an unexpected error has occurred. DeploymentWorkerThread ends prematurely. atg.deployment.DistributedDeploymentException: exceeded the number of allowed errors (0)
    Error Sat May 16 12:30 IST 2015 1431759600145/atg/deployment/DeploymentManager to atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:680)
    Error Sat May 16 12:30 IST 2015 1431759600145/atg/deployment/DeploymentManager to atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)
    Error Sat May 16 12:30 IST 2015 1431759600145/atg/deployment/DeploymentManager
    debugging sat May 16 12:30 IST 2015 1431759600658/atg/epub/DeploymentServer DistributedDeploymentAdapter:DeploymentListener.deploymentFailed called for deployment with ID: 300001
    SAT may 16 12:30 IST 2015 1431759600660/atg/epub/DeploymentServer debugging DistributedDeploymentAdapter:DAFDeploymentID: 300001 corresponds DeploymentID: 300001
    Debug sat May 16 12:30 IST 2015 1431759600662/atg/epub/DeploymentServer DistributedDeploymentAdapter:DeploymentListener.deploymentFailed
    SAT may 16 12:30 IST 2015 1431759600668/atg/epub/DeploymentServer DistributedDeploymentAdapter debug: found 1 failure messages
    SAT may 16 12:30 IST 2015 1431759600684/atg/epub/DeploymentServer DistributedDeploymentAdapter debug: adding failure message failed to deploy with error severity
    SAT may 16 12:30 IST 2015 1431759600691/atg/epub/DeploymentServer debugging DistributedDeploymentAdapter: deployment failed
    Error Sat May 16 12:30 IST 2015 1431759600720 /atg/epub/DeploymentServer---atg.deployment.common.DeploymentException: '300001' target 'Production' deployment has encountered an error of level of deployment of system during data transfer.
    Error Sat May 16 12:30 IST 2015 1431759600720/atg/epub/DeploymentServer to atg.deployment.common.ResourceUtil.exception(ResourceUtil.java:333)
    Error Sat May 16 12:30 IST 2015 1431759600720/atg/epub/DeploymentServer to atg.deployment.adapter.DistributedDeploymentAdapter.deployData(DistributedDeploymentAdapter.java:1391)
    Error Sat May 16 12:30 IST 2015 1431759600720/atg/epub/DeploymentServer to atg.deployment.adapter.DistributedDeploymentAdapter.transferData(DistributedDeploymentAdapter.java:278)
    Error Sat May 16 12:30 IST 2015 1431759600720/atg/epub/DeploymentServer to atg.deployment.server.Deployment.run(Deployment.java:1960)
    Error Sat May 16 12:30 IST 2015 1431759600720/atg/epub/DeploymentServer to java.lang.Thread.run(Thread.java:745)
    Error Sat May 16 12:30 IST 2015 1431759600720/atg/epub/DeploymentServer
    Info, Saturday, May 16, 12:30:50 IST 2015 1431759650742/atg/deployment/DeploymentManager purge data from deployment to deployment 300001
    Info, Saturday, May 16, 12:33:39 IST 2015 1431759819267/atg/dynamo/servlet/adminpipeline/AuthenticationServlet HTML admin 0:0:0:0:0:0:0:1(/dyn/admin) authentication failure
    Caution Saturday, May 16, 12:33:58 IST 2015 1431759838585/atg/dynamo/security/AdminUserAuthority attempt to connect to weblogic account does not exist
    Info, Saturday, May 16, 12:34:01 IST 2015 1431759841600/atg/dynamo/servlet/adminpipeline/AuthenticationServlet HTML admin 0:0:0:0:0:0:0:1(/dyn/admin) authentication failure
    Caution Saturday, May 16, 12:34:01 IST 2015 1431759841687/atg/dynamo/security/AdminUserAuthority attempt to connect to the admin with the incorrect password account
    Info, Saturday, May 16, 12:34:04 IST 2015 1431759844689/atg/dynamo/servlet/adminpipeline/AuthenticationServlet HTML admin 0:0:0:0:0:0:0:1(/dyn/admin) authentication failure
    Caution Saturday, May 16, 12:34:10 IST 2015 1431759850915/atg/dynamo/security/AdminUserAuthority attempt to connect to the admin with the incorrect password account
    Info, Saturday, May 16, 12:34:13 IST 2015 1431759853916/atg/dynamo/servlet/adminpipeline/AuthenticationServlet HTML admin 0:0:0:0:0:0:0:1(/dyn/admin) authentication failure
    Info, Saturday, May 16, 12:34:22 / atg/dynamo/servlet/adminpipeline/Authenticator IST 2015 1431759862089 allowing access for the Administrators group authenticator.
    Info, Saturday, May 16, 12:34:22 IST 2015 1431759862157/atg/dynamo/servlet/pagecompile/ExtendedJhtmlPageProcessor index.jhtml to D:\Oracle\Middleware\Oracle_Home\user_projects\domains\Bcc\ATG-Data\pagebuild\_dasadmin_3__UTF_s8\_index.java treatment
    Info, Saturday, May 16, 12:34:22 IST 2015 1431759862447/atg/dynamo/servlet/pagecompile/ExtendedJhtmlPageProcessor D:\Oracle\Middleware\Oracle_Home\user_projects\domains\Bcc\ATG-Data\pagebuild\_dasadmin_3__UTF_s8\_index.java compilation
    Info, Saturday, May 16, 12:34:24 IST 2015 1431759864951/atg/dynamo/servlet/pagecompile/ExtendedJhtmlPageProcessor /atg/dynamo/admin/en/index.jhtml to D:\Oracle\Middleware\Oracle_Home\user_projects\domains\Bcc\ATG-Data\pagebuild\_dasadmin_3__UTF_s8\_atg\_dynamo\_admin\_en\_index.java treatment
    Info, Saturday, May 16, 12:34:25 IST 2015 1431759865146/atg/dynamo/servlet/pagecompile/ExtendedJhtmlPageProcessor D:\Oracle\Middleware\Oracle_Home\user_projects\domains\Bcc\ATG-Data\pagebuild\_dasadmin_3__UTF_s8\_atg\_dynamo\_admin\_en\_index.java compilation
    Info, Saturday, May 16, 12:34:26 IST 2015 1431759866023/atg/dynamo/servlet/pagecompile/ExtendedJhtmlPageProcessor /atg/userprofiling/admin/en/dps-home.jhtml to D:\Oracle\Middleware\Oracle_Home\user_projects\domains\Bcc\ATG-Data\pagebuild\_dpsadmin_3__UTF_s8\_atg\_userprofiling\_admin\_en\_dps_sh treatment
    Info, Saturday, May 16, 12:34:26 / atg/dynamo/servlet/pagecompile/ExtendedJhtmlPageProcessor IST 2015 1431759866049 D:\Oracle\Middleware\Oracle_Home\user_projects\domains\Bcc\ATG-Data\pagebuild\_dpsadmin_3__UTF_s8\_atg\_userprofiling\_admin\_en\_dps_shome.java compilation
    Info, Saturday, May 16, 12:34:26 IST 2015 1431759866455/atg/dynamo/servlet/pagecompile/ExtendedJhtmlPageProcessor /atg/commerce/admin/en/dcs-home.jhtml to D:\Oracle\Middleware\Oracle_Home\user_projects\domains\Bcc\ATG-Data\pagebuild\_dcsadmin_3__UTF_s8\_atg\_commerce\_admin\_en\_dcs_shome.java treatment
    Info, Saturday, May 16, 12:34:26 / atg/dynamo/servlet/pagecompile/ExtendedJhtmlPageProcessor IST 2015 1431759866470 D:\Oracle\Middleware\Oracle_Home\user_projects\domains\Bcc\ATG-Data\pagebuild\_dcsadmin_3__UTF_s8\_atg\_commerce\_admin\_en\_dcs_shome.java compilation
    Info, Saturday, May 16, 12:34:28 / atg/dynamo/security/ComponentSecurityDomain IST 2015 1431759868918 ComponentSecurityDomain registered with the registry of the/atg/registry/SecurityDomains
    Info, Saturday, May 16, 12:34:44 IST 2015 1431759884078/atg/dynamo/servlet/pagecompile/ExtendedJhtmlPageProcessor /atg/dynamo/admin/en/cmpn-search.jhtml to D:\Oracle\Middleware\Oracle_Home\user_projects\domains\Bcc\ATG-Data\pagebuild\_dasadmin_3__UTF_s8\_atg\_dynamo\_admin\_en\_cmpn_ssearch.java treatment
    Info, Saturday, May 16, 12:34:44 IST 2015 1431759884213/atg/dynamo/servlet/pagecompile/ExtendedJhtmlPageProcessor D:\Oracle\Middleware\Oracle_Home\user_projects\domains\Bcc\ATG-Data\pagebuild\_dasadmin_3__UTF_s8\_atg\_dynamo\_admin\_en\_cmpn_ssearch.java compilation

    Hello

    It seems that your production table contains the column asset_version.

    Asset_version is just for database edition, to store versioned data.

    Try to remove this column.

    It will be useful.

    Good bye.

  • Autconfig error: ORA-01400: cannot insert NULL into ('APPLSYS". "" "" FND_NODES '. "" NODE_NAME')

    Nice day

    I'm under EBS 11.5.10 with DB 10.2.0.4. I applied patch 7429271 following the steps described in the Doc id 233044.1.

    After restarting the application, I had one "node id does not exist for the current application" when forms started.

    After serving nodes (exec fnd_conc_clone.setup_clean) DNF, I ran successfully on the dbtier autoconfig but got the error below in the layer of apps.

    I also noticed that the content of my BCD file has been deleted and replaced by the model data (all values are by default). I tried to restore but it just had class written once again with default data.

    Hope my explanation was clear enough.

    Any suggestions?

    -adconfig.log error-

    Unique constraint error (00001) is OK if the key already exists

    java.sql.SQLException: ORA-01400: cannot insert NULL into ('APPLSYS". "" "" FND_NODES '. "" NODE_NAME')

    ORA-06512: at the 'APPS '. FND_CONCURRENT', line 1504

    ORA-06512: at the 'APPS '. FND_APP_SERVER_PKG', line 163

    ORA-06512: at line 1

    -Database error change the server

    You have the latest applied AutoConfig patch (Patch 9535311 - T2K AUTOCONFIG AND TEMPLATES CUMULATIVE HOTFIX U)? If this isn't the case, please apply the patch and then try.

    Additionally, make sure that you have entered in the file/etc/hosts.

    Thank you

    Hussein

  • ORA-01400 ccannot insert NULL into ("SYS". «SUMINLINE$ '.» ("' TEXT ')

    Hello

    First I'll apologize I can't give too much information as my client is offline and remotely. The SQL I will discuss work on his test and my solution Oracle XE. But on live, we get the error shows:

    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-01400: cannot insert NULL into ("SYS". «SUMINLINE$ '.» ("' TEXT ').

    I have never posted on this forum but I do not understand what makes the table SUMINLINE$ and it has relevance. Please also excuse if there is a better way to write the SQL code), in any case any guideance would be useful.

    I thought it may be down to how I use rownum (he is a complete proposal) but he materializes in the previous view, I don't see how it could be)

    In any case if someone is good enough to spend a little time there, watching the SQL below I would be eternally grateful.

    -----------------------------------------------------
    STEP 1: I have a materialized view of base:
    (he uses the 'rownum' as primary key as a primary key is needed more late and from this point of view does not
    a primary key, as it is a view complex)
    -------------------------------------------------------

    Bo_socrates.baseCSIIdentPerPerson CREATE MATERIALIZED VIEW
    TABLESPACE bo_socrates
    PCTUSED 0
    PCTFREE 10
    INITRANS 2
    MAXTRANS 255
    STORAGE)
    1040K INITIALS
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0
    DEFAULT USER_TABLES
    )
    NOCACHE
    NOLOGGING
    NOPARALLEL
    IMMEDIATE CONSTRUCTION
    COMPLETE REFRESH
    WITH THE PRIMARY KEY
    AS
    SELECT rownum iid,
    csi.attendId,
    csi.sceneId,
    csi.caseId,
    csi.identDate,
    csi.identType,
    csi.subIdenttype,
    csi.suspectId,
    CSI. Surname,
    CSI. Data,
    CSI. CRO,
    CSI. ConfirmedIdent
    OF bus_objects.v_factCSIIdentPerPerson csi
    ;

    CREATE INDEX bo_socrates.ind_baseCSIIdentPerson_Id on bo_socrates.baseCSIIdentPerPerson (id)
    TABLESPACE bo_socrates
    STORAGE (INITIAL 64K MINEXTENTS 1 MAXEXTENTS UNLIMITED) NOLOGGING;


    -----------------------------------------------------
    STEP 2: This materialized view (my fact table) uses the previous view of the materilalized
    as a point to calculate the date of fact. It is for example the background 'unit' people
    but I also need to know what people came first, that people came first with blue hats, etc..
    So I use one with instructions to discover these facts.
    * PLEASE NOTE THAT IT IS THIS VIEW WHICH TRIGGERS THE ERROR WHEN THE SCRIPT IS RUN *.
    If there is a simpler way to write so please let me know
    This point of view basically uses the primary key (id) generated in the above view by using rownum
    -------------------------------------------------------
    Bo_socrates.factCSIIdent CREATE MATERIALIZED VIEW
    TABLESPACE bo_socrates
    PCTUSED 0
    PCTFREE 10
    INITRANS 2
    MAXTRANS 255
    STORAGE)
    1040K INITIALS
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0
    DEFAULT USER_TABLES
    )
    NOCACHE
    NOLOGGING
    NOPARALLEL
    IMMEDIATE CONSTRUCTION
    COMPLETE REFRESH
    WITH THE PRIMARY KEY
    AS
    With
    firstAttend like)
    Select Attendid, Min (IdentDate) Identdate,
    Min (ID) Id,
    Min (case when identtype = 0 Then ID else null end) IPF,
    Dnaid, min (case when identtype = 1 Then ID else null end),
    Fwid, min (case when identtype = 2 Then ID else null end),
    Min (Case When Confirmedident = 1 then end Id or Null) Idconfirm,
    Fpidconfirm, min (case when identtype = 0 and Confirmedident = 1 Then ID else null end),
    Dnaidconfirm, min (case when identtype = 1 and Confirmedident = 1 Then ID else null end),
    Min (case when identtype = 2 and confirmedident = 1 Then ID else null end) FwidConfirm
    Of Bo_Socrates.Basecsiidentperperson
    Attendid GROUP),
    firstInd AS)
    Select Attendid, SuspectId, Identdate, Min (Id) Id, Min (IdentDate),
    Min (case when identtype = 0 Then ID else null end) IPF,
    Dnaid, min (case when identtype = 1 Then ID else null end),
    Fwid min (case when identtype = 2 Then ID else null end)
    Of bo_socrates. BaseCSIIdentPerPerson
    Attendid group, Suspectid)
    Select csi.id,
    csi.attendId,
    csi.sceneId,
    csi.caseId,
    csi.identDate,
    CSI.identtype,
    csi.subIdenttype,
    csi.suspectId,
    CSI. Surname,
    CSI. Data,
    CSI. CRO,
    Csi.Confirmedident,
    Case when Ind.Id is Null then 0 otherwise 1 end Firstindident.
    Case when Ind.Fpid is Null then 0 otherwise 1 end Firstindidentfp.
    Case when Ind.DNAid is Null then 0 otherwise 1 end FirstindidentDNA.
    Case when Ind.FWid is Null then 0 otherwise 1 end FirstIndIdentFW.
    Case when Att.Id is Null then 0 otherwise 1 end Firstattident.
    Case when Attfp.Fpid is Null then 0 otherwise 1 end Firstattidentfp.
    Case when AttDNA.DNAid is Null then 0 otherwise 1 end FirstattidentDNA.
    Case when Attfw.Fwid is Null then 0 otherwise 1 end Firstattidentfw.
    Case when Att.IdConfirm is Null then 0 otherwise 1 end FirstattidentConfirm.
    Case when Attfpc.Fpidconfirm is Null then 0 otherwise 1 end Firstattidentfpconfirm.
    Case when AttDNAc.DNAidconfirm is Null then 0 otherwise 1 end FirstattidentDNAconfirm.
    Cases where AttFWc.FWidconfirm is Null then 0 otherwise 1 end FirstattidentFWconfirm
    Of Bo_Socrates.Basecsiidentperperson Csi
    Left outer join Firstind Ind Csi.Id = Ind.Id
    Left outer join Firstind Indfp Csi.Id = Indfp.Fpid
    Left outer join Firstind Inddna Csi.Id = Inddna.Dnaid
    Left outer join Firstind IndFW Csi.Id = IndFW.FWid
    Left outer join Firstattend Att Csi.Id = Att.Id
    Left outer join Firstattend Attfp Csi.Id = Attfp.Fpid
    Left outer join Firstattend Attdna Csi.Id = Attdna.Dnaid
    Left outer join Firstattend Attfw Csi.Id = Attfw.Fwid
    Left outer join Firstattend Attfpc Csi.Id = AttFPc.Fpidconfirm
    Left outer join Firstattend Attdnac Csi.Id = AttDNAc.DNAidconfirm
    Left outer join Firstattend Attfwc Csi.Id = AttFWc.Fwidconfirm
    ;


    CREATE INDEX bo_socrates.ind_factCSIIdent_Id on bo_socrates.factCSIIdent (attendId)
    TABLESPACE bo_socrates
    STORAGE (INITIAL 64K MINEXTENTS 1 MAXEXTENTS UNLIMITED) NOLOGGING;

    CREATE INDEX bo_socrates.ind_factCSIIdent_date on bo_socrates.factCSIIdent (identDate)
    TABLESPACE bo_socrates
    STORAGE (INITIAL 64K MINEXTENTS 1 MAXEXTENTS UNLIMITED) NOLOGGING;

    CREATE INDEX bo_socrates.ind_factCSISubIdent_type on bo_socrates.factCSIIdent (subidentType)
    TABLESPACE bo_socrates
    STORAGE (INITIAL 64K MINEXTENTS 1 MAXEXTENTS UNLIMITED) NOLOGGING;


    COMMIT;

    Details of the message of pl of the OS and database versions. It is probably a bug - pl see these Docs MOS

    Error ORA-01400 creating MView ANSI join [ID 1495499.1]
    While Alter Materialized View compilation then error ORA-01400 product [1377447.1 ID]

    As the State of docs, a fix is available in the next version of Oracle (12g) - I'd say you open an SR with Support

    HTH
    Srini

  • have a mp3 file that I want to insert in a movie that I do but unable to make it invalid or damaged

    Issue of WINDOWS MOVIE MAKER.
    I have an mp3 file that I want to insert in a movie that I do.  I can't do... I get a message saying that the file is invalid or damaged.  I contacted Amazon.com about the file... the file is fine.  However, can I insert one of my other songs... but I can't insert this certain song.  What I am doing wrong?  all my music files are mp3.

    Convert MP3 to WMA format before importing
    in Movie Maker and you should have a better result.

    There are many freeware converters available on
    the net... the following examples may be worth a try:

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    * Proceed at your own risk *.

    (1) format Factory
    http://www.pcfreetime.com/
    (the file you want to download is: > FFSetup270.zip
    (FWIW... installation..., you might want to
    Uncheck all of the boxes on the last screen)

    First... after the download and installation of Format
    Factory... you can open the program and
    left click on the toolbar, the "Option" button and
    "Select an output folder to" / apply / OK.
    (this is where you find your files after they)
    are converted)

    Drag and drop your MP3 files on the main screen...

    Select "while"WMA"/ OK...

    Click on... Beginning... in the toolbar...

    That should do it...

    Here's another free download:

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    (2) Koyotesoft "Free MP3 WMA Converter".
    http://www.koyotesoft.com/indexEn.html
    (FWIW if you install the converter, you can
    Uncheck offerings from Yahoo and Dealio) (also... you
    may want to uncheck the CD Ripper and the Easy
    MP3 Cutter)

    After installing the program... open and drag and drop
    your audio files on the main screen...

    Choose a backup folder (path of output). Or just leave...
    "Save to the directory the file" checked and the new
    files will be saved in the folder with the current files.

    Choose a format... WMA.

    Left, click Convert.

  • I want to get only year sysdate with my name of the defined column. but not able to get it.

    I want to get only year sysdate with my name of the defined column. but not able to get it.

    SQL > select to_char (sysdate, 'yyyy') as 'mahesh tyagi' from dual;

    Mahé

    ----

    2015

    SQL > select to_char (sysdate, 'yy') as 'Manu' from dual;

    my

    --

    15

    So I couldn't do 'Manu' or "mahesh tyagi" as the column name.

    The column name is "mahesh tyagi" is simply displayed it shortened to sqlplus due to the known values in the column length.

    create table year_test select to_char (sysdate, 'yyyy') "mahesh tyagi" double;

    year_test / / DESC

    You can change the way sqlplus displays the header of column with something like

    column "mahesh tyagi" format a15

  • I tried to download a pdf and convert them into excel, but the data in excellent is always to the image format.  How can I get the pdf data into the columns and rows?

    I tried to download a pdf and convert them into excel, but the data in excellent is always to the image format.  How can I get the pdf data into the columns and rows so that I can do the calculations?

    If you start the https://forums.adobe.com/welcome Forums Index

    You will be able to select a forum for the specific Adobe products you use

    Click on the symbol "arrow down" on the right (where it is said to see all our products and Services) to open the drop-down list and scroll

  • I want to insert a page in Acrobat XI, but I don't want the Page thumbnails to display

    I find that my editing of document becomes more complicated when I insert a page, because Show Page thumbnails. This new feature throws me because I can not navigate via the open tiles with arrow keys (I can work around this by pressing the right arrow key, then enter, but it is very annoying).

    To compound my problem, when I want to insert a document before the page is displayed on the screen, it sometimes does not work because there is another page selected in the thumbnail of the Page, I can understand if I deliberately choose the page in the thumbnail of the Page, but I navigate through the pages directly, so I find myself insert documents before the wrong page.

    Unfortunately, I can not simply dismiss the pane with the ESC key. I have to click on in the pane thumbnail to make it disappear, which takes the time I spend my hands on the keyboard to the mouse. If I could just prevent thumbnails Page to display in the first place, I would be able to accomplish my tasks much more quickly.

    This is the default and not configurable behavior by the end user.

    Perhaps a future update or the next version will address this (or maybe not).

    Be well...

  • How to insert a pdf or jpeg image into a column of type blob of a table

    How to insert a pdf or jpeg image into a column of type blob of a table

    Hello
    Try this

    Loading an image into a BLOB column and showing through OAS
    -------------------------------------------------------------

    The steps are:

    Step 1.
    -------

    Create a table to store BLOBs:

    create BLOB table objects
    (id VARCHAR2 (255),)
    blob_col blob
    );

    Step 2.
    -------

    Create a logical directory in the database to the physical file system:

    create or replace the MY_FILES directory as "c:\images";

    Step 3.
    -------

    Create a procedure to load the BLOB from the file system by using the logic
    Directory. Gif 'aria.gif' must exist in c:\images.

    create or replace procedure insert_img as
    f_lob bfile.
    b_lob blob.
    Start
    insert into BLOB ("MyGif", empty_blob()) values
    return blob_col in b_lob;

    f_lob: = bfilename ("MY_FILES', 'aria.gif');
    DBMS_LOB. FileOpen (f_lob, dbms_lob.file_readonly);
    DBMS_LOB. LoadFromFile (b_lob, f_lob, dbms_lob.getlength (f_lob));
    DBMS_LOB. FileClose (f_lob);
    commit;
    end;
    /

    Step 4.
    -------

    Create a procedure that is called via Oracle Application Server to display the
    image.

    create or replace procedure get_img as
    vblob blob.
    raw buffer (32000);
    buffer_size integer: = 32000;
    offset of an integer: = 1;
    length of number;
    Start
    owa_util.mime_header('image/gif');
    Select blob_col from vblob of blobs where id = 'MyGif. "
    Length: = dbms_lob.getlength (vblob);
    While offset< length="">
    DBMS_LOB. Read (vblob, buffer_size, offset, buffer);
    HTP. PRN (utl_raw.cast_to_varchar2 (buffer));
    offset: = offset + buffer_size;
    end loop;
    exception
    while others then
    HTP.p (SQLERRM);
    end;
    /

    Step 5.
    -------

    Use the PL/SQL cartridge to call the get_img procedure

    OR

    Create this procedure in function and call it your PL/SQL code for
    correctly place the images on your HTML page through the PL/SQL Toolbox.

    from a html form

    1. create an HTML form where the image will be. You too
    need the file MIME type.
    2. create a procedure receives the form parameters. The file field will be a Varchar2
    parameter, because you receive the path of the image is not the image itself.
    3 insert the image file into the table by using 'Create a directory NAME as chemin_image' and
    Then use ' insert into the TABLE (row, BLOB_OBJECT, MIME_OBJECT) values (sequence.nextval, '.
    EMPTY_BLOB() 'GIF' or 'JPEG') BLOB_OBJECT, in the variable_blob, back
    variable_consecutive.
    4 load the file into the table using:
    DBMS_LOB. LoadFromFile (variable_blob, variable_file_name, dbms_lob.getlength (variable_file_name));
    DBMS_LOB. FileClose (variable_file_name);
    engage.

    Kind regards
    Simma...

  • Divide the line into several columns

    Hi all

    I have a question where I want to divide the line into multiple columns based on the delimiter ' |'.

    Staging of Table structure: People_STG, I have people in it.

    Create table People_STG(col1 varchar2(4000));


    Insert into People_STG(Emp_id|) User name | FirstName. LastName. JobTitle | hire_date | Location_id)


    SELECT REGEXP_SUBSTR ( COL1, '[^,|]+', 1, 1) EMP_ID,
           REGEXP_SUBSTR ( COL1, '[^|]+', 1, 2) USERNAME,
           REGEXP_SUBSTR ( COL1, '[^,|]+', 1, 3) FIRSTNAME,
           REGEXP_SUBSTR ( COL1, '[^,|]+', 1, 4) LASTNAME,
           REGEXP_SUBSTR ( COL1, '[^,|]+', 1, 5) JOBTITLE,
           REGEXP_SUBSTR ( COL1, '[^,|]+', 1, 6) HIRE_DATE,
           REGEXP_SUBSTR ( COL1, '[^,|]+', 1, 7) LOCATION_ID
    FROM PEOPLE_STG
    WHERE length(regexp_replace(COL1, '[^|]', '')) = 14;
    

    But I am facing a problem here, as in some lines, function is null, but when I run the above query, it is not recognizing the empty element and inserting Hire_date values of function and location_id in Hire_date where function is null.

    for example: 1 | akash51 | Akaksh | C | 22/11/14 | 15

    Here the function is null, so when I run top to divide query it will insert 11/22/14 in the function column and 15 in Hire_Date.

    Please need help on this one.

    Oracle Version: 11.2 g

    Thanks in advance,

    Akash.

    There are different techniques to cope with this.  Is a simple...

    SQL > ed
    A written file afiedt.buf

    1 with t as (select 1 | akash51 |) Akaksh | C | 22/11/14 | 15' as col1 of union double all the
    2 Select 2 | akash52 | Akaksh | C | Jobs jobs | 23/11/14 | 15' of the double
    3            )
    4  --
    5. end of test data
    6  --
    7 select trim (REGEXP_SUBSTR (COL1, ' [^, |] +', 1, 1)) EMP_ID,.
    8 toppings (REGEXP_SUBSTR (COL1, ' [^, |] +', 1, 2)) USERNAME,.
    9 garnish (REGEXP_SUBSTR (COL1, ' [^, |] +' 1, 3)) FIRSTNAME,
    10 pads (REGEXP_SUBSTR (COL1, ' [^, |] +' 1, 4)) LASTNAME,.
    11 garnish (REGEXP_SUBSTR (COL1, ' [^, |] +' 1, 5)) JOBTITLE,.
    12 pads (REGEXP_SUBSTR (COL1, ' [^, |] +', 1, 6)) HIRE_DATE,.
    13 garnish (REGEXP_SUBSTR (COL1, ' [^, |] +' 1, 7)) location_id
    14 * from (select replace (col1, ' |)) ',' | as col1 of t)
    SQL > /.

    EMP_ID USERNAME FIRSTNAME LASTNAME, JOBTITLE HIRE_DATE LOCATION_I
    ---------- ---------- ---------- ---------- ---------- ---------- ----------
    1 akash51 Akaksh C 22/11/14 15
    2 akash52 Akaksh C Job 23/11/14 15

  • I have the table of 3 columns A, B, C. I want to store the sum of columns A B in the C column without using the DML statements. Can anyone help please how to do. ?

    I have the table of 3 columns A, B, C. I want to store the sum of columns A B in the C column without using the DML statements. Can anyone help please how to do. ?

    11.1 and especially you have virtual column

    SQL> create table t
      2  (
      3     a number
      4   , b number
      5   , c generated always as (a+b) virtual
      6  );
    
    Table created.
    
    SQL> insert into t (a, b) values (1, 2);
    
    1 row created.
    
    SQL> select * from t;
    
             A          B          C
    ---------- ---------- ----------
             1          2          3
    

    Before that, a front insert - trigger

    SQL> create table t
      2  (
      3     a number
      4   , b number
      5   , c number
      6  );
    
    Table created.
    
    SQL> create or replace trigger t_default before insert on t for each row
      2  begin
      3    :new.c := :new.a+:new.b;
      4  end;
      5  /
    
    Trigger created.
    
    SQL> insert into t (a, b) values (1, 2);
    
    1 row created.
    
    SQL> select * from t;
    
             A          B          C
    ---------- ---------- ----------
             1          2          3
    

Maybe you are looking for