Value of Zen, i'm fed up

I'm fed up with the quality of product that creative sells, that why when i receive my 3rd rma back from creative it is going straight to ebay. I am going back to my original name brand, rio. Rio's products hold up over time, not breaking every week like my experience with the zen micro. I took great care after them, and they were all faulty, for example, the 2nd rma creative sent back to me had an instant screen defect. and had to be sent back the next day. What i am wondering is what price should i set for my factory sealed zen micro 5 gig, with three batteries, charger, and 2 headphone sets.
P.S.: i really wanted to love my zen, but i can only take so much.

You should consider selling the two additional batteries and headphones separately, as there's likely more people interested in a single battery or set of headphone than any one person wanting the entire package.
As for setting your price, just spend some time checking out what each item is selling for eBay, then set your reserves accordingly and hope for the best. The market sets the market price.

Similar Messages

  • How to group records of different values

    Hi,
    I have few records in table in this form:
    CDE_FUND_CODE| |CDE_CLM_TYPE| |NUM_PCT| |NUM_SVC_DAYS| |
    ===========| |==========| |======| |==========| |
    3R2A | | I | | 0.7215 | | 1 | |
    3R2A | | I | | 0.2785 | | 1 | |
    3R2A | | I | | 0.7215 | | 2 | |
    3R2A | | I | | 0.2785 | | 2 | |
    3R2A | | I | | 1.0000 | | 1 | |
    3R2A | | I | | 0.2598 | | 1 | |
    3R2A | | I | | 0.2401 | | 1 | |
    3R2A | | I | | 0.5001 | | 1 | |
    Now the notice the values of NUM_PCT
    1) Sum of num_pct of first 2 records is 1.
    2) Sum of num_pct of records 3rd and 4th is also 1.
    3) num_pct of 5th record is 1.
    4) Sum of num_pct of records 6th, 7th and 8th is 1.
    So I want to write a query which gives me total 4 rows and output should look like this:-
    CDE_FUND_CODE| |CDE_CLM_TYPE| |NUM_PCT| |NUM_SVC_DAYS| |
    ===========| |==========| |======| |==========| |
    3R2A | | I | | 1.0000 | | 1 | |
    3R2A | | I | | 1.0000 | | 2 | |
    3R2A | | I | | 1.0000 | | 1 | |
    3R2A | | I | | 1.0000 | | 1 | |
    Please let me know if you have any idea about how to write query to get this output.
    Thanks,
    Rohit

    Hi,
    Thanks for your quick response. I am using oracle 10.2.0.3.0 version. Here is the sql script for table and data.
    create table t_report_bzn97r
    (SAK_FIN_CYCLE NUMBER(9) NOT NULL,
    DTE_PROCESS NUMBER(8) NOT NULL,
    DTE_ISSUE NUMBER(8) NOT NULL,
    SAK_FUND_CODE NUMBER(9) NOT NULL,
    CDE_FUND_CLASS CHAR(4) NOT NULL,
    CDE_APR CHAR(3) NOT NULL,
    CDE_ORG CHAR(4) NOT NULL,
    CDE_PROJ CHAR(3) NOT NULL,
    CDE_FSEG_RSP CHAR(3) NOT NULL,
    CDE_RPT_CAT CHAR(4) NOT NULL,
    SAK_FSEG_GROUP NUMBER(9) NOT NULL,
    CDE_COS CHAR(2) NOT NULL,
    CDE_SUB_COS CHAR(2) NOT NULL,
    DTE_PCT_EFF NUMBER(8) NOT NULL,
    CDE_CLM_TYPE CHAR(1) NOT NULL,
    SAK_PROV_LOC NUMBER(9) NOT NULL,
    DTE_PCT_END NUMBER(8) NOT NULL,
    TXT_FISCAL_STRING CHAR(25) NOT NULL,
    NUM_FSEG_GROUP_SORT NUMBER(4) NOT NULL,
    CDE_FUND_CODE CHAR(4) NOT NULL,
    NUM_PCT NUMBER(6,5) NOT NULL,
    AMT_CLM_PYMT NUMBER(12,2) NOT NULL,
    AMT_EXPENDITURE NUMBER(12,2) NOT NULL,
    AMT_RECOUP_CLM NUMBER(12,2) NOT NULL,
    AMT_RECOUP_NCLM NUMBER(12,2) NOT NULL,
    AMT_REISSUE NUMBER(12,2) NOT NULL,
    AMT_STOP_PAY NUMBER(12,2) NOT NULL,
    AMT_VOIDS NUMBER(12,2) NOT NULL,
    AMT_STALEDATE NUMBER(12,2) NOT NULL,
    AMT_SD_CASHED NUMBER(12,2) NOT NULL,
    AMT_SD_DEBIT NUMBER(12,2) NOT NULL,
    AMT_SD_CREDIT NUMBER(12,2) NOT NULL,
    AMT_CLM_TOTAL NUMBER(12,2) NOT NULL,
    AMT_FIN_TOTAL NUMBER(12,2) NOT NULL,
    DTE_OF_SVC NUMBER(8) NOT NULL,
    NUM_SVC_DAYS NUMBER(4) NOT NULL,
    CONSTRAINT ha_pk PRIMARY KEY (SAK_FIN_CYCLE,
    DTE_PROCESS,
    DTE_ISSUE,
    SAK_FUND_CODE,
    CDE_FUND_CLASS,
    CDE_APR,
    CDE_ORG,
    CDE_PROJ,
    CDE_FSEG_RSP,
    CDE_RPT_CAT,
    SAK_FSEG_GROUP,
    CDE_COS,
    CDE_SUB_COS,
    DTE_PCT_EFF,
    CDE_CLM_TYPE,
    SAK_PROV_LOC,
    DTE_OF_SVC)
    Insert into t_report_bzn97r
    (SAK_FIN_CYCLE,DTE_PROCESS,DTE_ISSUE,SAK_FUND_CODE,CDE_FUND_CLASS,CDE_APR,CDE_ORG,CDE_PROJ,CDE_FSEG_RSP,CDE_RPT_CAT,SAK_FSEG_GROUP,CDE_COS,CDE_SUB_COS,DTE_PCT_EFF,CDE_CLM_TYPE,SAK_PROV_LOC,DTE_PCT_END,TXT_FISCAL_STRING,NUM_FSEG_GROUP_SORT,CDE_FUND_CODE,NUM_PCT,AMT_CLM_PYMT,AMT_EXPENDITURE,AMT_RECOUP_CLM,AMT_RECOUP_NCLM,AMT_REISSUE,AMT_STOP_PAY,AMT_VOIDS,AMT_STALEDATE,AMT_SD_CASHED,AMT_SD_DEBIT,AMT_SD_CREDIT,AMT_CLM_TOTAL,AMT_FIN_TOTAL,DTE_OF_SVC,NUM_SVC_DAYS)
    values (1,20100720,20100726,163,'GPR ','404','4000','534','009','ZZZZ',47,'13','20',20091001,'O',4093,20100930,'404-4000-534-009-ZZZZ ',235,'1A7A',1,426,0,0,0,0,0,0,0,0,0,0,426,0,2011,2)
    Insert into t_report_bzn97r
    (SAK_FIN_CYCLE,DTE_PROCESS,DTE_ISSUE,SAK_FUND_CODE,CDE_FUND_CLASS,CDE_APR,CDE_ORG,CDE_PROJ,CDE_FSEG_RSP,CDE_RPT_CAT,SAK_FSEG_GROUP,CDE_COS,CDE_SUB_COS,DTE_PCT_EFF,CDE_CLM_TYPE,SAK_PROV_LOC,DTE_PCT_END,TXT_FISCAL_STRING,NUM_FSEG_GROUP_SORT,CDE_FUND_CODE,NUM_PCT,AMT_CLM_PYMT,AMT_EXPENDITURE,AMT_RECOUP_CLM,AMT_RECOUP_NCLM,AMT_REISSUE,AMT_STOP_PAY,AMT_VOIDS,AMT_STALEDATE,AMT_SD_CASHED,AMT_SD_DEBIT,AMT_SD_CREDIT,AMT_CLM_TOTAL,AMT_FIN_TOTAL,DTE_OF_SVC,NUM_SVC_DAYS)
    values (1,20100720,20100726,163,'GPR ','404','4000','534','009','ZZZZ',47,'13','20',20091001,'O',4093,20100930,'404-4000-534-009-ZZZZ ',235,'1A7A',1,426,0,0,0,0,0,0,0,0,0,0,426,0,2010,2)
    Insert into t_report_bzn97r
    (SAK_FIN_CYCLE,DTE_PROCESS,DTE_ISSUE,SAK_FUND_CODE,CDE_FUND_CLASS,CDE_APR,CDE_ORG,CDE_PROJ,CDE_FSEG_RSP,CDE_RPT_CAT,SAK_FSEG_GROUP,CDE_COS,CDE_SUB_COS,DTE_PCT_EFF,CDE_CLM_TYPE,SAK_PROV_LOC,DTE_PCT_END,TXT_FISCAL_STRING,NUM_FSEG_GROUP_SORT,CDE_FUND_CODE,NUM_PCT,AMT_CLM_PYMT,AMT_EXPENDITURE,AMT_RECOUP_CLM,AMT_RECOUP_NCLM,AMT_REISSUE,AMT_STOP_PAY,AMT_VOIDS,AMT_STALEDATE,AMT_SD_CASHED,AMT_SD_DEBIT,AMT_SD_CREDIT,AMT_CLM_TOTAL,AMT_FIN_TOTAL,DTE_OF_SVC,NUM_SVC_DAYS)
    values (1,20100720,20100726,502,'FED ','451','4000','955','009','ID75',305,'12','10',20091001,'I',4093,20100930,'451-4000-955-009-ID75 ',521,'3R2A',0.7215,2108.94,0,0,0,0,0,0,0,0,0,0,2108.94,0,2010,1)
    Insert into t_report_bzn97r
    (SAK_FIN_CYCLE,DTE_PROCESS,DTE_ISSUE,SAK_FUND_CODE,CDE_FUND_CLASS,CDE_APR,CDE_ORG,CDE_PROJ,CDE_FSEG_RSP,CDE_RPT_CAT,SAK_FSEG_GROUP,CDE_COS,CDE_SUB_COS,DTE_PCT_EFF,CDE_CLM_TYPE,SAK_PROV_LOC,DTE_PCT_END,TXT_FISCAL_STRING,NUM_FSEG_GROUP_SORT,CDE_FUND_CODE,NUM_PCT,AMT_CLM_PYMT,AMT_EXPENDITURE,AMT_RECOUP_CLM,AMT_RECOUP_NCLM,AMT_REISSUE,AMT_STOP_PAY,AMT_VOIDS,AMT_STALEDATE,AMT_SD_CASHED,AMT_SD_DEBIT,AMT_SD_CREDIT,AMT_CLM_TOTAL,AMT_FIN_TOTAL,DTE_OF_SVC,NUM_SVC_DAYS)
    values (1,20100720,20100726,502,'GPR ','472','4000','955','009','ZZZZ',305,'12','10',20091001,'I',4093,20100930,'472-4000-955-009-ZZZZ ',521,'3R2A',0.2785,814.06,0,0,0,0,0,0,0,0,0,0,814.06,0,2010,1)
    Insert into t_report_bzn97r
    (SAK_FIN_CYCLE,DTE_PROCESS,DTE_ISSUE,SAK_FUND_CODE,CDE_FUND_CLASS,CDE_APR,CDE_ORG,CDE_PROJ,CDE_FSEG_RSP,CDE_RPT_CAT,SAK_FSEG_GROUP,CDE_COS,CDE_SUB_COS,DTE_PCT_EFF,CDE_CLM_TYPE,SAK_PROV_LOC,DTE_PCT_END,TXT_FISCAL_STRING,NUM_FSEG_GROUP_SORT,CDE_FUND_CODE,NUM_PCT,AMT_CLM_PYMT,AMT_EXPENDITURE,AMT_RECOUP_CLM,AMT_RECOUP_NCLM,AMT_REISSUE,AMT_STOP_PAY,AMT_VOIDS,AMT_STALEDATE,AMT_SD_CASHED,AMT_SD_DEBIT,AMT_SD_CREDIT,AMT_CLM_TOTAL,AMT_FIN_TOTAL,DTE_OF_SVC,NUM_SVC_DAYS)
    values (1,20100720,20100726,502,'FED ','451','4000','955','009','ID75',305,'12','10',20091001,'I',4093,20100930,'451-4000-955-009-ID75 ',521,'3R2A',0.7215,4217.88,0,0,0,0,0,0,0,0,0,0,4217.88,0,2011,2)
    Insert into t_report_bzn97r
    (SAK_FIN_CYCLE,DTE_PROCESS,DTE_ISSUE,SAK_FUND_CODE,CDE_FUND_CLASS,CDE_APR,CDE_ORG,CDE_PROJ,CDE_FSEG_RSP,CDE_RPT_CAT,SAK_FSEG_GROUP,CDE_COS,CDE_SUB_COS,DTE_PCT_EFF,CDE_CLM_TYPE,SAK_PROV_LOC,DTE_PCT_END,TXT_FISCAL_STRING,NUM_FSEG_GROUP_SORT,CDE_FUND_CODE,NUM_PCT,AMT_CLM_PYMT,AMT_EXPENDITURE,AMT_RECOUP_CLM,AMT_RECOUP_NCLM,AMT_REISSUE,AMT_STOP_PAY,AMT_VOIDS,AMT_STALEDATE,AMT_SD_CASHED,AMT_SD_DEBIT,AMT_SD_CREDIT,AMT_CLM_TOTAL,AMT_FIN_TOTAL,DTE_OF_SVC,NUM_SVC_DAYS)
    values (1,20100720,20100726,502,'GPR ','472','4000','955','009','ZZZZ',305,'12','10',20091001,'I',4093,20100930,'472-4000-955-009-ZZZZ ',521,'3R2A',0.2785,1628.12,0,0,0,0,0,0,0,0,0,0,1628.12,0,2011,2)
    Insert into t_report_bzn97r
    (SAK_FIN_CYCLE,DTE_PROCESS,DTE_ISSUE,SAK_FUND_CODE,CDE_FUND_CLASS,CDE_APR,CDE_ORG,CDE_PROJ,CDE_FSEG_RSP,CDE_RPT_CAT,SAK_FSEG_GROUP,CDE_COS,CDE_SUB_COS,DTE_PCT_EFF,CDE_CLM_TYPE,SAK_PROV_LOC,DTE_PCT_END,TXT_FISCAL_STRING,NUM_FSEG_GROUP_SORT,CDE_FUND_CODE,NUM_PCT,AMT_CLM_PYMT,AMT_EXPENDITURE,AMT_RECOUP_CLM,AMT_RECOUP_NCLM,AMT_REISSUE,AMT_STOP_PAY,AMT_VOIDS,AMT_STALEDATE,AMT_SD_CASHED,AMT_SD_DEBIT,AMT_SD_CREDIT,AMT_CLM_TOTAL,AMT_FIN_TOTAL,DTE_OF_SVC,NUM_SVC_DAYS)
    values (1,20100720,20100726,502,'FED ','451','4000','955','009','ID75',305,'13','20',20091001,'O',4093,20100930,'451-4000-955-009-ID75 ',521,'3R2A',0.7215,153.68,0,0,0,0,0,0,0,0,0,0,153.68,0,2010,1)
    Insert into t_report_bzn97r
    (SAK_FIN_CYCLE,DTE_PROCESS,DTE_ISSUE,SAK_FUND_CODE,CDE_FUND_CLASS,CDE_APR,CDE_ORG,CDE_PROJ,CDE_FSEG_RSP,CDE_RPT_CAT,SAK_FSEG_GROUP,CDE_COS,CDE_SUB_COS,DTE_PCT_EFF,CDE_CLM_TYPE,SAK_PROV_LOC,DTE_PCT_END,TXT_FISCAL_STRING,NUM_FSEG_GROUP_SORT,CDE_FUND_CODE,NUM_PCT,AMT_CLM_PYMT,AMT_EXPENDITURE,AMT_RECOUP_CLM,AMT_RECOUP_NCLM,AMT_REISSUE,AMT_STOP_PAY,AMT_VOIDS,AMT_STALEDATE,AMT_SD_CASHED,AMT_SD_DEBIT,AMT_SD_CREDIT,AMT_CLM_TOTAL,AMT_FIN_TOTAL,DTE_OF_SVC,NUM_SVC_DAYS)
    values (1,20100720,20100726,502,'GPR ','472','4000','955','009','ZZZZ',305,'13','20',20091001,'O',4093,20100930,'472-4000-955-009-ZZZZ ',521,'3R2A',0.2785,59.32,0,0,0,0,0,0,0,0,0,0,59.32,0,2010,1)
    Insert into t_report_bzn97r
    (SAK_FIN_CYCLE,DTE_PROCESS,DTE_ISSUE,SAK_FUND_CODE,CDE_FUND_CLASS,CDE_APR,CDE_ORG,CDE_PROJ,CDE_FSEG_RSP,CDE_RPT_CAT,SAK_FSEG_GROUP,CDE_COS,CDE_SUB_COS,DTE_PCT_EFF,CDE_CLM_TYPE,SAK_PROV_LOC,DTE_PCT_END,TXT_FISCAL_STRING,NUM_FSEG_GROUP_SORT,CDE_FUND_CODE,NUM_PCT,AMT_CLM_PYMT,AMT_EXPENDITURE,AMT_RECOUP_CLM,AMT_RECOUP_NCLM,AMT_REISSUE,AMT_STOP_PAY,AMT_VOIDS,AMT_STALEDATE,AMT_SD_CASHED,AMT_SD_DEBIT,AMT_SD_CREDIT,AMT_CLM_TOTAL,AMT_FIN_TOTAL,DTE_OF_SVC,NUM_SVC_DAYS)
    values (1,20100720,20100726,502,'FED ','451','4000','955','009','ID75',305,'13','20',20091001,'O',4093,20100930,'451-4000-955-009-ID75 ',521,'3R2A',0.7215,461.04,0,0,0,0,0,0,0,0,0,0,461.04,0,2011,3)
    Insert into t_report_bzn97r
    (SAK_FIN_CYCLE,DTE_PROCESS,DTE_ISSUE,SAK_FUND_CODE,CDE_FUND_CLASS,CDE_APR,CDE_ORG,CDE_PROJ,CDE_FSEG_RSP,CDE_RPT_CAT,SAK_FSEG_GROUP,CDE_COS,CDE_SUB_COS,DTE_PCT_EFF,CDE_CLM_TYPE,SAK_PROV_LOC,DTE_PCT_END,TXT_FISCAL_STRING,NUM_FSEG_GROUP_SORT,CDE_FUND_CODE,NUM_PCT,AMT_CLM_PYMT,AMT_EXPENDITURE,AMT_RECOUP_CLM,AMT_RECOUP_NCLM,AMT_REISSUE,AMT_STOP_PAY,AMT_VOIDS,AMT_STALEDATE,AMT_SD_CASHED,AMT_SD_DEBIT,AMT_SD_CREDIT,AMT_CLM_TOTAL,AMT_FIN_TOTAL,DTE_OF_SVC,NUM_SVC_DAYS)
    values (1,20100720,20100726,502,'GPR ','472','4000','955','009','ZZZZ',305,'13','20',20091001,'O',4093,20100930,'472-4000-955-009-ZZZZ ',521,'3R2A',0.2785,177.96,0,0,0,0,0,0,0,0,0,0,177.96,0,2011,3)
    QUERY 1
    ======
    select CDE_FUND_CODE,CDE_CLM_TYPE,NUM_PCT,CDE_FUND_CLASS,AMT_CLM_PYMT,NUM_SVC_DAYS
    from t_report_bzn97r
    This is the output if I use above query;
    CDE_FUND_CODE||CDE_CLM_TYPE||NUM_PCT||CDE_FUND_CLASS||AMT_CLM_PYMT||NUM_SVC_DAYS
    =============||============||=======||==============||============||============
    1A7A || O ||1 ||      GPR || 426     || 2
    1A7A || O ||1 || GPR || 426     || 2
    3R2A || I ||0.7215 || FED || 2108.94 ||     1
    3R2A || I ||0.2785 || GPR || 814.06     || 1
    3R2A || I ||0.7215 || FED || 4217.88     || 2
    3R2A || I ||0.2785 || GPR || 1628.12     || 2
    3R2A || O ||0.7215 || FED || 153.68     || 1
    3R2A || O ||0.2785 || GPR || 59.32     || 1
    3R2A || O ||0.7215 || FED || 461.04     || 3
    3R2A || O ||0.2785 || GPR || 177.96     || 3
    Now I want to make a query which gives me output like. Once I will get this output then I will do sum of NUM_SVC_DAYS which will be 11 in below case. So finally I need sum of NUM_SVC_DAYS.
    CDE_FUND_CODE||CDE_CLM_TYPE||NUM_PCT||CDE_FUND_CLASS||AMT_CLM_PYMT||NUM_SVC_DAYS
    =============||============||=======||==============||============||============
    1A7A || O ||1 ||      GPR || 426     || 2
    1A7A || O ||1 || GPR || 426     || 2
    3R2A || I ||1 || FED || 2108.94 ||     1
    3R2A || I ||1 || FED || 4217.88     || 2
    3R2A || O ||1 || FED || 153.68     || 1
    3R2A || O ||1 || FED || 461.04     || 3
    The reason behind required output is that we have NUM_PCT field which stores percentage. Now sometime this percentage is 1 which means the whole amount (AMT_CLM_PYMT) will pay my one entity i.e., GPR or FED. If percentage is in decimal then we will add the percentage of
    one row into next and we will add till we get 1 as a sum of NUM_PCT. So if you see query 1 output here the sum of NUM_PCT for row 3rd and 4th is 1. So I want one row for that (see row 3rd in required output) and so on.
    Thanks,
    Rohit

  • Maintain a Webi schedule outside of BOE

    My requirement is this:
    A single parameterised webi document needs to link to instances of itself, passing in parameters to input prompts from parent to child.  In order to aid performance, the intention is to schedule the document so that an instance exists for each parameter value and using the appropriate opendoc syntax the corresponding pre-canned instance is opened rather than having to refresh the document from the DB.
    However, my problem arises because there are several hundred values that need to be fed into the prompt i.e. resulting in several hundred scheduled instances of the report.  As I understand it, this scheduling where prompt values change has to be done  manually in BOE.
    Does anyone know of a way to automate this?  Perhaps keeping the schedule in an Excel document and importing it?
    Thanks in advance
    Lee

    Hi,
    I would suggest to write a java program, that does the scheduling one - by one.
    IInfoObjects result =
          infoStore.query("Select SI_PROCESSINFO.SI_PROMPTS " + "From CI_INFOOBJECTS Where SI_CUID = '" + reportCUID + "'");
        IInfoObject report = (IInfoObject) result.get(0);
        ISchedulingInfo scheduleInfo = report.getSchedulingInfo();
        scheduleInfo.setType(0);
        scheduleInfo.setRightNow(true);
        scheduleInfo.setScheduleOnBehalfOf(userId);
        // fill the prompts -
       List allParameters = ((IReport)report).getReportParameters();
       IReportParameter reportParameter = (IReportParameter) allParameters.get(<my_pos>);
       IReportParameterSingleValue newParameter = reportParameter.getCurrentValues().addSingleValue();
       newParameter.setValue(<value>);
        infoStore.schedule(result);
    Enjoy
    Johannes

  • Using differing numbers of inputs for a similar query using DBMS_SQL

    Hi,
    I'm trying to use DBMS_SQL for a query that's either going to include the following WHERE statement:
    "AND sched_requirement_id = pin_sr_id"
    or not base upon conditions passed to the procedure calling it
    v_sql_stmt :=
    'SELECT COUNT(1)
    INTO v_exists
    FROM SCHED_PSA_REQS
    WHERE sched_week_id = pin_sched_week_id
    AND sequence_number = pin_seq_no
    AND sched_original_req_id = pin_sor_id
    ----> AND sched_requirement_id = pin_sr_id<---------
    AND ROWNUM = 1';
    The only reason I can't use NDS for this is because of the pin_sr_id input doesn't exist inside the universe of the v_sql_stmt. If it was an inner join or something I could get away with it.
    I read that DBMS_SQL doesn't care how many input values it gets until the dbms_sql.EXECUTE statement, but in all the documentation I've read through I have yet to come across an example that deals with a varying number of input values. Does anyone out there have an example of DBMS_SQL that deals with a varying number of bind input values based upon a conditional statement or input values?
    Thanks!

    Mike,
    Thanks for your input but the EXECUTE IMMEDIATE I would be using contains the following input values:
    EXECUTE IMMEDIATE v_sql_stmt
    INTO v_psa_req_id USING pin_sched_week_id, pin_seq_no, pin_sor_id, pin_sr_id;
    I experimented with exactly what you suggested with scott/tiger:
    set serveroutput on
    DECLARE
    v_target_val NUMBER;
    v_str varchar2(4000);
    f_tbl varchar2(200);
    f_exp varchar2(200);
    dept_var NUMBER:= 20;
    BEGIN
    f_tbl := ', dept d';
    f_exp := 'and e.deptno = dept_var ';
    --f_exp := ' and e.deptno = d.deptno ';
    v_str := ' Select '
    ||' sal '
    ||' from emp e '
    ||f_tbl
    ||'
    where '
    ||' e.empno = :b_v_for_where_cond '
    ||f_exp;
    dbms_output.put_line(v_str);
    EXECUTE IMMEDIATE v_str
    INTO v_target_val USING 7369;
    dbms_output.put_line(v_target_val);
    EXCEPTION
    when no_data_found then
    dbms_output.put_line('No data exception raised');
    when others then
    dbms_output.put_line(SQLCODE||' '||SQLERRM);
    END;
    The code bombs miserably when I try to introduce a variable that's not fed in from the USING clause. From what I've learned of NDS all values must either be deliberately fed in like from the USING statement or must exist "inside the universe" of that SQL statement. Example if I use the line:
    f_exp := ' and e.deptno = d.deptno ';
    instead it works because d.deptno can be referenced from within that SQL statement from table dept.
    So in my case either pin_sr_id is part of the USING clause or it's not. This is the one thing that DBMS_SQL still has over NDS is the fact "It does not need to know the number and types of arguments it will receive and process." (1) Oracle Database 10g PL/SQL Programming pg. 609.
    They say you can use DESCRIBE_COLUMNS and DESCRIBE_COLUMNS2. However, I've yet to find an example of its use. If anybody has any web links to such it would be greatly appreciated.

  • How to isolate USB-8451, I2C/SPI Interface

    How can I protect the SCL & SDA lines on a USB-8451 from overvoltage?  The User Guide says:
    Caution Take special care with respect to the I2C SDA and SCL lines. To allow for external
    pull-ups, the circuit protection has been removed. Do not exceed the specified voltages for
    these signals. 
    I've had several instances where my UUT applied 28 volts to one/both of these lines and destroyed my I2C interface.  What can I do to protect these lines?
    Jim 
    Jim
    You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice

    There are several ways to this. I often use this simple circuit is based on zener diodes and the basic idea is quite similar to some commercial circuits also. The zener diode react quite fast to the surges. Zener diodes also have Low capacitance, so they are suited for high speed data lines. Unfortunately the surge capacity of those zener diodes is not very high, so that they can't handle the large spikes by themselves. That's why I have added 10 ohm resistors in series with data line before the zener diodes. This resistor limits the surge current to safer value for zener diode. The resistor must be always be between the data line and zener diode, so you must plug this circuit in the way where the computer goes to the connector on the right and the data line to the connector on the left. It is possible to make this circuit "bidirectional" just by adding also resistors to the computer side of the zener diodes, but this increased the series resistance in the data line.
    As mentioned there are more advanced circuits. Like active circuits. As an example the ADG467BR. Another option is Zener Transient voltage suppressors like the P6KE11CA. The P6KE11CA is bipolar so you only need 1 diode. But for a low voltage system like yours the zener solution may work fine. Remember to select a zener which can handle the current. If you 28 volt and use a 10 ohm resistor the current will not be higher than  28/10 ampere as a thumb rule. Probably lower.
    Message Edited by t06afre on 01-23-2009 03:41 PM
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)
    Attachments:
    sample.PNG ‏2 KB

  • Suggestions needed in test configurations output and input

    Hi consultants,
    I need your suggestions in this following case.
    Problem explanation:
    I need to take all the outputs generated from test configuration "A" due to  execution
    of several variants and fed to another test configuration "B" as input .
    Queries:
    1.Is it possible to get the output values from configuration "A" and fed as input to
    configuration "B"without adding all the transactions available in test configuration "A"?
    2.If yes,how we have to do that?
    3.Is there any code available or settings that we need to do for getting values of
      configuration "A" and using it in configuration "B"?
    4.Please provide us some links to get more details?
    Regards,
    Alex.

    Hi Alexander,
    check out the STORE and RETRIEVE commands in the <a href="http://help.sap.com/saphelp_nw04/helpdata/en/20/e81c3b84e65e7be10000000a11402f/frameset.htm">Help Portal</a>.
    STORE allows you to write data to a special section of the log, which another script can collect using RETRIEVE and various selection criteria.
    Hint: 2 configurations or 2 variants running under the same execution have the same log number, which you can use to retrieve data (special variable &LOGID).

  • Work Time design question

    Hello everyone
    I have the following design problem. I have a Work Times table with the following attributes (columns)
    Monday
    Tuesday
    Wednesday
    Thursday
    Friday
    Saturday
    Holidays
    In there I would write times like 08-16 for the weekdays and 08-14 for Saturday and Holiday 10-12 as strings.
    This seems like a really bad way to solve this so was hoping you guys had a better solution.
    Thanks

    A few questions./comments...
    1) Is the requirement to basically just hold a static schedule for when equipment is scheduled to be in an object, such that, if you queried the information in the table, you'd just get the current schedule? And that's all that needs to be able to be manipulated by the user? If that's truly the only requirement, why can't the user just keep a spreadsheet with the schedule? Using a database seems like a bit overkill for something like that.
    2) If the problem is more complex, or if you absolutely have to use a database, you could do the following:
    You will need a way to identify both the equipment and object in your table. I'm going to assume that each piece of equipment and each object has some unique identifier associated with it. For example, in the tables I've created below, I assume the equipment uses a serial number as its unique identifier, and I assume that each object is a work area, and I just numbered them 1 to 3. If this is not representative enough of your situation, you'll need to clarify it some more.
    Following database normalization practices, you'll want to keep any additional information about the equipment or objects in their own tables. Especially if the unique identifier for the equipment or object is not clear enough by itself for the users, it may be useful to provide a description of the equipment, for example:
    CREATE TABLE equip_table
    (     equip_id     NUMBER          NOT NULL
    ,     equip_desc     VARCHAR2(50)
    ,     CONSTRAINT      pk_equip PRIMARY KEY(equip_id)
    INSERT INTO equip_table VALUES (12345, 'STARRETT micrometer, SN#12345');
    INSERT INTO equip_table VALUES (54321, 'STARRETT calipers, SN#54321');
    INSERT INTO equip_table VALUES (98765, 'STARRETT hole gauge, SN#98765');
    CREATE TABLE obj_table
    (     obj_id          NUMBER          NOT NULL
    ,     obj_desc     VARCHAR2(50)
    ,     CONSTRAINT      pk_obj PRIMARY KEY(obj_id)
    INSERT INTO obj_table VALUES (1, 'some work area #1');
    INSERT INTO obj_table VALUES (2, 'some work area #2');
    INSERT INTO obj_table VALUES (3, 'some work area #3');You may want more fields in the tables to store additional information about the equipment and objects, for example, their physical location, that sort of thing, if needed.
    Next, you will need a table to store the work schedule, and you will need to reference the equipment and object each work schedule refers to. This table allows a history to be kept of previous schedules (you'd be able to run a query to find out what the schedule was at any given point). Please note, I only provided sample data for one obj_id...
    CREATE TABLE work_table
    (     equip_id     NUMBER          NOT NULL
    ,     obj_id          NUMBER          NOT NULL
    ,     in_out_flag     VARCHAR2(1)
    ,     in_out_time     DATE
    ,     active_flag     VARCHAR2(1)
    ,     dt_active     DATE
    ,     dt_inactive     DATE
    ,     holiday_flag     VARCHAR2(1)
    ,     CONSTRAINT     fk_equip_id
                   FOREIGN KEY(equip_id)
         REFERENCES     equip_table(equip_id)
    ,     CONSTRAINT     fk_obj_id
                   FOREIGN KEY(obj_id)
         REFERENCES     obj_table(obj_id)
    ,     CONSTRAINT     in_out_flag_ck
         CHECK          (in_out_flag IN ('I','O'))
    ,     CONSTRAINT     active_flag_ck
         CHECK          (active_flag IN ('A','I'))
    ,     CONSTRAINT     holiday_flag_ck
         CHECK          (holiday_flag IN ('H','N'))
    --all schedules related to equip_id = 12345
    INSERT INTO work_table
    VALUES(12345,1,'I',TRUNC(NEXT_DAY(SYSDATE-10,'MON'),'DDD')+((1/24)*60)+((1/24/60)*30),'I',SYSDATE-10,SYSDATE-5,'N');
    INSERT INTO work_table
    VALUES(12345,1,'I',TRUNC(NEXT_DAY(SYSDATE-10,'TUE'),'DDD')+((1/24)*8)+((1/24/60)*15),'A',SYSDATE-10,NULL,'N');
    INSERT INTO work_table
    VALUES(12345,1,'I',TRUNC(NEXT_DAY(SYSDATE-10,'WED'),'DDD')+((1/24)*8)+((1/24/60)*30),'A',SYSDATE-10,NULL,'N');
    INSERT INTO work_table
    VALUES(12345,1,'I',TRUNC(NEXT_DAY(SYSDATE-10,'THU'),'DDD')+((1/24)*8)+((1/24/60)*5),'A',SYSDATE-10,NULL,'N');
    INSERT INTO work_table
    VALUES(12345,1,'I',TRUNC(NEXT_DAY(SYSDATE-10,'FRI'),'DDD')+((1/24)*7)+((1/24/60)*45),'A',SYSDATE-10,NULL,'N');
    INSERT INTO work_table
    VALUES(12345,1,'I',TRUNC(NEXT_DAY(SYSDATE-10,'SAT'),'DDD')+((1/24)*12)+((1/24/60)*0),'A',SYSDATE-10,NULL,'N');
    INSERT INTO work_table
    VALUES(12345,1,'I',TRUNC(NEXT_DAY(SYSDATE-10,'SUN'),'DDD')+((1/24)*10)+((1/24/60)*30),'A',SYSDATE-10,NULL,'H');
    INSERT INTO work_table
    VALUES(12345,1,'O',TRUNC(NEXT_DAY(SYSDATE-10,'MON'),'DDD')+((1/24)*15)+((1/24/60)*30),'I',SYSDATE-10,SYSDATE-5,'N');
    INSERT INTO work_table
    VALUES(12345,1,'O',TRUNC(NEXT_DAY(SYSDATE-10,'TUE'),'DDD')+((1/24)*14)+((1/24/60)*15),'A',SYSDATE-10,NULL,'N');
    INSERT INTO work_table
    VALUES(12345,1,'O',TRUNC(NEXT_DAY(SYSDATE-10,'WED'),'DDD')+((1/24)*14)+((1/24/60)*30),'A',SYSDATE-10,NULL,'N');
    INSERT INTO work_table
    VALUES(12345,1,'O',TRUNC(NEXT_DAY(SYSDATE-10,'THU'),'DDD')+((1/24)*14)+((1/24/60)*5),'A',SYSDATE-10,NULL,'N');
    INSERT INTO work_table
    VALUES(12345,1,'O',TRUNC(NEXT_DAY(SYSDATE-10,'FRI'),'DDD')+((1/24)*13)+((1/24/60)*45),'A',SYSDATE-10,NULL,'N');
    INSERT INTO work_table
    VALUES(12345,1,'O',TRUNC(NEXT_DAY(SYSDATE-10,'SAT'),'DDD')+((1/24)*14)+((1/24/60)*0),'A',SYSDATE-10,NULL,'N');
    INSERT INTO work_table
    VALUES(12345,1,'O',TRUNC(NEXT_DAY(SYSDATE-10,'SUN'),'DDD')+((1/24)*14)+((1/24/60)*30),'A',SYSDATE-10,NULL,'H');
    INSERT INTO work_table
    VALUES(12345,1,'I',TRUNC(NEXT_DAY(SYSDATE-10,'MON'),'DDD')+((1/24)*8)+((1/24/60)*30),'A',SYSDATE-5,NULL,'N');
    INSERT INTO work_table
    VALUES(12345,1,'O',TRUNC(NEXT_DAY(SYSDATE-10,'MON'),'DDD')+((1/24)*16)+((1/24/60)*30),'A',SYSDATE-5,NULL,'N');
    --all schedules related to equip_id = 54321
    INSERT INTO work_table
    VALUES(54321,1,'I',TRUNC(NEXT_DAY(SYSDATE-10,'MON'),'DDD')+((1/24)*9)+((1/24/60)*30),'A',SYSDATE-10,NULL,'N');
    INSERT INTO work_table
    VALUES(54321,1,'I',TRUNC(NEXT_DAY(SYSDATE-10,'TUE'),'DDD')+((1/24)*7)+((1/24/60)*15),'I',SYSDATE-10,SYSDATE-4,'N');
    INSERT INTO work_table
    VALUES(54321,1,'I',TRUNC(NEXT_DAY(SYSDATE-10,'WED'),'DDD')+((1/24)*7)+((1/24/60)*30),'A',SYSDATE-10,NULL,'N');
    INSERT INTO work_table
    VALUES(54321,1,'I',TRUNC(NEXT_DAY(SYSDATE-10,'THU'),'DDD')+((1/24)*7)+((1/24/60)*5),'A',SYSDATE-10,NULL,'N');
    INSERT INTO work_table
    VALUES(54321,1,'I',TRUNC(NEXT_DAY(SYSDATE-10,'FRI'),'DDD')+((1/24)*6)+((1/24/60)*45),'A',SYSDATE-10,NULL,'N');
    INSERT INTO work_table
    VALUES(54321,1,'I',TRUNC(NEXT_DAY(SYSDATE-10,'SAT'),'DDD')+((1/24)*11)+((1/24/60)*0),'A',SYSDATE-10,NULL,'N');
    INSERT INTO work_table
    VALUES(54321,1,'I',TRUNC(NEXT_DAY(SYSDATE-10,'SUN'),'DDD')+((1/24)*9)+((1/24/60)*30),'A',SYSDATE-10,NULL,'H');
    INSERT INTO work_table
    VALUES(54321,1,'O',TRUNC(NEXT_DAY(SYSDATE-10,'MON'),'DDD')+((1/24)*16)+((1/24/60)*30),'I',SYSDATE-10,SYSDATE-4,'N');
    INSERT INTO work_table
    VALUES(54321,1,'O',TRUNC(NEXT_DAY(SYSDATE-10,'TUE'),'DDD')+((1/24)*15)+((1/24/60)*15),'A',SYSDATE-10,NULL,'N');
    INSERT INTO work_table
    VALUES(54321,1,'O',TRUNC(NEXT_DAY(SYSDATE-10,'WED'),'DDD')+((1/24)*15)+((1/24/60)*30),'A',SYSDATE-10,NULL,'N');
    INSERT INTO work_table
    VALUES(54321,1,'O',TRUNC(NEXT_DAY(SYSDATE-10,'THU'),'DDD')+((1/24)*15)+((1/24/60)*5),'A',SYSDATE-10,NULL,'N');
    INSERT INTO work_table
    VALUES(54321,1,'O',TRUNC(NEXT_DAY(SYSDATE-10,'FRI'),'DDD')+((1/24)*14)+((1/24/60)*45),'A',SYSDATE-10,NULL,'N');
    INSERT INTO work_table
    VALUES(54321,1,'O',TRUNC(NEXT_DAY(SYSDATE-10,'SAT'),'DDD')+((1/24)*15)+((1/24/60)*0),'A',SYSDATE-10,NULL,'N');
    INSERT INTO work_table
    VALUES(54321,1,'O',TRUNC(NEXT_DAY(SYSDATE-10,'SUN'),'DDD')+((1/24)*15)+((1/24/60)*30),'A',SYSDATE-10,NULL,'H');
    INSERT INTO work_table
    VALUES(54321,1,'I',TRUNC(NEXT_DAY(SYSDATE-10,'TUE'),'DDD')+((1/24)*5)+((1/24/60)*15),'A',SYSDATE-4,NULL,'N');
    INSERT INTO work_table
    VALUES(54321,1,'O',TRUNC(NEXT_DAY(SYSDATE-10,'MON'),'DDD')+((1/24)*18)+((1/24/60)*30),'A',SYSDATE-4,NULL,'N');
    --all schedules related to equip_id = 98765
    INSERT INTO work_table
    VALUES(98765,1,'I',TRUNC(NEXT_DAY(SYSDATE-10,'MON'),'DDD')+((1/24)*9)+((1/24/60)*45),'A',SYSDATE-10,NULL,'N');
    INSERT INTO work_table
    VALUES(98765,1,'I',TRUNC(NEXT_DAY(SYSDATE-10,'TUE'),'DDD')+((1/24)*7)+((1/24/60)*30),'A',SYSDATE-10,NULL,'N');
    INSERT INTO work_table
    VALUES(98765,1,'I',TRUNC(NEXT_DAY(SYSDATE-10,'WED'),'DDD')+((1/24)*7)+((1/24/60)*45),'I',SYSDATE-10,SYSDATE-3,'N');
    INSERT INTO work_table
    VALUES(98765,1,'I',TRUNC(NEXT_DAY(SYSDATE-10,'THU'),'DDD')+((1/24)*7)+((1/24/60)*20),'A',SYSDATE-10,NULL,'N');
    INSERT INTO work_table
    VALUES(98765,1,'I',TRUNC(NEXT_DAY(SYSDATE-10,'FRI'),'DDD')+((1/24)*6)+((1/24/60)*0),'A,SYSDATE-10,NULL,'N');
    INSERT INTO work_table
    VALUES(98765,1,'I',TRUNC(NEXT_DAY(SYSDATE-10,'SAT'),'DDD')+((1/24)*11)+((1/24/60)*15),'A',SYSDATE-10,NULL,'N');
    INSERT INTO work_table
    VALUES(98765,1,'I',TRUNC(NEXT_DAY(SYSDATE-10,'SUN'),'DDD')+((1/24)*9)+((1/24/60)*45),'A',SYSDATE-10,NULL,'H');
    INSERT INTO work_table
    VALUES(54321,1,'O',TRUNC(NEXT_DAY(SYSDATE-10,'MON'),'DDD')+((1/24)*16)+((1/24/60)*30),'A',SYSDATE-10,NULL,'N');
    INSERT INTO work_table
    VALUES(54321,1,'O',TRUNC(NEXT_DAY(SYSDATE-10,'TUE'),'DDD')+((1/24)*15)+((1/24/60)*15),'I',SYSDATE-10,SYSDATE-3,'N');
    INSERT INTO work_table
    VALUES(54321,1,'O',TRUNC(NEXT_DAY(SYSDATE-10,'WED'),'DDD')+((1/24)*15)+((1/24/60)*30),'A',SYSDATE-10,NULL,'N');
    INSERT INTO work_table
    VALUES(54321,1,'O',TRUNC(NEXT_DAY(SYSDATE-10,'THU'),'DDD')+((1/24)*15)+((1/24/60)*5),'A',SYSDATE-10,NULL,'N');
    INSERT INTO work_table
    VALUES(54321,1,'O',TRUNC(NEXT_DAY(SYSDATE-10,'FRI'),'DDD')+((1/24)*14)+((1/24/60)*45),'A',SYSDATE-10,NULL,'N');
    INSERT INTO work_table
    VALUES(54321,1,'O',TRUNC(NEXT_DAY(SYSDATE-10,'SAT'),'DDD')+((1/24)*15)+((1/24/60)*0),'A',SYSDATE-10,NULL,'N');
    INSERT INTO work_table
    VALUES(54321,1,'O',TRUNC(NEXT_DAY(SYSDATE-10,'SUN'),'DDD')+((1/24)*15)+((1/24/60)*30),'A',SYSDATE-10,NULL,'H');
    INSERT INTO work_table
    VALUES(98765,1,'I',TRUNC(NEXT_DAY(SYSDATE-10,'WED'),'DDD')+((1/24)*10)+((1/24/60)*45),'A',SYSDATE-3,NULL,'N');
    INSERT INTO work_table
    VALUES(54321,1,'O',TRUNC(NEXT_DAY(SYSDATE-10,'TUE'),'DDD')+((1/24)*17)+((1/24/60)*15),'A',SYSDATE-3,NULL,'N');USER INTERFACE:
    User chooses object, say from a drop-down menu populated by the query:
    SELECT     obj_id || ' - ' || obj_desc     AS my_object
    FROM     obj_table
    MY_OBJECT
    1 - some work area #1
    2 - some work area #2
    3 - some work area #3You will need to store just obj_id for use later..
    User chooses equipment, again, possibly from a drop-down menu populated by the query:
    SELECT     equip_id || ' - ' || equip_desc     AS my_equipment
    FROM     equip_table
    MY_EQUIPMENT
    12345 - STARRETT micrometer, SN#12345
    54321 - STARRETT calipers, SN#54321
    98765 - STARRETT hole gauge, SN#98765You will need to store just equip_id for use later...
    At this point, the next query will need to automatically run upon the user having chosen both criteria, or the user will need to press a 'Go' button or something, and you'll need to somehow (I'm not familiar with JDeveloper to tell you how) to feed over the values that the user selected for obj_id and equip_id, and the following query will pull up the current active schedule (I made the assumption that each day will only have one in and one out time):
    SELECT     day_name
    ,     MIN(in_time)     AS in_time
    ,     MIN(out_time)     AS out_time
    FROM     (
         SELECT     holiday_flag
         ,     CASE
                   WHEN     holiday_flag     = 'H'
                   THEN     'HOLIDAYS'
                   ELSE     TO_CHAR(in_out_time,'DAY')     
              END                         AS day_name
         ,     TO_CHAR(in_out_time,'D')          AS in_out_day
         ,     CASE
                   WHEN     in_out_flag     = 'I'
                   THEN     TO_CHAR(in_out_time,'HH24:MI')
              END                         AS in_time
         ,     CASE
                   WHEN     in_out_flag     = 'O'
                   THEN     TO_CHAR(in_out_time,'HH24:MI')
              END                         AS out_time
         FROM     work_table
         WHERE     active_flag     = 'A'
         AND     equip_id     = :equip_id     --bind variable containing chosen equip_id
         AND     obj_id          = :obj_id     --bind variable containing chosen obj_id
    GROUP BY     day_name
    ,          in_out_day
    ,          holiday_flag
    ORDER BY      CASE
                   WHEN     holiday_flag     = 'H'
                   THEN     '9'
                   WHEN     in_out_day     ='1'
                   THEN     '8'
                   ELSE     in_out_day
              END
    ;Given the sample data I provided, this query returns the following results with equip_id=12345 and obj_id=1:
    DAY_NAME                             IN_TI OUT_T
    MONDAY                               08:30 16:30
    TUESDAY                              08:15 14:15
    WEDNESDAY                            08:30 14:30
    THURSDAY                             08:05 14:05
    FRIDAY                               07:45 13:45
    SATURDAY                             12:00 14:00
    HOLIDAYS                             10:30 14:30Now, the last bit is to allow the user to edit the schedule (however you want to do that, and you'll probably want to include a check to look for only values that have changed, so you don't submit queries for all values, whether they've changed or not) and then submit the following queries for each update to the schedule (a single in or out time that is changed is one update):
    Notes:
    I continue to use :equip_id and :obj_id in the following queries
    I use :new_hr to represent the value (gotten from the user) for the new hour
    I use :new_min to represent the value (gotten from the user) for the new minutes
    I use :day_name to indicate the day of the week the time is for which you also need to get from the entry form and provide
    in the format 'MON','TUE','WED','THU', etc. Please use 'SUN' for holidays.
    Just in case you ever want to include Sundays in your schedules, I've also included the holiday_flag.
    I use :holiday to indicate whether the schedule being edited is for holidays, please feed this as either 'H' for holiday or 'N' if not
    I use :in_out to indicate whether the time being update is an 'in' time or an 'out' time, this value also needs to be fed from
    the user form in the format of 'I' for in and 'O' for out.
    UPDATE     work_table
    SET     active_flag     = 'I'
    ,     dt_inactive     = SYSDATE
    WHERE     active_flag               = 'A'
    AND     equip_id               = :equip_id
    AND     obj_id                    = :obj_id
    AND     holiday_flag               = :holiday_flag
    AND     TO_CHAR(in_out_time,'DY')     = :day_name
    AND     in_out_flag               = :in_out
    INSERT INTO work_table
    VALUES     (     :equip_id
         ,     :obj_id
         ,     :in_out
         ,     TRUNC(NEXT_DAY(SYSDATE-1,:day_name),'DDD')+((1/24)*:new_hr)+((1/24/60)*:new_min)
         ,     'A'
         ,     SYSDATE
         ,     NULL
         ,     :holiday
    commit;I don't know if an expert can recommend a better way to do the update to the table, maybe using a trigger or something to update the old 'active' record once a new record is added, but this is how I'd do it.
    Edited by: user11033437 on Dec 10, 2010 11:45 AM - fixed a typo in the SQL
    Example of an update to the table:
    UPDATE     work_table
    SET     active_flag     = 'I'
    ,     dt_inactive     = SYSDATE
    WHERE     active_flag               = 'A'
    AND     equip_id               = 12345
    AND     obj_id                    = 1
    AND     holiday_flag               = 'N'
    AND     TO_CHAR(in_out_time,'DY')     = 'MON'
    AND     in_out_flag               = 'O'
    ;After running the above, the current schedule now looks like:
    DAY_NAME                             IN_TI OUT_T
    MONDAY                               08:30
    TUESDAY                              08:15 14:15
    WEDNESDAY                            08:30 14:30
    THURSDAY                             08:05 14:05
    FRIDAY                               07:45 13:45
    SATURDAY                             12:00 14:00
    HOLIDAYS                             10:30 14:30Then, inserting the new time:
    INSERT INTO work_table
    VALUES     (     12345
         ,     1
         ,     'O'
         ,     TRUNC(NEXT_DAY(SYSDATE-1,'MON'),'DDD')+((1/24)*19)+((1/24/60)*15)
         ,     'A'
         ,     SYSDATE
         ,     NULL
         ,     'N'
    ;And now the new schedule looks like:
    DAY_NAME                             IN_TI OUT_T
    MONDAY                               08:30 19:15
    TUESDAY                              08:15 14:15
    WEDNESDAY                            08:30 14:30
    THURSDAY                             08:05 14:05
    FRIDAY                               07:45 13:45
    SATURDAY                             12:00 14:00
    HOLIDAYS                             10:30 14:30Edited by: user11033437 on Dec 10, 2010 11:51 AM - Added example of updating table with new schedule time

  • Payroll: Perquisite

    Dear All,
    There is an issue regarding Perk.
    For certain Customer specific Perk say Electricity perk, the perk value is required to be fed manually into the system. This perk value should be included in Annual perk during payroll processing.
    For this purpose, we are creating a custom wage type in IT0015. User shall enter the perk value in this wage type for a specific month.
    How should the <b>cumulated value</b> of this wage type amount be cumulated into <b>Annual Perk</b> in any month of the Financial year.
    If possible, please send the PCR required for this purpose.
    Thanks,
    Shweta

    Call the SAP HR helpline no : +91-9861228001.
    Reward if solved.
    Sankhadip.

  • Zen 7 Verify not populating Macro values

    This is Zen 7 on XP SP2.
    This deals with using values under MSI> Properties that enter values into the MSI installs into the Registry or INI files.
    On the initial install the values are installed as intended. However, if the AO "Verify" is selected, the values in the AO are ignored and the default value in the MSI Property table is used. If I remove the configuration settings from the MSI and use the AO to create or verify the reg or INI entries that works fine, but is not ideal.
    Where can I start to try to resolve this issue. Thanks in advance for any insight.

    sperrym,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • SQL fed drop down, two label values

    Hello all.
    I have a drop down menu that's fed by an SQL database for a timecard. This database has three records for an employee, the first name, last name, and employee ID.
    I need the drop down to give me both "fname", "lname", and the actual value needs to be "empl". first name, last name, and employee ID, respectively.
    Is there some syntax that can be entered into the binding dialog that will call both "fname" and "lname" to show a full name. These employees are not going to be keen on selecting a first name, then a last name. Plus, if two people have the same last name, we could have conflicting employee ID's from first to last names.
    It's a mess.
    Any help's appreciated, thank you.

    Hi,
    You could put it in the Initialize event for the drop down.
    Look at the script for the custom drop down list in the initialize event. Find the following while statement,
    while(!oDB.isEOF())
    this.addItem(oTextNode.value, oValueNode.value);
    oDB.next();
    Instead of adding just the oTextNode value to the drop down list you can use this string append to display more info from different columns
    of your database.
    ssText += " / " + ssValue;
    this.addItem(ssText);
    For example, the "/" could be replaced with a "," and ssText could be
    the Last Name and ssValue could be the First Name.
    You would then be displaying "Last Name, First Name" in your drop down list.
    Steve

  • Adding the values fed in the table

    Hi
    i want to add the values of one column in the table that are given by the user. I  set the "calculated" property of the corresponding context element in the controller as true and then writing the code for it. But when i run my application, then even if i give valid data in the corresponding column, it still shows the message errors i have set for the validations and clears the field.
    is there any way in which this can be calculated without setting the "calculated" property as true?
    If yes, then how to access the values of the column?
    Thanks & regards,
    Anupreet

    Hi,
    Without using the Calculated property you can proceed the following way suppose you have a Node A with attribute a,b,c.
    then you can get each of these values using
    wdContext.current<name of node>element().get<attribute>();
    The above code gives the value for currently selected row.
    Similarly you can get all attributes and perform the required operations.
    To get  values for particular row you can use
    wdContext.node<name of node>().get<name of node>ElementAt(i).get<attribute name>();
    Here i is the index of the particular row.
    Hope this helps.
    Revert back for further clarification.
    Regards,
    Leena

  • State machine fed by value?

    This seems really simple but I can't get it to work!
    I have a case statement fed by a an enumerated constant.  When hooked up, the headers in the case match the strings in the enumerated type.  So far so good,  But I don't want to actually feed the case with the constant, I want to feed it with a number that's stored in an element of an array but still have the headers match the strings in the enumerated type.  I've tried various ways and the only way I could get it to work was ugly - change the constant to a control, get a property node of the strings and index into them.  That seems expensive and, I'm hoping, unnecessary.
    Is there a simple way to do this?
    Lee Jay

    Am I totally misunderstanding something or is this what you want to do?
    Message Edited by Dennis Knutson on 10-31-2006 03:43 PM
    Attachments:
    Type Cast to Enum.PNG ‏4 KB

  • Goodbye Zen Vision M (a sad sto

    I purchased a ZVM two weeks ago. The problem I had was simple: I wasn't able to charge it via USB. My The power led wasn't flashing. No sign of life?from ZVM. It was off. Dead. I tried everything is suggested by manuals and forums suggestion. I learned a lot about USB power settings, BIOS legacy supports, USB security..... But nothing changed. I dutifully followed recommended procedures I read on forum and ZVM enthusiasts?without success. ZVM was unable to charge via USB. I asked the shop to provide me another ZMV but, again, I had the same problem. I've tested the latter of 4 (four) different PC and one USB charger. My ZVM was still uncharged, with its beautiful dark display. Since the shop clerks was unable to resolve the problems (by the way - I've tested ZVM even on a PC in the shop) I?tried to contact customer support: in Italy is only via e-mail. They failed to reply me in the?service level agreement?stated in the confirm of my support request e-mail (from to three days). At the moment I'm writing this?message,?I still have no reply from the customer?support. At the end, fed up with the situation, I gave back my ZVM and I had my money back. I'm really upset, because now I MUST switch to iPod when my first choice was ZVM. I'm rather sure - as many in this forums suggested me - ?that with the beautiful, expensi've and recommended Power Charger (my shop hadn't) maybe my ZVM would start However I would ask Creative why: ?
    ?- I MUST purchase an optional device in order to TURN ON my ZVM
    - The only support I had was from?kind people that are not from?Creative.
    - The?e-mail support?failed to reply me ?
    I think that ?ZVM is a wonderful products when it works; but?- as happens in life - sometimes things?go wrong. In these circumstances?you can judge the REAL value of the product, that is the?real value of the?company that produced what you purchased. ?
    I still ask?Creative: ? Let's now suppose I will buy an Ipod and I will able to install the software, charge it and finally?upload an mp3?file and going work listening while I'm going work ?
    OR
    I?have problem with I-pod and then?someone from Apple will take care of the situation in time.
    What I will suggest to a friend of mine if he has to decide between IPod and ZVM?
    Goodbye
    Riccardo

    yeah, Ricardo is right.
    If your new player's battery is really, really low, the computer won't recognize that there is anything plugged into the USB port. If the computer doesn't know there is anything in the USB port, the computer won't supply the full voltage to the USB port, only a trickle charge, which, of course, won't charge your player.
    Quite a few folks have had this problem and it really is a shame that a) the batteries are allowed to be depleted that far and b) the AC charger isn't included in the package. (apparently you can blame Apple for that as well. They started the trend by not including their chargers so as to lower the price ... everyone else had to follow suit to stay competiti've.)
    You can buy the correct AC charger from other than Creative. The PSP charger works great for instance.
    Sorry you had this experience with your Zen.

  • Zen V 8Gb locks up with MediaSource 5, no longer recognized by

    I have an 8G Zen V which I sync using a computer running Windows XP.
    I was transferring a file from MediaSource 5 to my 8G Zen V when I noticed that the current file had simply stopped transferring stuck at %. I unplugged the Zen, but instead of returning to the regular play screen it was stuck at the Docking screen. I found a pin and reset the Zen. When I attempted to plug it back into my computer it was not recognized, so I restarted the machine -- still not recognized! When I opened Device Manager the Zen was displayed with an exclamation point surrounded by a yellow circle, an indication that there was trouble with the driver. I attempted to have the OS update the driver, but the operation failed. I ended up restoring the entire OS to an earlier state.
    I've concluded that MTP is absolute crap -- this is the second player I've experienced problems with MS's garbage protocol. On a completely different machine, with a different brand of MP3 I could never get MicroCrap to recognize the device as an MTP device, and thus lost out on some of the features for that device that were MTP specific. What happened to the days when you could just drag and drop files onto your device like a hard-dri've and be good to go?
    Any other nightmare stories out there?

    You said "I am really unbelievably fed-up with the useless "try checking your USB cable"-style"
    - Did you try another cable?
    - Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
    Try on another computer

  • How do i realise the most basic functionality with my zen tou

    I've been playing around with my zen touch for a couple of hours now and I have to admit I'm impressed. The zen has certainly opened my eyes and challenged my previous foolish preconceptions about portable mp3 players which should be open platform, plug-and-play, straightforward and easy to use, because my experience thus far has not been any of these.
    In an attempt to stop wasting any more my time I was just wondering if someone could quickly tell me how exactly do I manage the files which are already on my touch? A couple of things I would like to do:
    . view and music files on my zen touch from some interface on my computer
    2. copy music files from my zen touch back on to my computer
    3. delete all music files without manually having to go through each and every album
    Now I've probably made another crass assumption that it is infact possible to actually do this, but here's to hoping.
    Now, the manual says I can use the creative mediasource organizer to transfer music to my touch. And indeed, Creative MediaSource Player/Organizer 3.30.2 claims to be able to do just this (transfer music tracks to and from your Creative portable music player using Sync Manager and SmartFit*). My question is... how? I've run the organizer, it looks like yet another music library management tool, great except for the whole part about that mp3 player stuff. Is there a hidden setting somewhere only available to stonemasons that will let me access my mp3 player?
    I've also installed the Creative NOMAD Explorer (Version 3.0.0). Now, at least this works - in the same way a person in a coma can be said to li've. When I open the 'music library' I get an empty explorer window to I can click and drag mp3 files into it and it copies them over. So, I guess I have some functionality, although it would be kind of nice to have some feedback about what files I have on there.
    Now as it's not april fools I'm not quite ready to accept that zen touch as the great big joke it appears to be, so if somebody could provide some insight I would really be grateful.
    edit: forgot to mention, running .0.03 firmware, and the model number on the back is DAP-HD004. Upgrading to the 2. firmware is unfortunatley not an option at the moment.Message Edited by adante on 02-24-20060:7 PM

    Mosey: thank you for the information. Just out of curiousity, was I just not paying attention and was this made known somewhere? Or do creative just expect you to potter around endlessly installing software in the hopes that you might randomly stumble across the right configuration?
    Perhaps I am just crazy for assuming that if the latest firmware does not have a superseded message, it is still acti've and valid.
    Anyway, I'm happy to report that the situation has been resolved mostly to my satisfaction. I was able to fob off my zen touch to some other sod, and actually make a profit from it, no less! This was quite a pleasant surprise because I usually dispose of fecal matter by flushing it down the toilet (but then, I don't have to pay for it either).
    I have since purchased a noname mp3 player which, while having some pretty severe firmware, provides some great additional functionality which I have to admit I really like over the touch. Primarily, this was being able to copy mp3s to and from it* and hence use it as an mp3 player! I know this concept is a little radical, but I really think creative should look into it because it would really add some value to their current line of paperweights and doorsto
    ps.
    So thanks creative for that hilarious little experience. I have to admit, you guys certainly do manage to distinguish yourself from the field and push the limits of mp3 player technology. Where I used to think of a nai'vely spectrum of good to bad, I have since extended this from the good, to the bad, to the creative.
    * This alone is a great feature I was never able to realise with my touch, and made even better by the fact I didn't have to install all sorts of half-baked software to achieve it!

Maybe you are looking for

  • Missing text in PDF when I use Acrobat 9.2 and FM 9

    I was able to PDF ok from FM9 using Acrobat 6, but when I upgraded to Acrobat 9.2, I'm getting some missing text in the PDF. Some non-bold text is missing. The number for Chapter 3 is missing in the TOC. Any suggestions?

  • Fonts disappeared

    Hi, this morning many fonts seem to be unavailable in Classic text view in files that were previously fine. I can select the text but nothing shows up when unselected. If I change the font some show and some don't and I can't see any logic as to why!

  • N81 "possessed"

    All, I'm trying to solve a weird problem that started to happen with my 3 months old N81 phone. Last Thursday out of the blue, my # keys and navigator on my N81 stopped responding. I left the phone on and then my screen started act on "invisible" key

  • Mails sent to the iPhone (5S) do not appear in sent mail. Neither iOS nor OSX. I need detailed instructions IMAP and SMTP on iPhone and on OSX

    Mails sent to the iPhone (5S) do not appear in sent mail. Neither iOS nor OSX. I need detailed instructions IMAP and SMTP on iPhone and on OSX

  • Any fast way to move objects in front panel?

    Hi there,   I don't know if this is asked before. It is not a technical question but I wonder any way to move any object/control on the front panel quickly. I try to google and search in the forum but didn't see any way to do so. Sometimes, while dev