A little help for creating a procedure

Hi,
I'm new to oracle so i would really appreciate your help. Here is the scenario: i have several table in a database, in one table, let's call it table_a i have some values like: assignment, employee_id, account and so on. In another table, table_b i also have some data the is found in table_a like: employee_id, assignmnet, employee_name... and so on. I must create a procedure to check in table_a by value assignment(pk) and find what assignments are not in table_b and then insert these values in table_b, table_c.... . How do i create the comparison part?

Hi,
If It would have to insert only in table_b, then you can go for MERGE, that will be fine instead of procedure.
Other options would be
INSERT ALL
INTO table_b VALUES (<required columns>)
INTO table_c VALUES (<required columns>)
SELECT <the columns>
FROM table_a
where assignmnet_id not in (select assignmnet From table_b);
- Pavan Kumar N

Similar Messages

  • Need help for creat apple id in iphone 5s

    need help for creat apple id in iphone 5s

    See this support document for instructions. http://support.apple.com/kb/HT2731

  • Help for optimization of procedure

    Hi,
    I am having following procedure it is accessing LY_RWPT_SUCCESS table having 2501818 records. i want to insert data into LY_RWPT_cap_SUCCESS with following logic but its taking lot of time .
    How we can optimize this query to give better result. pls help.
    CREATE OR REPLACE PROCEDURE "LY_PRODUCT_CAPPING_old"(P_MONTH VARCHAR2) IS
    --v_sum_rewards number
    V_SUM_REWARDS integer;
    V_FLAG VARCHAR2(1);
    V_AMOUNT integer;
    V_REWARD NUMBER;
    V_REMARKS VARCHAR2(1000);
    cursor c1 is
    select *
    from LY_RWPT_SUCCESS
    where as_of_month = P_MONTH
    -- and source_account_number ='000101006399'
    order by source_account_number asc,
    product_code asc,
    transaction_id asc,
    transaction_date asc;
    begin
    DELETE FROM LY_RWPT_CAP_SUCCESS WHERE AS_OF_MONTH = P_MONTH;
    for i in c1 loop
    V_REWARD := I.REWARDS;
    /*select nvl(sum(rewards),0) INTO V_SUM_REWARDS from ly_rwpt_cap_success_temp
    where as_of_month = P_MONTH
    and product_code = I.PRODUCT_CODE
    AND SOURCE_ACCOUNT_NUMBER = I.SOURCE_ACCOUNT_NUMBER
    and partial_flag in( 'F','P');*/
    if V_REWARD != 0 THEN
    select nvl(sum(rewards), 0)
    INTO V_SUM_REWARDS
    from ly_rwpt_cap_success
    where as_of_month = P_MONTH
    and product_code = I.PRODUCT_CODE
    AND SOURCE_ACCOUNT_NUMBER = I.SOURCE_ACCOUNT_NUMBER
    and partial_flag in ('F', 'P');
    IF (V_SUM_REWARDS >= I.PRODUCT_CAPPING) THEN
    V_REMARKS := i.remarks || ' but receiving ' || ' ' || 0 ||
    ' points as reached to product capping';
    -- V_REMARKS := i.PRODUCT_NAME ||'transaction successfully earned'||' ' ||0 ;
    V_FLAG := 'N';
    INSERT INTO LY_RWPT_CAP_SUCCESS
    VALUES
    (I.source_account_number,
    I.cust_id,
    I.customer_status_code,
    I.product_code,
    I.value,
    I.transaction_date,
    I.processing_date,
    I.balance,
    I.eligible_tag,
    0,
    I.transaction_id,
    I.payee_name,
    V_REMARKS,
    V_FLAG,
    I.as_of_month,
    I.product_name,
    I.product_capping,
    I.CUSTOMER_SEGMENT,
    I.RD_ACCOUNT_NBR,
    I.MEMBER_CUST_ID);
    COMMIT;
    ELSIF (V_SUM_REWARDS = 0 AND V_REWARD <= I.PRODUCT_CAPPING) THEN
    V_REMARKS := I.REMARKS;
    --V_REMARKS := i.PRODUCT_NAME ||'transaction successfully earned'||' ' || V_REWARD ;
    V_FLAG := 'F';
    INSERT INTO LY_RWPT_CAP_SUCCESS
    VALUES
    (I.source_account_number,
    I.cust_id,
    I.customer_status_code,
    I.product_code,
    I.value,
    I.transaction_date,
    I.processing_date,
    I.balance,
    I.eligible_tag,
    V_REWARD,
    I.transaction_id,
    I.payee_name,
    V_REMARKS,
    V_FLAG,
    I.as_of_month,
    I.product_name,
    I.product_capping,
    I.CUSTOMER_SEGMENT,
    I.RD_ACCOUNT_NBR,
    I.MEMBER_CUST_ID
    COMMIT;
    ELSIF (i.product_capping < (V_SUM_REWARDS + V_REWARD)) then
    V_AMOUNT := ABS(I.PRODUCT_CAPPING - V_SUM_REWARDS);
    V_REMARKS := i.remarks || ' but earned ' || ' ' || V_AMOUNT ||
    ' partial points' || ' as exceeding product capping';
    -- V_REMARKS := i.PRODUCT_NAME ||'transaction successfully earned'||' ' || V_AMOUNT ;
    V_FLAG := 'P';
    INSERT INTO LY_RWPT_CAP_SUCCESS
    VALUES
    (I.source_account_number,
    I.cust_id,
    I.customer_status_code,
    I.product_code,
    I.value,
    I.transaction_date,
    I.processing_date,
    I.balance,
    I.eligible_tag,
    V_AMOUNT,
    I.transaction_id,
    I.payee_name,
    V_REMARKS,
    V_FLAG,
    I.as_of_month,
    I.product_name,
    I.product_capping,
    I.CUSTOMER_SEGMENT,
    I.RD_ACCOUNT_NBR,
    I.MEMBER_CUST_ID);
    COMMIT;
    ELSIF
    (i.product_capping >= (V_SUM_REWARDS + V_REWARD)) then
    V_REMARKS := I.REMARKS;
    -- V_REMARKS := i.PRODUCT_NAME ||'transaction successfully earned'||' ' || V_REWARD ;
    V_FLAG := 'F';
    INSERT INTO LY_RWPT_CAP_SUCCESS
    VALUES
    (I.source_account_number,
    I.cust_id,
    I.customer_status_code,
    I.product_code,
    I.value,
    I.transaction_date,
    I.processing_date,
    I.balance,
    I.eligible_tag,
    V_REWARD,
    I.transaction_id,
    I.payee_name,
    V_REMARKS,
    V_FLAG,
    I.as_of_month,
    I.product_name,
    I.product_capping,
    I.CUSTOMER_SEGMENT,
    I.RD_ACCOUNT_NBR,
    I.MEMBER_CUST_ID);
    END IF;
    COMMIT;
    ELSE
    V_REMARKS := i.remarks;
    -- V_REMARKS := i.PRODUCT_NAME ||'transaction successfully earned'||' '||0 ;
    V_FLAG := 'R';
    INSERT INTO LY_RWPT_CAP_SUCCESS
    VALUES
    (I.source_account_number,
    I.cust_id,
    I.customer_status_code,
    I.product_code,
    I.value,
    I.transaction_date,
    I.processing_date,
    I.balance,
    I.eligible_tag,
    0,
    I.transaction_id,
    I.payee_name,
    V_REMARKS,
    V_FLAG,
    I.as_of_month,
    I.product_name,
    I.product_capping,
    I.CUSTOMER_SEGMENT,
    I.RD_ACCOUNT_NBR,
    I.MEMBER_CUST_ID);
    END IF;
    COMMIT;
    END LOOP;
    END;

    Try this
    create or replace procedure ly_product_capping_old
       p_month varchar2
    is
    begin
       insert
         into ly_rwpt_cap_success
       select i.source_account_number,
              i.cust_id,
              i.customer_status_code,
              i.product_code,
              i.value,
              i.transaction_date,
              i.processing_date,
              i.balance,
              i.eligible_tag,
              case when i.reward != 0 then
                      case when nvl(j.rewards, 0) >  i.product_capping then 0
                        when nvl(j.rewards, 0) =  0 and i.rewards <= i.product_capping then i.rewards
                     when i.product_capping <  nvl(j.rewards, 0) + i.rewards then abs(i.product_capping -  nvl(j.rewards, 0))
                     when i.product_capping >= nvl(j.rewards, 0) + i.rewards then i.rewards
                   end
                   else 0
              end v_reward,
              i.transaction_id,
              i.payee_name,
              case when i.reward != 0 then
                      case when nvl(j.rewards, 0) >  i.product_capping then i.remarks || ' but receiving ' || ' ' || 0 || ' points as reached to product capping'
                        when nvl(j.rewards, 0) =  0 and i.rewards <= i.product_capping then i.remarks
                     when i.product_capping <  nvl(j.rewards, 0) + i.rewards then i.remarks || ' but earned  ' || ' ' || abs(i.product_capping -  nvl(j.rewards, 0)) || ' partial  points' || ' as exceeding product capping';
                     when i.product_capping >= nvl(j.rewards, 0) + i.rewards then i.remarks
                   end
                else i.remarks
              end  v_remarks,
              case when i.reward != 0 then
                      case when nvl(j.rewards, 0) >  i.product_capping then 'N'
                        when nvl(j.rewards, 0) =  0 and i.rewards <= i.product_capping then 'F'
                     when i.product_capping <  nvl(j.rewards, 0) + i.rewards then 'P'
                     when i.product_capping >= nvl(j.rewards, 0) + i.rewards then 'F'
                   end
                else 'R'
              end v_flag,
              i.as_of_month,
              i.product_name,
              i.product_capping,
              i.customer_segment,
              i.rd_account_nbr,
              i.member_cust_id
         from ly_rwpt_success i
         left
         join (
                 select product_code, source_account_number, sum(rewards) rewards
                   from ly_rwpt_cap_success
                  where as_of_month  = p_month
                    and partial_flag in ('F', 'P')
                  group
                     by product_code, source_account_number
              ) j
           on i. product_code = j.product_code
          and i.source_account_number = j.source_account_number
        where as_of_month = p_month;
       commit;
    end;There could be some semantic errors, if found please correct. And also please specify the column list in the insert statement.
    And oh forgot to mention the code is untested :)

  • Help for creating classification view in mm01

    hi guys can anybody help on creating classification views in mm01 using bdc recording i need a step by step procedure . since when i tryed in mm01 there are filds like class name i dont know where all these data's to find one more thing is i was asked to create classification view using bdc recording ...please help me with some programs if u have

    Hi,
    You need to use the BAPI 'BAPI_OBJCL_CREATE' to create characteristics for a material.
    The characteristics are need to be passed in the table ALLOCVALUESCHAR.
    If you do not know the values for a particular characteristics then you canmake use of FM
    BAPI_CLASS_GET_CHARACTERISTICS and BAPI_CHARACT_GETDETAIL to get the values.
    Regards,
    Ankur Parab

  • Please Help for Create Animated_Gif

    Hello All i recently Create a Animated Gif file for a Site and for creating it i have use 4 JPEG image and add all by Photoshop>Animation with Frmae time 4sec. When i have save it and set Dither 100% and Optimize 100% but now image show scattered .when uploaded on website please look at http://www.printsasia.com/
    Please suggest how to get Good Quality in GIF image.my all JPEG image has Good Quality
    Please Check all JPEG images

    First thing is you are mistaking the quality of jpg vs gif. There is no way to get the same quality as a jpg, it just does not have enough colors. If you took a jpg image and converted to grayscale, then it would have the same number of colors even though they all would be shades of gray. Gray is color so...
    Jpg does not support transparency, layers or animations which is why it is not a good candidate for web animations. If you need full color, full transparency, and/or animations then you amy want to consider flash. Currently it is the only format for the web that supports all 3 and layers.
    That being said, png does have a sister format for animations but is not supported in all web browsers.
    Another alternative is quicktime, or windows media. Each can play in a web browser if the plugin is installed they both support full color and transparency (the latter supported under certain circumstances {correct codec}) But not all users have either or both video players installed, so most of the time it will work, but there is that chance.
    The lastest version of HTML is suppose to support the quicktime format but I don't know enough about how well it is supported via HTML and the number of Browsers. But it is an option that is worth keeping an eye on.
    So for a gif file...
    Keep in mind that the entire file that includes all frames must maintain a maximum of 256 colors with 1 of the colors reserved for transparency. Which is the reason for harsh borders on a transparent edge of the image. Not enough shades for transparency to have a smooth gradation.
    Even though your second image may work fine, odds are the first image will not and will look as you put "scattered". Simply because each of those books are made up of multiple shades of that color times the number of colors needed for all the books, background, text, etc. Even the reflection effect for the text is made up of multiple shades of that color. So in reality it just does not have enough colors in the table to make the image look smooth.
    I hope this helps some, I am sure it is not quite what you wanted to hear, but if you do a bit of research or throw your hands up and say good enough. You will at least know why and it wasn't you to blame, it is the outdated technology of the gif format.
    Good luck at which ever way you decide to travel...

  • Help me creating a procedure

    In this practice, create a procedure to monitor whether employees have exceeded their average salary limits.
    a.     Add a column to the EMPLOYEES table by executing the following command:      
         ALTER TABLE employees
         ADD (sal_limit_indicate VARCHAR2(3) DEFAULT 'NO'
         CONSTRAINT emp_sallimit_ck CHECK (sal_limit_indicate IN ('YES', 'NO')));
    a.     Write a stored procedure called CHECK_AVG_SAL. This checks each employee's average salary limit from the JOBS table against the salary that this employee has in the EMPLOYEES table and updates the SAL_LIMIT_INDICATE column in the EMPLOYEES table when this employee has exceeded his or her average salary limit.
    Create a cursor to hold employee IDs, salaries, and their average salary limit – lock the rows with the FOR UPDATE NOWAIT clause in your cursor definition.
    Find the average salary limit possible for an employee's job from the JOBS table. The average salary limit is defined as (max salary + min salary)/2 . Compare the average salary limit possible for each employee to exact salaries and if the salary is more than the average salary limit, set the employee’s SAL_LIMIT_INDICATE column to YES; otherwise, set it to NO.
    Add exception handling to account for a record being locked. This is the only exception you will need to check. This exception is Oracle non-predefined -0054. So you will need to associate it using the PRAGMA EXCEPTION_INIT. Then you can handle it with a standard WHEN clause in the EXCEPTION area of your program.
    It might look like this in your declaration area:
    e_resource_busy EXCEPTION;
    PRAGMA EXCEPTION_INIT(e_resource_busy, -54);
    c.     Execute the procedure, and then test the results.
    EXECUTE check_avg_sal
    Now test the rows lock exception by starting another session executing the procedure again. Remember to SET SERVEROUTPUT ON. In this example I used the RAISE_APPLICATION_ERROR procedure in my exception section– this is what the output will look like. But you could also have printed a nice message using DBMS_OUTPUT.PUT_LINE. Your choice.
    EXECUTE check_avg_sal
         BEGIN check_avg_sal; END;
    ERROR at line 1:
    ORA-20001: Record is busy, try later.
    ORA-06512: at "TEACH.CHECK_AVG_SAL", line 29
    ORA-06512: at line 1
    Query the EMPLOYEES table to view your modifications, and then commit the changes.
    select e.employee_id, e.job_id, j.min_salary, e.salary, j.max_salary, e.sal_limit_indicate
    from employees e , jobs j
    WHERE e.job_id = j.job_id
    EMPLOYEE_ID      JOB_ID      MIN_SALARY      SALARY      MAX_SALARY      SAL
    100      AD_PRES      20000      24000      40000      NO
    101      AD_VP      15000      17000      30000      NO
    102      AD_VP      15000      17000      30000      NO
    200      AD_ASST      3000      4400      6000      NO
    108      FI_MGR      8200      12000      16000      NO
    109      FI_ACCOUNT      4200      9000      9000      YES
    110      FI_ACCOUNT      4200      8200      9000      YES
    111      FI_ACCOUNT      4200      7700      9000      YES
    112      FI_ACCOUNT      4200      7800      9000      YES
    113      FI_ACCOUNT      4200      6900      9000      YES
    205      AC_MGR      8200      12000      16000      NO
    206      AC_ACCOUNT      4200      8300      9000      YES
    145      SA_MAN      10000      14000      20000      NO
    146      SA_MAN      10000      13500      20000      NO
    Commit
              Commit complete.

    The below is what I have.. it is not working.. I am not sure what is wrong.
    set server output on
    ---to add sal_limit_indicate column to employees table
    ALTER TABLE employees
    ADD (sal_limit_indicate VARCHAR2(3) DEFAULT 'NO'
    CONSTRAINT emp_sallimit_ck CHECK (sal_limit_indicate IN ('YES', 'NO')));
    --query employees table to make sure the column is added
    select * from employees
    ----query to check average salary
    select e.JOB_ID, e.SALARY,e.sal_limit_indicate,((min_salary+max_salary)/2) as avg_sal
    from employees e, jobs
    where e.job_id = jobs.job_id
    ---procedure to use in main procedure
    create or replace procedure update_indicator
    (emp_id employees.employee_id% type,
    emp_sallimit employee.sal_limit_indicate% type)
    is
    begin
    update employees
    set sal_limit_indicate ='yes'
    end update_indicator;
    ---procedure to update sal-limit_indicate to yes if salary is greater than average salary
    create or replace procedure CHECK_AVG_SAL is
    cursor sal_cursor is
    select e.employee_id, e.SALARY ,e.sal_limit_indicate,j.avg_sal
    from employees e, (select ((min_salary+max_salary)/2) as avg_sal, job_id from jobs)j
    where e.job_id = j.job_id
    and salary >avg_sal;
    begin
    for sal_rec in sal_cursor
    loop
    update_indicator(sal_rec.employee_id,sal_limit_indicate);
    end loop;
    end;
    end CHECK_AVG_SAL;

  • Plz help me create a Procedure with create view cmd

    i want to create a view from the procedure like the following one,
    It creates the proc but while running it show invalid column name please help me;
    create or replace procedure asho2005.mock_pro( fin_fr_dt in date, fin_to_dt in date) is
         ffdt date;
         ftdt date;
    begin
         select to_date(fin_fr_dt,'dd-mm-yyyy') into ffdt from dual;
         select to_date(fin_to_dt,'dd-mm-yyyy') into ftdt from dual;
    execute immediate 'create or replace view mock_vu as select a.amt from cbtran a where chq_dt > ffdt and chq_dt <ftdt';
    end;

    i want to create a view from the procedure like the
    following one,
    It creates the proc but while running it show invalid
    column name please help me;
    create or replace procedure asho2005.mock_pro(
    fin_fr_dt in date, fin_to_dt in date) is
         ffdt date;
         ftdt date;
    begin
    select to_date(fin_fr_dt,'dd-mm-yyyy') into ffdt
    t from dual;
    select to_date(fin_to_dt,'dd-mm-yyyy') into ftdt
    t from dual;
    execute immediate 'create or replace view mock_vu
    vu as select a.amt from cbtran a where chq_dt > ffdt
    and chq_dt <ftdt';
    end;Hallo,
    your problem is , that execute immediate does't recognize ffdt
    You have to concatenate literals
    create or replace procedure asho2005.mock_pro( fin_fr_dt in date, fin_to_dt in date) is
    ffdt date;
    ftdt date;
    begin
    select to_date(fin_fr_dt,'dd-mm-yyyy') into ffdt from dual;
    select to_date(fin_to_dt,'dd-mm-yyyy') into ftdt from dual;
    execute immediate 'create or replace view mock_vu as select a.amt from cbtran a where chq_dt > '''||ffdt||''' and chq_dt <'''||ftd||'''';
    end; BTW, your view doesn't return any rows
    ffdt and < ffdt :-)
    Besides that , it's a very very bad method!
    You must not create views in runtime. Use of literals results in hard parsing .
    The performance will be poor.
    You have to create view in design time, and then simply use select:
    select * from mock_vu where chq_dt > (your_date) and something else
    HTH
    Regards
    Dmytro
    corrected wrong number of quotes (no wonder ) :-)
    Message was edited by:
    Dmytro Dekhtyaryuk

  • Audigy 2 Tech support little help for n

    Original Message Follows:
    Subject: CLI - Technical Support Request
    Self Description: ID(3) Advanced PC UserSupport Inquiry: ID() I am installing or using the product for the first timeProduct: Audigy 2 ZSOperating System: Windows 2000Creative Model Number: SB0240Computer Brand/Model: Home builtProcessor/CPU: P4 3.0ghzMemory: .024gigBIOS Type/Revision: Award Bios SPE000 Pro-G.ESystem Board/Chipset: GA-8IPE000/Intel 865PE Host/AGP/Controler ICH5 IO
    Detailed Problem Description:I have recently made a purchase from e-bay form your company for Creative Sound Blaster Audigy 2 Sound Card http://cgi.ebay.com/ws/eBayISAPI.dll...92950&tc=photo I have install this product to go along with my Creative Labs Inspire P5800 5. speaker system. I am having the following problems.
    . I can only get output from 2 speakers front left and front right.2. I cannot get my microphone to work at all. Its plugin to the proper port. It worked with the old sound card. It works on other pc's I have at my residence. So its not the microphone. I checked all the connections and they are correct. I have been to the knowledge base with no luck. I have been through the forums searching and the majority of the forum responses are users helping users with very little input from Creative labs. (disappointed)I have installed/un-installed/re-installed without any luck, the software that came on the cd. I have also retrieved the last software downloads from your web site without any luck.So either I am missing something here, or I got a defecti've sound card.
    REPLY/Answers inline:
    Jason, My answers are inline.
    > Thank you for contacting Creative Technical Support. > With regards to the issue you are having, may I know the model and > serial number of the product you are having? It should start with CT or SB followed by 4 numbers >found on the sound card. As for the serial number, it can be found on the sticker and the ink stamp >which is printed on the back of the card. SB0240 > Below is a link that may help with the location of the model number. Thanks. Run a keyword search for > SID2456 from the link below.> http://us.creative.com//support/kb/> > For the 2 speakers output issue, may I know are you using digital or analog connection for your >speakers? I assume its an analog connection Creative Insprire P5800 as I don't have anything like a EAX control module that goes in between. Also I have no sound at all til I go to the speaker setting control panel andde-select digital output only.
    I have 3 wire connection Green Line out (front) Black line out 2 (rear) and Orange line out 3 (center subwoofer) These connect from the back of the sound card directly into the subwoofer. Green (front) black (rear) orange (center subwoofer)
    My old sound card RealTek`AC97 worked fine and I had sound in all my speakers. Yes I have removed the old card and un-installed the old drivers for it. Also the mircophone worked with the old sound card so I know thats not an issue. > Sorry for any inconvenience caused. > We'll need this information so that we can provide you with the correct remedy.
    Reply/Answers Again Inline:
    > May I know have you enabled CMSS?Yes I have this enabled, disabled and re-enabled to try and get this to work. > . Open MediaSource (Start, All Programs, Creative, Creative MediaSource, Creative MediaSource >Organizer).> 2. There should be an EAX button underneath the Record button at the bottom of the screen, towards >the left. Beside this button, there should be a small ellipsis button (. . .) that you can press. >Click on this. Doing this locks up my pc as soon as I hit the (....) tab. The pc spikes to 00% and the only thing I can do is hit the reset button on the pc to hard boot it. I have tried this several times with the same results. Note: I DO NOT have anything running in the background as anti virus programs and such. I don't even have anything like that installed on my pc. NOTE: I can press the EAX button itself to make it from high lighting green on the button to not high lighting green. This has had no effect on the problems I am having. > 3. Go to the CMSS 3D tab and check the box next to "Enable CMSS 3D" The only way I can get to this is by: Start>Program Files>Creative Media>Source>Creative Media Source Go, then the GO button>Product Settings>EAX Console. I have enabled, disabled and re-enable the CMSS 3D with no changes to my problem.> 4. Place a dot next to either CMSS or CMSS2. Whichever sounds better to you. I have tried CMSS and CMSS2, I have the same results with either enabled or even with CMSS 3D enabled or disabled. I only get sound out of 2 of my speakers. I know its not the speaker system (Creative Inspire P5800) because all the speakers worked with my old sound card. > It is important to remember that if you do wish to play a 5. encoded file, you will need to turn CMSS >off. Otherwise you might not receive each discreet channel. This has been Noted ref. to 5. encoded. But I would like to just play anything at this time and have all my speakers work.
    > For your microphone, I wil need you to do a mic test.>CHOOSE THE RECORDING SOURCE> . Double click on the Windows Volume Control (generally on task bar) to load the mixer> 2. Go to Options > Properties > 3. Select adjust volume for: Recording, and hit OK> 4. Place a check mark under the proper recording source (Microphone) in the Recording Control box. Done, already checked this. And doubled checked it to make sure. > TEST RECORD THE AUDIO> . Go to Start > Programs > Accessories > Multimedia > Sound Recorder.> 2. Click the Record button (red dot)> 3. Talk into the microphone > 4. Let it record the source for a little bit> 5. Hit the Stop button (black square)> 6. Hit the Play button (single black arrow pointing right)> 7. You should now hear the audio that you recordedNo sound recorded what so ever. I tested 3 different mircophones and none worked. I ran this test on the two other pc's I have at my residence and the mircophones worked and windows recorded just fine. YesI have it plug into the proper slot. > Does it help?I wished it did. > Please get back to us on your findings. Thanks.
    Reply/Answers inline:
    Dear Creative Labs,DO YOU PEOPLE EVEN READ THE PRIOR CORESPONDCE FROM THE PRIOR E-MAILS SINCE YOU APPARENTLY HAVE MUTLITPLE PEOPLE WORKING THE SAME SUPPORT TICKETS.
    I WILL REPLY IN ?CAPS? TO MAKE SURE YOU DON?T MISS ANYTHING THIS TIME??. MY REPLIES ARE INLINE AND IN CAPS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    > Thanks for the reply. I need you to know that SB0240 is the Sound Blaster Audigy 2. AS STATED IN MY PRIOR E-MAIL YES IT IS AN AUDIGY 2 SOUND CARD SEE INFORMATION BELOW. Support Inquiry: ID() I am installing or using the product for the first timeProduct: Audigy 2Model: SB0240Blaster Audigy 2 Sound Card http://cgi.ebay.com/ws/eBayISAPI.dll...92950&tc=photo ARE WE CLEAR ON THIS NOW? > Please try the following cleansweep and re-installation procedure, to see if it works:-> . Click START / RUN / Type MSCONFIG and press ENTER. AS STATED BEFORE I AM RUNNING WINDOWS 2000 MSCONFIG.EXE DOES NOT COME WITH WINDOWS 2000 AS DEFAULT. SO TO MAKE SURE I FOLLOWED YOUR DIRECTIONS TO THE ?T? I WAS ABLE TO GET THE MSCONFIG.EXE MICROSOFT. THE COMMON USER WOULD NOT HAVE KNOWN THIS AS THEY WOULD HAVE TRIED ABOVE AND GOTTEN AN ERROR MSG THAT MSCONFIG COULD NOT BE FOUND. > 2. Insert a check to the left of SELECTIVE STARTUP and deselect 'LOAD STARTUP ITEMS'. DONE! > 3. Select the SERVICES tab and select HIDE ALL MICROSOFT SERVICES. DONE! > 4. Uncheck all results and click OK. DONE! > 5. Click OK and reboot when prompted. DONE! > 6. Enable the WINDOWS XP STARTUP MENU by rebooting your computer and tapping F8 once >every second OR holding the SHIFT key while rebooting. I AM RUNNING WINDOWS 2000 AS STATED BEFORE, IF YOUR GOING TO USE TEMPLATES MAKE SURE THEY REFER TO THE OPERATING SYSTEM THE USER HAS. BUT F8 STILL IS THE DEFAULT KEY TO GET TO THE WINDOWS 2000 STARTUP MENU. > 7. When the menu is displayed, select SAFE MODE and press ENTER. DONE! > 8. Once in SAFE MODE, insert the sound card's installation CD and exit out of the installer DONE! > 9. Click START / RUN. DONE! > 0. Type "X:\AUDIO\DRIVERS\CTZAPXX.EXE into the OPEN field (replace X with the applicable CD->ROM dri've letter). DONE! > . Click OK. DONE! > 2. When the CREATIVE DRIVER UPDATE UTILITY opens, select DRIVER UNINSTALLATION under >UPDATE OPTION. DONE! > 3. If two out of the three options are disabled or grayed out under DRIVER TYPE, click OK. >Otherwise, select WDM. You will then be prompted to reboot, but please do not do so. DONE! > 4. Click START / SETTINGS / CONTROL PANEL / ADD/REMOVE PROGRAMS. DONE! > 5. Remove all Creative SB Audigy 2 programs. DONE! > 6. Close all windows, and reboot the computer normally (ENTER NORMAL MODE). DONE! > 7. The Audigy 2 will be detected by Windows. Cancel the ADD NEW HARDWARE WIZARD when >able. DONE! > In order to install your soundcard properly, I recommend you to ensure the following for the audio >installation and test:
    >- The card is the only card installed other than the Graphics card. THE ONLY CARDS THAT ARE INSTALLED ON MY PC ARE THE SOUNDCARD AND GRAPHICS CARD WHICH IS IN A APG SLOT. > - The card is at least one empty slot away from the Graphics card. THE CARD IS ON THE 3 SLOT FROM THE TOP AND SLOT FROM THE BOTTOM WITH NO OTHER CARDS INSTALLED. >- Place the soundcard away from all the others. NO OTHER CARDS ARE INSTALLED >- That the card is seated properly in the PCI slot. YES THE CARD IS PROPERLY SEATED THIS A BASIC A+ CERTIFICATION TASK >- Move the PC's internal wires away from the soundcard. NO WIRES ARE NEAR THE SOUND CARD I.E. POWER CONNECTORS > - That the on-board sound on your motherboard is disabled through the BIOS. CORRECT THIS WAS DONE BEFORE INSTALLING THE SOUND CARD > - That the on-board gameport is disabled through the BIOS. CORRECT THIS WAS DONE BEFORE INSTALLING THE SOUND CARD >- That your motherboard BIOS is up-to-date. MOTHERBOARD IS RUNNING THE LATEST BIOS, ITS ONLY 2 MONTHS OLD. > - That the operating system is up-to-date with the latest service packs and patches. WINDOWS UPDATES ARE UP TO DATE WITH THE LATEST PATCHES > - That there are no background applications open when you attempt the solution. CORRECT AS I STATED BEFORE > - That the anti-virus program is disabled. > NONE LOADED ON THE PC AS I STATED BEFORE > - That if you are over-clocking your system, return all options to their recommended settings. I HAVE NEVER OVERCLOCKED ANY OF MY PC?S > - That you access the PC with administrator rights. CORRECT I AM THE ONLY USER > 8. Perform an installation via the CTRUN program on the CD (X:\CTRUN\CTRUN.EXE where X is the >dri've letter of your CD dri've that has the installation CD). DONE! > 9. Reboot if prompted. DONE! > 20. Please obtain the latest updates for your Audigy 2 card from our website:- http://us.creative.com//support/downloads/
    DONE! > 2. Once you are prompted to OPEN FROM CURRENT LOCATION or SAVE TO DISK, select SAVE >TO DISK and download the update to MY DESKTOP.
    DONE! > 22. When the file has completed the phase of being transferred to your computer, locate the file on >your desktop and double click the file. DONE! > Do a speaker and diagnostic test. Do you have 5. output? DO I HAVE 5. OUTPUT? NO STILL THE SAME PROBLEM > I also need you to check the Speaker selection setting in Start | Programs| Creative | Sound Blaster >Audigy 2 | Creative Surround Mixer and ensure that it is set to 5. Speakers. Also set 5. at the Control CORRECT SEE LINKS FOR DESKTOP PICTURES http://vibig.rachost.com/desktop/DESK.jpghttp://vibig.rachost.com/desktop/DESK2.jpghttp://vibig.rachost.com/desktop/DESK3.jpg > Panel Speaker Settings.> On speaker systems that are equipped with a Fader or Rear channel volume controls, check to see >that these controls have not been set to use the front channels exclusi'vely. CHECKED! > Do reply back to me if you are still having problems with any error messages prompted. Thanks.
    > PLEASE READ! AFTER FOLLOWING THE ABOVE INSTRUCTIONS! I REFERED BACK TO THE PRIOR E-MAIL AND DID THE TEST AS REQUESTED THE RESULTS WERE THE SAME WITH MINOR FIX. > . Open MediaSource (Start, All Programs, Creative, Creative MediaSource, Creative MediaSource >Organizer).> 2. There should be an EAX button underneath the Record button at the bottom of the screen, towards the left. Beside this button, there should be a small ellipsis button (. . .) that you can press. Click on this. > > Doing this locks up my pc as soon as I hit the (....) tab. The pc spikes to 00% and the only thing I >>can do is hit the reset button on the pc to hard boot it. I have tried this several times with the same >>results. THIS NO LONGER LOCKS UP MY PC, I AM ABLE TO HIT THE (?) AND IT BRINGS UP THE EAX CONSOLE SCREEN TO ENABLE CMSS 3D THIS HAS BEEN ENABLED ? DISABLED ? RE-ENABLED WITH THE SAME RESULTS. > CHOOSE THE RECORDING SOURCE> . Double click on the Windows Volume Control (generally on task bar) to load the mixer> 2. Go to Options > Properties > 3. Select adjust volume for: Recording, and hit OK> 4. Place a check mark under the proper recording source (Microphone) in the Recording Control box. > > Done, already checked this. And doubled checked it to make sure. > TEST RECORD THE AUDIO> . Go to Start > Programs > Accessories > Multimedia > Sound Recorder.> 2. Click the Record button (red dot)> 3. Talk into the microphone > 4. Let it record the source for a little bit> 5. Hit the Stop button (black square)> 6. Hit the Play button (single black arrow pointing right)> 7. You should now hear the audio that you recorded > > No sound recorded what so ever. I tested 3 different mircophones and > > none worked. I ran this test on the two other pc's I have at my > > residence and the mircophones worked and windows recorded just fine. Yes> > I have it plug into the proper slot. THIS IS STILL AND ISSUE AS IT STILL DOES NOT WORK. THE SPEAKERS ARE STILL NOT WORKING RIGHT AS I ONLY CAN GET SOUND OUT OF THE FRONT 2 SPEAKERS.NOTHING HAS CHANGED AS WE ARE BACK TO SQUARE ONE AGAINIf someone could help me or shed some light on this situation I would be very grateful. !!!
    Thanks,
    Capt.

    Support have to go over some things first to make sure you've tried them. If it hasn't helped, just mail them back and let them know. It sounds like like you have the settings correct (CMSS, 5. in speaker selection), so there must be something wrong in the installation or configuration of the software.
    The CleanBoot troubleshooting page on Microsoft's Kbase might help, although, it sounds like you covered a clean install aswell so that would normally help.
    These forums are for user-to-user interaction, rather than Support from Creative. We monitor these forums and reply to some posts, but we can't reply to every topic and offer everyone support (that's what the phone and e-mail support are for).
    Cat

  • A little help for a newbie?

    Hi, I am currently a newby in developing apps, It got to my ears that a little TV channel has a competition on creating an app to view their webpage without using safari browser...I would like to get some help with that, if that is possible!Thanks!

    or, just find the PhoneBook constructor, and newthat
    sucker.That depends on what the constructor does (it
    shouldn't do any more than initialize the instance)
    and what instance methods there are. He wants on
    program to cause another one to do what's currently
    in that second one's main.
    I agree that in general it's probably a better idea
    to creat a phone book and ask it to do things, but
    just constructing one won't necessarily work for the
    OP with his current code.Hmmm. I have to think about this a little. It seems to me that it depends on how much application logic resides in the main class, and how the OP wants to interface. If all he can do is call main, then he has little programmatic control, since the interface is defined by the public methods. Unless all he wants to do is start it up, and then interface by way of the GUI.

  • Need help for creating sharepoint sites for both internet and intranet users

    We would like to know what is the best approach to create SharePoint sites for our customers(internet users) and internal employees(intranet users) on the same SharePoint server. Here is the scenario:
    1) A customer posts a document from internet.
    2) This triggers a approval workflow that can only be accessed and executed in the intranet environment. This approval process requires approval's possible modifications to the customer's document.
    3) We would like the customer not to able to check the approval state and the modified document until the document is fully approved and finalized.
    We are pondering if we need to create two sites, one site for customer and the other site is for internal approvers. Or one site is possible. It also looks like we need to somehow copy customer's original document to intranet site and triggers the workflow.
    Any design ideas are helpful. Thank you advance!

    Hi Jason,
    Though it is perfectly possible to have both intranet and internet on the server, it is not a recommended practice. Having both on the same server would have multiple problems, instead me detailing it out, here is a forum thread on which Trevor had given
    enough reasons -
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/9b550c33-6f5f-4cd9-8762-8ff389b747d9/sharepoint-2013-one-farm-to-host-intranet-extranet-internet?forum=sharepointadmin
    If you have valid reason to go with single server, then you can also explore email enabled lists as one option and another one would be using custom sharepoint designer workflow.
    you can also try using event receivers to send documents to intranet site from internet site, process everything and update the document in the internet site.
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if the reply helps you

  • Help for optimizing a procedure

    Hi,
    I have a store procedure which take a very long time to be executed
    I have three table :
    dm3_comme_back_tmp
    dm3_societe
    dm3_contact
    dm3_comme_back_tmp is the result of a lerge excel files (about 100.000 rows)
    Actually i want to set a flag to "0" ("visible" field) if an "societe_id" or a "cid" exist in dm3_societe or dm3_contact but not in dm3_comme_back_tmp
    So i open a cursor on both dm3_societe or dm3_contact and for each row if there is not a corespondance in dm3_comme_back_tmp i set the visible flag to "0".
    her is the procedure :
    create or replace PROCEDURE update_visibilite
    AS
    BEGIN
    --Met le champ visible à 0 si la sosiété ou le contact n'est plus dans la base commebavk
    DECLARE
    v_count number;
    BEGIN
    --maj societe
    FOR cl in (
    select s.societe_id ID
    from dm3_societe s
    where s.societe_id > 0
    LOOP
    select count(*)
    into v_count
    from dm3_comme_back_tmp
    where societe_id = cl.ID;
    if v_count = 0 then
         update dm3_societe
         set visible = 0
         where societe_id = cl.ID;
    end if;
    END LOOP;
    --maj_contact
    FOR cl in (
    select c.id_contact_cb CID
    from dm3_contact c
    where c.id_contact_cb is not null
    LOOP
    select count(*)
    into v_count
    from dm3_comme_back_tmp
    where cid = cl.CID;
    if v_count = 0 then
         update dm3_contact
         set visible = 0
         where id_contact_cb = cl.CID;
    end if;
    END LOOP;
    END;I want two know if there is a way to optimize this procedure.
    Thx

    This should reduce the number of instructions for sure. And it avoids to unneeded writes on the tables.
    /*not correct*/
    update dm3_societe
    set visible=0
    where (visible is null or visible <> 0)
         and (
              societe_id NOT IN (select societe_id from dm3_comme_back_tmp)
              or id_contact_cb NOT IN (select cid from dm3_comme_back_tmp)
         );Bye Alessandro

  • Help for creating a GREP

    As part of my job i create newspapers, i receive articles with footnotes marked this way: Example(2,4,14) / Example2(5).
    I want to create a GREP that change the numbers and commas inside the brackets (only brackets with numbers) to small footnotes, and if possible, delete the brackets.
    From this Example(2,4) to this Example2,4.
    Here is what i come up with: \([/d,])*
    but it dosent work right, can you help please?
    Second, the articles are in hebrew and english, i want a way to change the font style only for english, how can i do it?
    Regards,
    Avi.

    For Example(2,4,14)
    try:
    Find what: \((\d+,\d+,?\d+)\)
    Change to: $1
    For Example (5)
    Find what: \((\d)\)
    Change to: $1

  • Lsmw help for creating PO

    hi all,
    We are using std batch input program to create PO for lsmw.
    however, field "tracking number" of Me21 transaction is not part of the std batch input program strucuture and on the screen its a required field.
    Please help me on how to include this during load.is there any other alternative?
    jigs

    Hi,
    For Windows 7:
       http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&​lc=en&docname=c01867124
    For Windows 8:
      http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&​lc=en&docname=c03481733
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Need help for creating class

    i m designing a class named Fan to represent a fan. the class contains:
    Three constants name slow, medium, and fast with values 1, 2 and 3 to denote the fan speed.
    an int data field named speed that specifies the speed of fan(default slow)
    an boolean data field named on that specifies whether the fan is on(default false)
    a double data field named radius that specifies the radius of the fan(default 5)
    a string data field named color that specifies the color of the fan(default blue)
    so here is what i want, a method named toString(that returns the fan speed, color and radius in one combined string.if the fan is not on. the method returns fa n color and radius along with string "fan is off" in one combined string.
    and a test program creates two fan objects assign maximum speed, radius 10, color yellow, and turn it on to the first object. assign medium speed, radius 5, color blue, and tun it off to the second object.
    after i created my two objects this is my output
    speed1 is slow, the fan is off, the radius is5.0Blue
    speed2 is slow, the fan is off, the radius is5.0Blue
    its not the result i want, i know there r somethin wrong with the if statement and the method..but i cannot fix it.
    Thank everyone who can give me some tips or help.
    here is my class
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package javaapplication1;
    * @author Administrator
    public class Fan {
        private int speed;
        private boolean on;
        private double radius;
        private String color;
        Fan(int speen, boolean on, double raidus, String color)
            this.speed = 1;
            this.on = false;
            this.radius = 5.0;
            this.color = "Blue";
        public int getSpeed()
            return speed;
        public void setSpeed(int speed)
            this.speed = speed;
        public boolean isOn()
            return on;
        public void setIsOn(boolean on)
            this.on = on;
        public double getRadius()
            return radius;
        public void setRadius(double radius)
            this.radius = radius;
        public String getColor()
            return color;
        public void setColor(String color)
            this.color = color;
        public String fanSpeed()
            String output = "";
           if(speed == 1)
               return output = "slow";
           else if(speed == 2)
               return output = "Medium";
           else
               return output = "Fast";
        public String IsFanon()
            String output = "";
            if(on == false)
                return output = "the fan is off";
            else
                return output = "the fan is on";
    }Here is my main class
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package javaapplication1;
    * @author Administrator
    import javax.swing.JOptionPane;
    public class testFan {
         * @param args the command line arguments
        public static void main(String[] args) {
            Fan fan1 = new Fan(3, true, 10.0, "yellow");
            Fan fan2 = new Fan(2, false, 5.0, "blue");
            System.out.println("speed1 is" + "  " +fan1.fanSpeed() + ",  " + fan1.IsFanon() + ", " + "the radius is" +fan1.getRadius() + fan1.getColor());
            System.out.println("speed2 is" + "  " + fan2.fanSpeed() + ",  " + fan2.IsFanon() + ", " + "the radius is" + fan2.getRadius() + fan2.getColor());
    }

    Peter__Lawrey wrote:
    I would not suggest using a variable like "onoff". What would true mean, is it on or off or onoff (alternating)? e.g. an on-off relationship is one which is not clearly on or off for long.
    You could just use an IDE to generate the constructor which would be simpler, however if there is no good reason to have two names for parameters and fields I would make them the same.I was wondering what a "speen" is.

  • Please help for create index for table in db2

    Dear Consultants,
    Our Production Servers have a problem, when user input materials in t-code VA01, the check data take long time to complete.
    I was create a incident on SAP Portal and they recommended to create a new index on table:
    VBRP in the order MANDT, AUBEL and AUPOS.
    but we don't sure how to do this, please help us !
    The SAP consultant message:
    " It was identified that there is one SQL statement which was
    responsible for the majority of the time spent during the VA01
    transaction. It accounted for around 49 seconds.
    The SQL statement was analysed and a selectivity analysis was carried
    out on certain fields specified in the WHERE clause. The statement is
    currently executed via a full table scan which is not an efficient
    access. It is therefore recommended to create a new index on table
    VBRP in the order MANDT, AUBEL and AUPOS. "
    Our System Landscape IS : DEV -> QAS -> Production and DataBase server : db2 9.07 , SAP ECC 6.0, windows server 2008
    Thanks and Best Regards,
    Hien Nguyen

    Hi Deepak,
    Could you please tell me the places where can i post the message for ABAPer, i don't know to choose : ABAP Development , ABAP Testing and Troubleshoo… or somthing else
    Sorry for my amateur !
    Thanks you very much.
    Best Regards,
    Hien

Maybe you are looking for

  • Using SSO username/password in java portlet for Database Connection

    Hi all, We implemented java portlet with environment Oracle Application server 10.1.2 and Portal 10.1.4 At present we are picking the database username and password and connect string in properties and our java class is reading the properties file an

  • Power Problem with iMac Keyboard

    Hi All, I have an iMac G4 800Mhz Flat Panel 17". I have just purchased a new keyboard and mighty mouse. When putting my 1gb memory stick into the spare usb slot on the keyboard I get an error that there is not enough power.   Mac OS X (10.4.6)  

  • Soundbooth CS4 not picking up my isight camera

    Hi there, I am using a Mac pro with a firewire isight camera, however, I can't seem to get the mic to wok within Soundbooth - Can anyone shed any light please?

  • Secure remote login in scripts

    Hello, I stated this same question to also metalink discussion forum, so I'm cross posting a bit here. Sorry about that. I have a following business problem: I have two Solaris servers where in first (DBS-node) I have the database. In the other one (

  • I want to know VendorID of pci devices in system.

    Hi. I have a question. I want to display vendor ID & device ID of My pci devices in solaris system. in windows driver... #define VENDORID          0x1234      #define DEVICEID          0x5678      for( bus = 0 ; bus < 256 ; bus ++ ) for( slot = 0 ; s