the value in timestamp insertion error

Hey people,

I need to insert ' 03:23:45 ' in a timestamp column.

INSERT into pc (col1)-> col1 is of type timestamp
SELECT to_date('03:23:45','hh:mi:ss') FROM dual;

its insertion but the output is 0 1 October 10

SELECT to_date('03:23:45','hh:mi:ss') FROM dual;
o/p-01/10/2010 03:23:45

Can U help me in this... .i am using oracle 11g

You must format your output like this:

select to_char(col1, 'DD-MM-YYYY HH24:MI:SS.FF6') from pc

It contains aggregate data but in the format known to oracle

Published by: Mustafa KALAYCI on 25.Eki.2010 11:26

Tags: Database

Similar Questions

  • How to perform an addition of column values in an insert query that would insert in the 3rd column, and the values how to insert into another table.

    I have two tables (2) RESULT TAB (1)

    CREATE TABLE TAB

    (

    NUMBER OF SNO

    A NUMBER,

    B THE NUMBER.

    NUMBER OF THE SUM

    );

    CREATE AN ARRAY OF RESULT

    (

    NUMBER OF SNO

    NUMBER OF THE SUM

    )

    my doubt is:

    (1) I want to insert a table TAB, my question is how to insert a column to the SUM using the column A AND B... Here im adding two values of the column and store result in the AMOUNT column.

    SNO   A  SUM           

    1 100 150 250

    2 300 100 400

    I want to like this, it is possible with single insert query?


    (2) at the time of the insertion TAB of values that SNO, and the values of table TAB $ insert in the table of RESULTS... is it possible these two inserts at the same time?

    in fact, im using another this table.fro TAB and easy to understand I write like that, please solve this problem

    First, you post in the wrong forum as this one is only for Oracle's SQL developer tool. So you might ask your question in the general forum of SQL.

    Second, you might solve your problems with bind variable:

    Insert tab

    (sno, a, b, sum)

    values

    (: SNO,: A: B: A + B :))

    You should not use sum as column name because it is a reserved word.

    More you cannot insert into two different tables with a single SQL, but you can use PL/SQL to do this:

    Start

    insert into tab values (: SNO,: A: B: A + B :);)

    insert into result values (: SNO,: A + B :);)

    end;

    If you meet sno from a sequence, you could do something like this:

    Start

    insert into values tab (seq_sno.nextval,:,: B,: A +: B) return sno in: SNO.

    insert into result values (: SNO,: A + B :);)

    end;

    Hope that helps,

    dhalek

  • Instead of trigger is running, but the values are not inserted into the view

    I created a view
    create or replace view as select e.department_id, e.last_name, d.department_name employee e, Department d where e.department_id = d.department_id;

    create or replace trigger trgg instead of inserting it on vns for each line
    declare
    The CNT number;
    Start
    Select count (*) in the cnt of employees where department_id =:new.department_id;
    If cnt = 0 then
    insert into employees (department_id, last_name) values(11,'nandu');
    end if;
    Select count (*) in the cnt of the Department where department_id =:new.department_id;
    If cnt > 0 then
    insert into dept (department_name) values('wrestling');
    end if;
    end;
    /
    This is the code required. .plz answer the right
    create or replace view
    vns as
    select e.department_id,e.last_name,d.department_name
    from employees e,departments d
    where e.department_id=d.department_id;
    
    create or replace trigger trgg
    instead of insert on vns
    for each row
    declare
    cnt number;
    begin
    select count(*) into cnt from employees where department_id=:new.department_id;
    if cnt=0 then
    --insert into employees(department_id,last_name) values(11,'nandu');
    insert into employees(employee_id,email,hire_date,job_id,department_id,last_name)
                   values(207,'[email protected]',sysdate,'AC_MGR',11,'nandu');   --- Values you have to choose!!
    end if;
    select count(*) into cnt from departments where department_id=:new.department_id;
    if cnt>0 then
    insert into departments(department_id, department_name) values(11, 'wrestling');  -- department_id is needed
    end if;
    end;
    /
    
    -- testing with existing dept id = 10
    
    insert into vns(department_id) values(10);
    
    SQL> select * from departments where department_id = 11;
    
    DEPARTMENT_ID DEPARTMENT_NAME                MANAGER_ID LOCATION_ID
    ------------- ------------------------------ ---------- -----------
               11 wrestling
    

    Requirement, you must be knowing well
    Show you how the trigger must be according to your point of view and logic inside the trigger or you recreate in order to avoid the required values in the trigger body.

    Thank you!

  • Convert the value of timestamp in format hours

    Hi all
    I want to convert a value of time in time stamp foramt.
    How to do this?

    Thank you
    Olivier

    Swapna,

    This is the third thread where you asked the same question.

    For more information on CHS and Timo, Swapna has TIMESTAMP columns in the database (not Java timestamps).

    Swapna, let's make this easy. Just create a view in your database that has the additional column you want (do you, after all to have SQL to do this from another thread). Then, just to make your select EO/VO from the point of view of database.

    John

  • Get the value of the element for PL/SQL procedure

    Hello, I am very new to apex development, so this is probably a simple question.

    I created a procedure that uses PL/SQL to insert rows in a table. The PL/SQL work correctly when I have to hardcode values. But when I try to get the values of the form elements, the values are not inserted into the table.

    I'm referencing the item using the syntax: nom_element.
    What is the right syntax? Is there anything else I need to do for the element or in the procedure to get the value of the element.

    INSERT INTO SOURCE_ITEM (UNIQUE_ID, ORIGIN, DESTINATION, TECHNIQUE, TEAM, SMB, WATCH_FLAG, PASS_THROUGH_FLAG, DESCRIPTION, LAST_MODIFIED_DATE)
    VALUES
    (: P34_UNIQUE_ID,: P34_ORIGIN_OF_CONTENT_2, 'AAA', 'PLATFORM', ' THE TEAM X "," EMS X ","N","N",: P34_GENERAL_DESCRIPTION, SYSDATE);

    In compiled units, you must use the function of v, for example, v ('P34_UNIQUE_ID').

    Scott

  • ultralitej exception when attempting to insert the value into the table

    Hello

    I get this exception,

    Here is my table

    Sub createItem()
    throws ULjException
    {
    TableSchema table_schema = _conn.createTable ('Item');
    Table_schema.createColumn ("item_code", Domain.VARCHAR, 15);
    Table_schema.createColumn ("item_desc", Domain.VARCHAR, 30);
    Table_schema.createColumn ("item_rate", Domain.INTEGER);
    IndexSchema pk_schema = table_schema.createPrimaryIndex ("prime_key");
    pk_schema. AddColumn ("item_code", IndexSchema.ASCENDING);
           
    IndexSchema name_index = table_schema.createIndex ('ItemName');
    name_index. AddColumn ("item_desc", IndexSchema.ASCENDING);
    }

    I'm trying this option to enter the values in it.

    for (int i = 0; i)<>
    {
    dataAccess.insertItem (str_pCode [i], str_pDesc [i], str_pRate [i]);
    }

    Here is my code insertItem

    Insert data
    {} public insertItem Sub (string code, string desc, string rate)
    try {}
    String sql = "INSERT INTO point (item_code, item_desc, item_rate) VALUES (?,?,?)";
    PreparedStatement ps = _conn.prepareStatement (sql);

    PS. Set (code 1);
    PS. Set (2, desc);
    PS. Set (3, rate);

    PS. Execute();
    _conn.commit (); }
    {} catch (ULjException uex)
    System.out.println ("ULjException:"+ uex.toString () ');
    }
    catch (Exception ex) {}
    System.out.println ("Exception:"+ ex.toString () ');
    }
    }

    and I'm getting the following exception.

    Exception: ianywhere.ultralitej.implementation.JrException: error-[141] UltraLiteJ: table 'employee '.

    Check which line of code is throwing the exception. Look for the error on the UltraliteJ document number.

  • ORA-00001 violation, always on the 2nd insertion irrespective of the values

    Connected to:

    Database Oracle 12 c Enterprise Edition Release 12.1.0.2.0 - 64 bit Production

    With the options of partitioning, OLAP, advanced analytics and Real Application Testing

    I get a UK violation when I shouldn't be, and I'm stuck.  Where to look to figure out what is causing the problem?  Excerpts below.

    I insert only two records.  The second insertion always fails, regardless of the value of LOT_NO.

    I.E.

    • If the first insert is with LOT_NO 1234, the 2nd insertion with LOT_NO 1235 fails.
    • If the first insert is with LOT_NO 1235, the 2nd insertion with LOT_NO 1234 fails.


    truncate table ppr_lots;


    commit;


    Select * from ppr_lots;  -not return any records


    -alter table ppr_lots change the lot_uk disable constraint;


    insert into PPR_LOTS (lot_no, lot_id, lot_type_id, lot_status_type_id, cadastral_area_id, land_tenure_type_id, land_use_type_id, lot_demarcation_type_id, the plan_id argument, address_id, lot_building_id, pid, legal_issues_yn, lot_size, area_unit_type_id, gis_data_captured_yn, short_legal_dsc, long_legal_dsc, eff_from_dtm) eff_through_dtm remarks_dsc, section_locator_no, lot_guid, logically_deleted_yn, concurrency_check_ts, log_created_by_user_id, log_created_ts, log_updated_by_user_id, log_updated_ts)

    values (1234, 2, 5305, 5201, 23, 4700, 1802, 5000, 1, null, null, 1, 'n', 10, 201, 'Y', 'GAC002001234', null, null, null, null, null, null, 'n', to_timestamp (27 November 2015 09:05:42.517978', 'dd-mm-yyyy hh24:mi:ss.ff'), 1, to_timestamp (27 November 2015 09:05:42.517978', 'dd-mm-yyyy hh24:mi:ss.ff'), null, null);


    insert into PPR_LOTS (lot_no, lot_id, lot_type_id, lot_status_type_id, cadastral_area_id, land_tenure_type_id, land_use_type_id, lot_demarcation_type_id, the plan_id argument, address_id, lot_building_id, pid, legal_issues_yn, lot_size, area_unit_type_id, gis_data_captured_yn, short_legal_dsc, long_legal_dsc, eff_from_dtm) eff_through_dtm remarks_dsc, section_locator_no, lot_guid, logically_deleted_yn, concurrency_check_ts, log_created_by_user_id, log_created_ts, log_updated_by_user_id, log_updated_ts)

    values (1235, 3, 5304, 5201, 24, 4701, 1802, 5000, 2, null, null, 2, 'n', 104.5, 200, 'Y', 'CEC003001235', null, null, null, null, null, null, 'n', to_timestamp (27 November 2015 09:05:42.538275', 'dd-mm-yyyy hh24:mi:ss.ff'), 1, to_timestamp (27 November 2015 09:05:42.538275', 'dd-mm-yyyy hh24:mi:ss.ff'), null, null);


    Error report-

    SQL error: ORA-00001: unique constraint (LIS_PPR. LOT_UK) violated

    00001 00000 - "forced single (s.%s) violated."

    * Cause: An UPDATE or INSERT statement attempted to insert a duplicate key.

    For Trusted Oracle configured in DBMS MAC mode, you can see

    This message if there is an entry double at a different level.

    * Action: Either remove the single restriction or not to insert the key.

    BTW, if I turn off the UK, everything is fine.

    -Ken

    LOT_UK is defined simply as follows.

    ALTER TABLE PPR_LOTS

    ADD CONSTRAINT LOT_UK UNIQUE

    (

    LOT_NO

    )

    USING INDEX

    (

    CREATE A UNIQUE LOT_UK ON PPR_LOTS (LOT_NO CAD) INDEX

    LOGGING

    TABLESPACE USERS

    PCTFREE 10

    INITRANS 2

    STORAGE

    (

    65536 INITIAL

    NEXT 1048576

    MINEXTENTS 1

    MAXEXTENTS UNLIMITED

    DEFAULT USER_TABLES

    )

    NOPARALLEL

    )

    ENABLE;

    Found the problem.

    I thought that I had disabled triggers.  Turns out I didn't, and a defective trigger is overwhelming as LOT_NO.

    It's always the answer is simple.

    -Ken

  • What is wrong with this sequence, it does not work when, after 3 inserts, I add a new record with the trigger it gives an error.

    Mr President.

    What is wrong with this sequence, it does not work when, after 3 inserts, I add a new record with the trigger it gives an error.

    --SL_CUSTOMERS table data
    
    
    INSERT INTO SL_CUSTOMERS VALUES(1,'Kamrul Hasan',NULL,NULL,'Moghbazar', 'Dhaka','0456789123',NULL,NULL,NULL,'Y',NULL);
    INSERT INTO SL_CUSTOMERS VALUES(2,'Rabiul Alam',NULL,NULL,'Motijheel', 'Dhaka','0567891234',NULL,NULL,NULL,'Y',NULL);
    INSERT INTO SL_CUSTOMERS VALUES(3,'Shahed Hasan',NULL,NULL,'2-G/1,2-2,Mirpur', 'Dhaka','0678912345',NULL,NULL,NULL,'Y',NULL);
    
    
    
    

    CREATE SEQUENCE  "ALIZA"."SL_CUSTOMERS_SEQ"  MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 1 NOCACHE NOORDER  NOCYCLE ;
    
    
    CREATE OR REPLACE TRIGGER SL_CUSTOMERS_TRG 
    BEFORE INSERT ON "ALIZA"."SL_CUSTOMERS"   
    FOR EACH ROW   
    BEGIN   
    IF :NEW.CUSTOMER_ID IS NULL OR :NEW.CUSTOMER_ID < 0 THEN  
      SELECT SL_CUSTOMERS_SEQ.nextval   
        INTO :NEW.CUSTOMER_ID  
        FROM DUAL;   
      END IF;   
    END;   
    /
    
    
    
    

    When I try to insert several records with the seq.nextval it gives error

    violation of primary key.

    INSERT INTO "ALIZA"."SL_CUSTOMERS" (CUSTOMER_NAME) VALUES ('sdfsd')
    ORA-00001: unique constraint (ALIZA.SL_CUSTOMERS_PK) violated
    ORA-06512: at line 1
    
    
    
    
    One error saving changes to table "ALIZA"."SL_CUSTOMERS":
    Row 4: ORA-00001: unique constraint (ALIZA.SL_CUSTOMERS_PK) violated
    ORA-06512: at line 1
    
    
    
    
    
    
    
    

    Concerning

    Mr President.

    I find the solution by creating a function before the triiger

    as below

    CREATE SEQUENCE  "ALIZA"."SL_CUSTOMERS_SEQ"  MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 1 NOCACHE NOORDER  NOCYCLE ;
    
    CREATE OR REPLACE FUNCTION get_SL_CUSTOMERS_vId RETURN VARCHAR2 AS
    BEGIN
       RETURN SL_CUSTOMERS_SEQ.NEXTVAL;
    
    END;
    /
    
    CREATE OR REPLACE TRIGGER SL_CUSTOMERS_TRG
    BEFORE INSERT ON "ALIZA"."SL_CUSTOMERS"
    FOR EACH ROW
    DECLARE
    dummy VARCHAR2(200);
    BEGIN
      dummy := get_SL_CUSTOMERS_vId();
      :NEW.CUSTOMER_ID := dummy;
    END;
    /  
    

    It works very well

    Thank you all for the suggestions.

    Concerning

  • 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.

  • XQuery insert node and assign the value based on an XPATH expression

    Hello

    I am trying to write a function that receives an XML as input parameters and return updated XML output

    -nodes are removed from the input XML code

    -a node must be inserted and the node value must be 1 or 0, based on an XPATH expression

    I discovered how to remove nodes, I discovered how to insert a new node, but I can not set the value of the conditionally inserted node an XPATH expression.

    Here's my current procedure and below a sample of one XML of entry. I use Oracle 12 c.

    CREATE OR REPLACE FUNCTION STRIP_XML
    (
      IN_XML IN SYS.XMLTYPE
    ) RETURN SYS.XMLTYPE AS
    p_result XMLType;
    BEGIN
      select
          xmlquery(
             'declare default element namespace "http://mad.evs.com/search"; (: :)
              copy $d := .
              modify (
      delete node $d//MainCategory/@logId,
               delete node $d/MainCategory/@id,
    -- a lot more of those delete node
     -- insert a node, but the value 1 is conditional
               insert node <DMZ>1</DMZ> after $d/MainCategory/SDataSection/EventDate)
              return $d'
            passing in_xml
            returning content
            ) into p_result
            from dual;
    
    
      RETURN p_result;
    END STRIP_XML;
    

    The condition for the value of is


    HASPATH (//DigitalAssets/DigitalAsset [@ available = "true" and @videoFormatId = "11"] / VideoLocations/Videorental [@typeId = "8"]) then 1 else 0


    It is complex because DigitalAssets/DigitalAsset is a collection. Here is an example of an XML to entry



    <MainCategory xmlns="http://mad.evs.com/search" id="9" logId="3349" logType="3">
      <Name>Sport</Name>
      <Serie id="163" externalId="557">
      <TitleAKA>UCL 2006/07</TitleAKA>
      <DigitalAssets available="true" som="20:28:49:05" dur="00:02:46:04" videoDurationMinutes="3">
         <DigitalAsset available="true" som="20:28:49:05" dur="00:02:46:04" videoDurationMinutes="3" videoFormatId="3">
            <VideoLocations>
                <VideoLocation id="3" path="003349MA.mxf" typeId="1" locationId="1" priority="0"/>
                <VideoLocation id="3" path="003349MA.mxf" typeId="2" locationId="1" priority="0"/>
                <VideoLocation id="3" path="003349MA.mxf" typeId="5" locationId="1" priority="0"/>
             </VideoLocations>
          </DigitalAsset>
          <DigitalAsset available="true" som="20:28:49:05" dur="00:02:46:04" videoDurationMinutes="3" videoFormatId="11">
             <VideoLocations>
                <VideoLocation id="101" path="003349MA.mpg" typeId="1" locationId="1" priority="0"/>
                <VideoLocation id="101" path="003349MA.mpg" typeId="2" locationId="1" priority="0"/>
                <VideoLocation id="101" path="003349MA.mpg" typeId="8" locationId="1" priority="0"/>
             </VideoLocations>
          </DigitalAsset>
      </DigitalAssets>
      <SDataSection xmlns="http://mad.evs.com/search">
        <EventDate>2006-08-09</EventDate>
        <LogType>3</LogType>
      </SDataSection>
    </MainCategory>
    


    In this case, because HASPATH expression could be set to true, the value of the added node must be 1.


    Any help or advice how I should fight against that would be appreciated. I have no experience with XML and XQuery, I create my function through from trial and error of the doc.


    Thanks and regards, Pierre

    Hi Pierre,.

    You can use the if-then-else statement, like this:

    Insert the node

    {

    If ($d/MainCategory/DigitalAssets/DigitalAsset[@available="true' and @videoFormatId = '11'] / VideoLocations/Videorental [@typeId = '8'])

    then 1

    0 otherwise

    }

    After $d, MainCategory, SDataSection, EventDate

    XSLT can be an alternative to the XQuery Update in this case.

  • Deliver the trigger, multi-table insert logging of errors

    I find that if I try to perform an insert multi-table with logging of errors on a table that has a trigger, then some violations of constraints result in a raised exception being as connected:
    < pre >
    SQL > select * from v version $;

    BANNER
    --------------------------------------------------------------------------------
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE 11.2.0.1.0 Production
    AMT for 32-bit Windows: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production

    SQL > create table t1 (primary key of all id ;)

    Table created.

    SQL > create table t2 (id integer, t1_id integer primary key,
    2 constraint t2_t1_fk foreign key (t1_id) refers to t1);

    Table created.

    SQL > exec dbms_errlog.create_error_log ("T2");

    PL/SQL procedure successfully completed.

    SQL > insert all
    2 in t2 (id, t1_id)
    3 values (x, y)
    4 errors in the journal in err$ _t2 limit unlimited rejection
    5. Select 1 x, 2 double y;

    0 rows created.

    SQL > create or replace trigger t2_trg
    2 before insert or update on t2
    3 for each line
    4 start
    5 zero;
    6 end;
    5 m

    Trigger created.

    SQL > insert all
    2 in t2 (id, t1_id)
    3 values (x, y)
    4 errors in the journal in err$ _t2 limit unlimited rejection
    5. Select 1 x, 2 double y;
    Insert all
    *
    ERROR on line 1:
    ORA-02291: integrity constraint (enhanced oil recovery. T2_T1_FK) violated - key parent not found
    < code >

    This does not seem to be a documented restriction. Anyone know if this is a bug?

    Hi Tony,.

    Looks like you ran into Bug 9539578: INSERT ALL AND TRIGGER CAUSES ERROR LOGGING to FAIL (ROLLBACK)

    Concerning
    Peter

  • How to insert the value of table display

    Hi all

    I have a page element named that email and set this as view only, now I need to insert this value in the table I use insert statement like this: P255_EMAIL, but it gives an error.


    Can someone tell me how to insert this

    Thanks and greetings
    srikkanth. M

    Srikkanth,
    A single display element is not rendered at the point of entry to the difference of the other editable on the page elements, if you look at the html code of any view one item and compare it with a textfield should be clear.

    You can have another element hidden with the value that can be returned in the process
    OR

    Here's a little something that does not need any additional items to make the item view alone and still available in the world as a normal part

    Do not say P100_MY_ITEM like a textfield
    But in the text of element Pre_ give you

    <span class="display_only" >&P100_MY_ITEM.</span><span style="display:none">
    

    And in the text of item Post_ put

    </span>
    

    Hide the textfield object, it shows the value of the item as a single text to display.

  • Case returns the error on the value of type (error-17308)

    Hello

    I have the following problem with TestStand: I use a sequence setting tension on an instrument. The first step in this sequence is to choose the instrument to define. It worked absolutely fine so far. Next, I added a tool to select (called 2602A here). Now, it always works for all instruments, but not for this one. I also tested the Select / Case regardless, he does the same. The error message indicates that the type of my value does not match the type expexted. Yet, the type, as defined in the parameters.instrument is good (see attached photo). I tried with/without reference: same behavior. I tried with/without check Type: same behavior.

    Maybe I can specify that my instrument works very well, I tested the list of instructions under the indendently step case, without any difficulty.

    Any idea? Thank you in advance.

    TestStand:

    TS engine f1 2010 SP1 (4.5.1.144)

    4.5.1.134 sequence editor

    LabVIEW:

    Version 11.0.1f2

    Hello

    Looks like you do a comparison in the "select" for a string type as seen by the value, but the setting for the case is an assessment rather than a string of values to compare to and I can not make sense since he's looking for a game (chained a ternary operator) or returns - 1 - making in this case doesn't make no sense - do in the select to return whereby cases to go.

    The step case type is more than a 1:1 comparison, however, you have already demonstrated, the case itself may be an expression - you must ensure that the expression is returned exactly the correct type, so-1 is not valid, but would be "-1".

    Who is?

    So I tried to replicate this - if I send a pure (as in "2604" string) number when I'm looking for Parameters.Instrument == "2604 A '? '" 2604 A': Parameters.Instrument == "2604 B"? "" 2604B ':-1

    He then drops the default case.

    If I switch 2604 'B' which then activates OK.

    If I pass in "fred" which fails with the error since we were looking for - 1 because it is a number, it does not work.

    If I replace the case expression with:

    Parameters.Instrument == "2604 A '? '" 2604 A': Parameters.Instrument == "2604 B"? "" 2604-B ":"2604 A.

    While expression first only returns a string, so you'll get to the channel currently selected string comparison AND if I get A 2604 or 2604 B then I get a return value that corresponds to the string passed, or get a string that does not match, so the case is not the right one.

    So Don't pass return - 1 = return pass which is valid for this case, but do not match the incoming parameter.

    Thank you

    Sacha

  • Error of the value of the range of the attribute only on the second update of the value each time.

    I tried to create an interface to change attributes of my camera during the acquisition. I created a cluster that has orders for BinningX & Y, cadence, exposure and position. When the VI running everything works fine except when changing the value binning more than once, I always get an error on the second attempt. The range is from 1 to 9 and at the beginning of the VI I can't change any value in this range, but if I try to change it to something else after that, even at 1, I get an error that the value is out of range. Any idea what could be the cause?

    Is attached a screenshot of part of my VI which deals with changing the values.

    Thank you!

    Change the order in which you pass in parameters. I had this problem several times.

    Indeed, if the return on investment that you describe is out of the detection area, you will get this error.

    Do not forget that the X offset + width cannot be greater than the width of the sensor and Y Offset height cannot be greater than the height sensor.

    Hope this helps

  • Error 1 occurred Armijo rule stepsize reduction failed to reduce the value of function within the maxiters

    Hello

    I try to use the VI of unconstrained optimization to fit a measured spectrum. However, each call VI, I get the error:

    Error 1 occurred Armijo rule stepsize reduction failed to reduce the value of function within the maxiters

    Possible reasons:

    LabVIEW: An input parameter is not valid. For example if the input is a path, the path can contain a character not allowed by the operating system such as? or @.
    =========================
    NOR-488: Command requires controller GPIB be in Charge.

    Does anyone know what I'm doing wrong and how I can fix this problem?

    The VI for the stepsize Armijo rule reduction can be found here:

    \vi.lib\gmath\NumericalOptimization\qn_armijo rule stepsize reduction.vi

    In the current implementation, the spectrum is able to a rectangular spectrum. This may be the cause of the error?

    I have attached the screw that I use. They are written in LabVIEW 2010.

    Thanks Marc67 for your quick reply, but I found the error.

    It was pretty stupid, that I used a bad vector of departure for the unconstrained optimization VI, which was too low values.

Maybe you are looking for