Error in My Procedure

Hi Guys,
Error is my stord Proc still not yet resolved, though it my proc not efficient way to write but at the moment I have only this option write it.
create or replace
PROCEDURE PROC_SEC_SYNCH3 IS
DATATYP CHAR(10);
BEGIN
FOR LR_UPDATE IN (SELECT SSM_ID,CYCLE_DATE,DESTINATION_TABLE,COLUMN_NAME,NEW_DATA,COLUMN_TYPE
FROM TEST_SYNCH
ORDER BY DESTINATION_TABLE, COLUMN_NAME)
LOOP
EXECUTE IMMEDIATE 'SELECT DATA_TYPE INTO DATATYP FROM ALL_TAB_COLUMNS WHERE TABLE_NAME = '||LR_UPDATE.DESTINATION_TABLE|| 'AND COLUMN_NAME ='|| LR_UPDATE.COLUMN_NAME;
IF DATATYP ='VARCHAR2' THEN
EXECUTE IMMEDIATE 'UPDATE ' || lr_Update.destination_table ||' AS dest SET dest.'||lr_Update.column_name||' =
cast( (select src.new_data from test_synch src where src.ssm_id = '||lr_Update.destination_table||'.ssm_id;) as varchar2)
where src.ssm_id = '||lr_Update.destination_table||'.ssm_id';
END IF;
END LOOP;
COMMIT; --
END PROC_SEC_SYNCH3;
Error is
ORA-00933: SQL command not properly ended
ORA-06512: at "SCOTT.PROC_SEC_SYNCH3", line 9
ORA-06512: at line 2
not really sure why it is occuring, plz help me out.
Cheers.

Your code has lot of errors. I have modified. Go through the code and see if you can understand the changes i have done.
Let me know if you have any questions.
create or replace procedure proc_sec_synch3
is
     datatyp char(10);
     lSqlString varchar2(30000);
begin
     for lr_update in (
                  select ssm_id,cycle_date,destination_table,column_name,new_data,column_type
                    from test_synch
                   order by destination_table, column_name
     loop
          select data_type into datatyp
            from all_tab_columns
           where table_name = upper(lr_update.destination_table)
            and column_name = upper(lr_update.column_name);
          if datatyp ='varchar2' then
               lSqlString := 'update #TABLE# as dest
                           set #COLUMN# = cast(
                                          select src.new_data
                                            from test_synch src
                                           where src.ssm_id = #TABLE#.ssm_id
                                        ) as varchar2
                         where src.ssm_id = #TABLE#.ssm_id';          
               lSqlString := REPLACE(lSqlString, '#TABLE#', lr_update.destination_table);
               lSqlString := REPLACE(lSqlString, '#COLUMN#', lr_update.column_name);
               execute immediate lSqlString;
          end if;
     end loop;
     commit; 
end proc_sec_synch3;

Similar Messages

  • After installing a new version of Firefox, I get the error message "The procedure entry point JS_GetOperationLimit could not be located in the dynamic link library js3250.dll" when I try to start firefox. Elsewhere in the forum a complete reinstall is su

    After installing a new version of Firefox, I get the error message "The procedure entry point JS_GetOperationLimit could not be located in the dynamic link library js3250.dll" when I try to start firefox. Elsewhere in the forum a complete reinstall is suggested; however, I can't do that because of my company's IT policies. Is there any way to solve this problem WITHOUT a complete reinstall? Thank you!
    == This happened ==
    Every time Firefox opened
    == I installed a new version ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB6; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648)

    If you can't reinstall Firefox yourself then you need to contact your IT department and ask them to check the Firefox installation.
    It is possible that some files got broken with the latest update.

  • Error while executing procedure for excel upload

    Hi Friends
    Pl. find below error while executing procedure for loading excel data. pl. verify and suggest for any changes in the format of data.
    Rgds
    SriG

    If reading Excel as a database you would use "Access LSLINK"
    Access external means you are reading a file. I don't think it is possible to treat Excel as a file because the internal structure is complex.
    In the past I have saved the Excel as a CSV or as a Tab delimeted file. Then I use something like
    ACCESS External
      USE &filename
      BEGIN
        DESCRIPTION free ,
        Variables text 20
        Organisation text 20
        'July 2008' numeric 20
        'August 2008' numeric 20
        'September 2008' numeric 20
        'October 2008' numeric 20
        'November 2008' numeric 20
        'December 2008' numeric 20
        'January 2009' numeric 20
        'February 2009' numeric 20
        'March 2009' numeric 20
        'April 2009' numeric 20
        'May 2009' numeric 20
        'June 2009' numeric 20
      END
      peek
      read
    ... quit the access sub system
    END

  • My problem is on my Windows PC.  I am getting the error message, "The procedure entry point sqlite_3_wal_checkpoint could not be located in the dynamic link library SQLite3.dll.  I am told this is related to iTunes.  Any help?

    I use both a Mac and a PC.  My problem is on my Windows 7 PC.  I am getting the error message, "The procedure entry point sqlite_3_wal_checkpoint could not be located in the dynamic link library SQLite3.dll.  I am told this is related to iTunes.  Any help out there?  Thanks

    With Windows Explorer, navigate to your C:\Program Files\Common Files\Apple\Apple Application Support folder.
    Copy the SQLite3.dll that you should find there, navigate to the nearby Mobile Device Support folder, and Paste it in there also.
    Restart the programme all should be well
    In case that your OS is (64 bit)
    1. Open windows explorer, go to location C:\Program Files (x86)\Common Files\Apple\Apple Application Support
    2. Copy file "SQLite3.dll"
    3. Now paste it in the folder  C:\Program Files (x86)\Common Files\Apple\Mobile Device Support
    4. Restart the programme, it should not display that message, it should be clear.
    Good Luck

  • I downloaded the latest version of itunes.  Now I cannot open iTunes.  I receive this error message: The procedure entry point AVCFAssetCreateWithByteStreamAndOptions could not be located in the dynamic link library AVfoundationCF.dll.  Thoughts?

    I downloaded the latest version of iTunes on my PC.  Now I cannot open iTunes.  I receive the following error message: "The procedure entry point AVCFAssetCreateWithByteStreamAndOptions could not be located in the dynamic link library AVfoundationCF.dll"  After pressing the "OK" button I receive a second error message: 'iTunes not installed correctly.  Please reinstall iTunes.  Error 7 (Windows error 127)".  I've uninstalled iTunes and reinstalled to no avail.  I've also eliminated the temp files (per suggestions on the trouble-shooting page) and no luck.  I also tried system restore and that did not fix the problem.  Any thougths on a repair?   

    Taken at face value, you're having trouble with an Apple Application Support program file there. (Apple Application Support is where single copies of program files used by multiple different Apple programs are kept.)
    Let's try something relatively simple first. Restart the PC. Head into your Add or Remove Programs control panel, select "Apple Application Support", click "Change" and then click "Repair".
    If no joy after that, try the more rigorous uninstall/reinstall procedure from the following post. (Although the procedure is for Vista and 7 and you've got XP, just read "Computer" as "My Computer", read "Uninstall a program control panel" as "Add or Remove programs control panel" and assume the system is 32-bit, and you'll be doing the right things.)
    Re: I recently updated to vista service pack 2 and I updated to itunes 10.2.1 and ever since I did that my itunes won't open any more.  Itunes starts but before anything loads a

  • Error: The specified procedure could not be found

    Apparently the password expired on my Windows 7 BETA installation. Upon restart the system notifies me and asks for a new password. After confirming the password I get the error:
    "The specified procedure could not be found"
    I cannot log in at this point. The old password won't let me in and I can't change it. The administrator account I found is disabled by default.
    Is there any way to log in?

    Okay, here is your dilemma.
    You cannot login to your only account and the local administrator account is in its default disabled mode.
    There is a solution, albeit totally unsupported.  Go to http://www.sysresccd.org/Main_Page and download the latest SystemRescueCd.  Burn a CD from the ISO.  When you boot with the SystemRescue CD, you will type ntpass and hit <enter>.  From there, make sure you read the screens.  You will have make selections depending on how you loaded Windows 7 (clean vs. upgrade vs. dual boot, etc).  Using this disk, you CAN enable the local administrator’s account and login in.
    I just did the procedure using Windows 7, build 7000 with SystemRescueCd 1.1.6.
    Good luck.

  • Error in the procedure

    please find the error in the procedure
    CREATE OR REPLACE PROCEDURE MIS_TEST_3 AS
    CURSOR C2 IS SELECT EMP_PAY,EMP_GRD_PAY,EMP_BASIC FROM EMP_VIEW WHERE EMP_PAY_MONTH='FEB' AND EMP_PAY_YEAR='2011' AND EMP_CAT=5 ORDER BY EMP_NO;
    V_PAY NUMBER(12);
    V_GRD_PAY NUMBER(12);
    V_BASIC NUMBER(12);
    V_PAY_PAGE NUMBER(20);
    V_GRD_PAY_PAGE NUMBER(20);
    V_BASIC_PAGE NUMBER(20);
    V_PAY_LAST NUMBER(20);
    V_GRD_PAY_LAST NUMBER(20);
    V_BASIC_LAST NUMBER(20);
    I INTEGER;
    PAGE INTEGER;
    BEGIN
    OPEN C2;
    I:=0;
    V_PAY:=0;
    V_GRD_PAY:=0;
    V_BASIC:=0;
    V_PAY_PAGE:=0;
    V_GRD_PAY_PAGE:=0;
    V_BASIC_PAGE:=0;
    V_PAY_LAST:=0;
    V_GRD_PAY_LAST:=0;
    V_BASIC_LAST:=0;
    PAGE:=1;
    LOOP
    EXIT WHEN C2%NOTFOUND;
    FETCH C2 INTO V_PAY,V_GRD_PAY,V_BASIC ;
    DBMS_OUTPUT.PUT_LINE(LPAD(V_PAY,15,' '),LPAD(V_GRD_PAY,15,' '),LPAD(V_BASIC,15,' '));
    I:=I+1;
    V_PAY_PAGE:=V_PAY_PAGE+V_PAY;
    V_GRD_PAY_PAGE:=V_GRD_PAY_PAGE+V_GRD_PAY;
    V_BASIC_PAGE:=V_BASIC_PAGE+V_BASIC;
    V_PAY_LAST:=V_PAY_LAST+V_PAY;
    V_GRD_PAY_LAST:=V_GRD_PAY_LAST+V_GRD_PAY;
    V_BASIC_LAST:=V_BASIC_LAST+V_BASIC;
    IF MOD (I,10)=0 THEN
    DBMS_OUTPUT.PUT_LINE('------------------------------------------------------------------------------------------------------------------------------------------------------');
    DBMS_OUTPUT.PUT_LINE('SUB TOTAL PAGE '||PAGE||' '||LPAD(V_PAY_PAGE,15,' '),LPAD(V_GRD_PAY_PAGE,15,' '),LPAD(V_BASIC_PAGE,15,' '));
    DBMS_OUTPUT.PUT_LINE('-------------------------------------------------------------------------------------------------------------------------------------------------------');
    PAGE:=PAGE+1;
    V_PAY_PAGE:=0;
    V_GRD_PAY_PAGE:=0;
    V_BASIC_PAGE:=0;
    END IF;
    END LOOP;
    DBMS_OUTPUT.PUT_LINE('-----------------------------------------------------------------------------------------------------------------------------------------------------');
    DBMS_OUTPUT.PUT_LINE('SUB TOTAL PAGE '||PAGE||' '||LPAD(V_PAY_PAGE,15,' '),LPAD(V_GRD_PAY_PAGE,15,' '),LPAD(V_BASIC_PAGE,15,' '));
    DBMS_OUTPUT.PUT_LINE('---------------------------------------------------------------------------------------------------------------------------------------------------');
    DBMS_OUTPUT.PUT_LINE('GRAND TOTAL '|| LPAD(V_PAY_LAST,15,' '),LPAD(V_GRD_PAY_LAST,15,' '),LPAD(V_BASIC_LAST,15,' '));
    DBMS_OUTPUT.PUT_LINE('---------------------------------------------------------------------------------------------------------------------------------------------------');
    END ;

    user9950484 wrote:
    please find the error in the procedure
    CREATE OR REPLACE PROCEDURE MIS_TEST_3 AS
    CURSOR C2 IS SELECT EMP_PAY,EMP_GRD_PAY,EMP_BASIC FROM EMP_VIEW WHERE EMP_PAY_MONTH='FEB' AND EMP_PAY_YEAR='2011' AND EMP_CAT=5 ORDER BY EMP_NO;
    V_PAY NUMBER(12);
    V_GRD_PAY NUMBER(12);
    V_BASIC NUMBER(12);
    V_PAY_PAGE NUMBER(20);
    V_GRD_PAY_PAGE NUMBER(20);
    V_BASIC_PAGE NUMBER(20);
    V_PAY_LAST NUMBER(20);
    V_GRD_PAY_LAST NUMBER(20);
    V_BASIC_LAST NUMBER(20);
    I INTEGER;
    PAGE INTEGER;
    BEGIN
    OPEN C2;
    I:=0;
    V_PAY:=0;
    V_GRD_PAY:=0;
    V_BASIC:=0;
    V_PAY_PAGE:=0;
    V_GRD_PAY_PAGE:=0;
    V_BASIC_PAGE:=0;
    V_PAY_LAST:=0;
    V_GRD_PAY_LAST:=0;
    V_BASIC_LAST:=0;
    PAGE:=1;
    LOOP
    EXIT WHEN C2%NOTFOUND;
    FETCH C2 INTO V_PAY,V_GRD_PAY,V_BASIC ;
    DBMS_OUTPUT.PUT_LINE(LPAD(V_PAY,15,' '),LPAD(V_GRD_PAY,15,' '),LPAD(V_BASIC,15,' '));
    I:=I+1;
    V_PAY_PAGE:=V_PAY_PAGE+V_PAY;
    V_GRD_PAY_PAGE:=V_GRD_PAY_PAGE+V_GRD_PAY;
    V_BASIC_PAGE:=V_BASIC_PAGE+V_BASIC;
    V_PAY_LAST:=V_PAY_LAST+V_PAY;
    V_GRD_PAY_LAST:=V_GRD_PAY_LAST+V_GRD_PAY;
    V_BASIC_LAST:=V_BASIC_LAST+V_BASIC;
    IF MOD (I,10)=0 THEN
    DBMS_OUTPUT.PUT_LINE('------------------------------------------------------------------------------------------------------------------------------------------------------');
    DBMS_OUTPUT.PUT_LINE('SUB TOTAL PAGE '||PAGE||' '||LPAD(V_PAY_PAGE,15,' '),LPAD(V_GRD_PAY_PAGE,15,' '),LPAD(V_BASIC_PAGE,15,' '));
    DBMS_OUTPUT.PUT_LINE('-------------------------------------------------------------------------------------------------------------------------------------------------------');
    PAGE:=PAGE+1;
    V_PAY_PAGE:=0;
    V_GRD_PAY_PAGE:=0;
    V_BASIC_PAGE:=0;
    END IF;
    END LOOP;
    DBMS_OUTPUT.PUT_LINE('-----------------------------------------------------------------------------------------------------------------------------------------------------');
    DBMS_OUTPUT.PUT_LINE('SUB TOTAL PAGE '||PAGE||' '||LPAD(V_PAY_PAGE,15,' '),LPAD(V_GRD_PAY_PAGE,15,' '),LPAD(V_BASIC_PAGE,15,' '));
    DBMS_OUTPUT.PUT_LINE('---------------------------------------------------------------------------------------------------------------------------------------------------');
    DBMS_OUTPUT.PUT_LINE('GRAND TOTAL '|| LPAD(V_PAY_LAST,15,' '),LPAD(V_GRD_PAY_LAST,15,' '),LPAD(V_BASIC_LAST,15,' '));
    DBMS_OUTPUT.PUT_LINE('---------------------------------------------------------------------------------------------------------------------------------------------------');
    END ;Hi,
    Have you executed above procedure?? If so ,then please post the error what you are getting??
    Regards,
    Achyut

  • Error Creating VM on 2011 iMac - The Hyper-V Virtual Machine Management service encountered an unexpected error: The remote procedure call failed. (0x800706BE).

    I am running Hyper-V in Windows 8.1 on a late 2011 27 inch iMac. Whenever I try to create a virtual machine I get the error below and Windows warns that it will restart in 1 minute. I tried a clean install of Windows, but my PC still crashes ever
    time I try to create a VM. I was able to successfully use Hyper-V in prior versions of Windows on this same PC. Any clue as to what is going on? A driver? Windows 8.1? Mac Hardware related?
    I see the following two entries in event viewer but have no other clue as to what is happening:
    Log Name:      Microsoft-Windows-Hyper-V-VMMS-Admin
    Source:        Microsoft-Windows-Hyper-V-VMMS
    Date:          1/10/2014 10:48:46 AM
    Event ID:      16000
    Task Category: None
    Level:         Error
    Keywords:     
    User:          SYSTEM
    Computer:      Charles-PC.CHARLESPOOL.local
    Description:
    The Hyper-V Virtual Machine Management service encountered an unexpected error: The remote procedure call failed. (0x800706BE).
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-Hyper-V-VMMS" Guid="{6066F867-7CA1-4418-85FD-36E3F9C0600C}" />
        <EventID>16000</EventID>
        <Version>0</Version>
        <Level>2</Level>
        <Task>0</Task>
        <Opcode>0</Opcode>
        <Keywords>0x8000000000000000</Keywords>
        <TimeCreated SystemTime="2014-01-10T15:48:46.770451300Z" />
        <EventRecordID>58</EventRecordID>
        <Correlation />
        <Execution ProcessID="2488" ThreadID="8704" />
        <Channel>Microsoft-Windows-Hyper-V-VMMS-Admin</Channel>
        <Computer>Charles-PC.CHARLESPOOL.local</Computer>
        <Security UserID="S-1-5-18" />
      </System>
      <UserData>
        <VmlEventLog xmlns:auto-ns2="http://schemas.microsoft.com/win/2004/08/events" xmlns="http://www.microsoft.com/Windows/Virtualization/Events">
          <ErrorMessage>%%2147944126</ErrorMessage>
          <ErrorCode>0x800706BE</ErrorCode>
        </VmlEventLog>
      </UserData>
    </Event>
    Log Name:      Microsoft-Windows-Hyper-V-VMMS-Admin
    Source:        Microsoft-Windows-Hyper-V-VMMS
    Date:          1/10/2014 10:48:46 AM
    Event ID:      16010
    Task Category: None
    Level:         Error
    Keywords:     
    User:          SYSTEM
    Computer:      Charles-PC.CHARLESPOOL.local
    Description:
    The operation failed.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-Hyper-V-VMMS" Guid="{6066f867-7ca1-4418-85fd-36e3f9c0600c}" />
        <EventID>16010</EventID>
        <Version>0</Version>
        <Level>2</Level>
        <Task>0</Task>
        <Opcode>0</Opcode>
        <Keywords>0x8000000000000000</Keywords>
        <TimeCreated SystemTime="2014-01-10T15:48:46.773497100Z" />
        <EventRecordID>59</EventRecordID>
        <Correlation />
        <Execution ProcessID="2488" ThreadID="8704" />
        <Channel>Microsoft-Windows-Hyper-V-VMMS-Admin</Channel>
        <Computer>Charles-PC.CHARLESPOOL.local</Computer>
        <Security UserID="S-1-5-18" />
      </System>
      <ProcessingErrorData>
        <ErrorCode>15005</ErrorCode>
        <DataItemName>Parameter0</DataItemName>
        <EventPayload>
        </EventPayload>
      </ProcessingErrorData>
    </Event>

    Hi CharlesPool,
    I am assuming that the win8.1 is in-place updated from win8 .
    Maybe you need to check the state of hypervisorlaunchtype .
    If it is off , please run command " bcdedit /set hypervisorlaunchtype auto "
    Best Regards
    Elton Ji
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • I just tried updating to iTunes 10.7 on my pc and when I try to launch it I get this error message-The procedure entry point AVCFPlayerSetDirect3DDevice could not be located in the dynamic library AVFoundationCF.dll.  Any Ideas?

    I just tried updating to iTunes 10.7 and when I try to launch it I get this error message-The procedure entry point AVCFPlayerSetDirect3DDevice could not be located in the dynamic library AVFoundationCF.dll.  Them it tells me to re-install iTunes and the same thing happens again.  Any Ideas?

    Taken at face value, you're having trouble with an Apple Application Support program file there. (Apple Application Support is where single copies of program files used by multiple different Apple programs are kept.)
    Let's try something relatively simple first. Restart the PC. If you're using Vista or 7, now head into your Uninstall a program control panel, select "Apple Application Support" and then click "Repair". If you're using XP, head into your Add or Remove Programs control panel, select "Apple Application Support", click "Change" and then click "Repair".
    If no joy after that, try the more rigorous uninstall/reinstall procedure from the following post. (If you've got XP, although the procedure is for Vista and 7, just read "Computer" as "My Computer", read "Uninstall a program control panel" as "Add or Remove programs control panel" and assume the system is 32-bit, and you'll be doing the right things.)
    Re: I recently updated to vista service pack 2 and I updated to itunes 10.2.1 and ever

  • Recently tried to update iTunes 12.0.1 and got this error message:  The procedure entry point ADAdPolicyEngine_DidEnterStation could not be located in the dynamic link library iAdCore.dll.

    I recently tried to update iTunes to 12.0.1 and got this error message:
    The procedure entry point ADAdPolicyEngine_DidEnterStation could not be located in the dynamic link library iAdCore.dll.
    After that, I get:  iTunes did not install properly.  Reinstall iTunes.
    I tried downloading iTunes again (without uninstalling it) and it won't download.
    Any suggestions?

    Thanks so very much, I have been looking for an answer to this for
    almost a week and just thought i'd look again and in 2 minutes my iTunes opened YIPPEE
    I must have installed deleted everything in order at least 15 times
    Is there anyways this cane get pinned to stay at top as it works and save people ploughing
    through post after post which is just asking the same question.
    Off to back up and I Cloud back up and see how it works without sidebar
    again thank you

  • Updated iTunes to 12.0.1 on XP after updated recieved error message "The procedure entry point ADAdPolicyEngine_DidEnterStation could not be located in the dynamic link dll" "itune not installed correctly error 7 (windows 127). reinstalled same error

    updated iTunes to 12.0.1 on XP after updated recieved error message "The procedure entry point ADAdPolicyEngine_DidEnterStation could not be located in the dynamic link dll" "itune not installed correctly error 7 (windows 127). reinstalled same error. Tried suggested steps
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall press on)
    Bonjour
    Apple Application Support
    Still getting same error message. Can anyone help me

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    tt2

  • Sql server services give error the remote procedure call failed [0x800706be] in sql server 2008

    sql server services give error the remote procedure call failed [0x800706be] in sql server 2008.
    To resolve this issue, I executed the following mofcomp command in command prompt to re-register the *.mof files:
    mofcomp.exe "C:\Program Files (x86)\Microsoft SQL Server\100\Shared\sqlmgmproviderxpsp2up.mof".
    but it does not work.
    Plz give the exact soln to solve this error.

    sql server services give error the remote procedure call failed [0x800706be] in sql server 2008.
    To resolve this issue, I executed the following mofcomp command in command prompt to re-register the *.mof files:
    mofcomp.exe "C:\Program Files (x86)\Microsoft SQL Server\100\Shared\sqlmgmproviderxpsp2up.mof".
    but it does not work.
    Plz give the exact soln to solve this error.
    So when you tried starting SQL server service it gave the error right  ?  or when you click on SQL server services in SQL server configuration manager(SSCM) you get this error. Can you be more clear.  As far as I read your question it has something
    to do with permission. Close SSCM window and this time  right click on SQL server configuration manager and select run as administrator and check if you can see SQL server services
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Articles

  • Error message-- The procedure entry point ADiAdlD_AcquireMatchSlotIfNecessary could not be located in the dynamic link library C:\Program Files (x86)\iTunes\iTunes.dll

    Error message-- The procedure entry point ADiAdlD_AcquireMatchSlotIfNecessary could not be located in the dynamic link library C:\Program Files (x86)\iTunes\iTunes.dll

    See Troubleshooting issues with iTunes for Windows updates.
    Try the repair tip in the third box first.
    tt2

  • Compilation error while creating procedure

    Hi,
    I am getting compilation error while creating procedure
    CREATE OR REPLACE My_CHANGEDATE IS
    error_string VARCHAR2(400) := NULL;
    BEGIN
    Create table set_temp as select * from set;
    CURSOR c1 is
         SELECT a.SETNUM, b.CHANGEDATE from
         set a, setsp_t2 b
         where a.setnum = b.setnum
         and trunc(a.changedate) < trunc(b.CHANGEDATE);
    BEGIN
         FOR rec IN c1 LOOP
              UPDATE set SET changedate = rec.changedate
              WHERE setnum = rec.setnum;
              Insert into set_temp select * from set where setnum = rec.setnum;
              END LOOP;
         EXCEPTION
              WHEN NO_DATA_FOUND THEN
              NULL;
         WHEN OTHERS THEN
                   error_string := 'My_CHANGEDATE - '||SUBSTR(SQLERRM,1,350);
    DBMS_OUTPUT.PUT_LINE(error_string);
                   RAISE;
    END My_CHANGEDATE;

    I have taken your code and cleaned it up to be more readable. Please see the comments in the code.
    CREATE OR REPLACE My_CHANGEDATE
    IS
            error_string VARCHAR2(400) := NULL;
    BEGIN
            /* The only way to issue DDL in a procedure is to either user
             * DBMS_SQL or EXECUTE IMMEDIATE. Creating objects is generally
             * not needed or recommended in frequently run code.
            Create table set_temp as select * from set;    
            /* The cursor declarations need to go in the declaration section of the
             * procedure (between IS .. BEGIN).
            CURSOR c1 is                                   
            SELECT a.SETNUM, b.CHANGEDATE from
            set a, setsp_t2 b
            where a.setnum = b.setnum
            and trunc(a.changedate) < trunc(b.CHANGEDATE);
            BEGIN   /* Where is the END that goes with this begin? */
            /* Single record processing is generally not recommended. It is considered a "slow-by-slow" method. */
            FOR rec IN c1 LOOP
                    UPDATE set SET changedate = rec.changedate
                    WHERE setnum = rec.setnum;
                    Insert into set_temp select * from set where setnum = rec.setnum;
            END LOOP;
    EXCEPTION
            WHEN NO_DATA_FOUND THEN
                    NULL;
            WHEN OTHERS THEN
                    error_string := 'My_CHANGEDATE - '||SUBSTR(SQLERRM,1,350);
                    DBMS_OUTPUT.PUT_LINE(error_string);
                    RAISE;
    END My_CHANGEDATE;My general recommendations are as follows:
    1. Remove the CREATE TABLE from the procedure altogether.
    2. Don't use reserved words for object names (e.g. SET)
    3. Remove the record by record processing and consolidate it to a single UDPATE statement as follows (note untested):
    UPDATE  set s
    SET     changedate = (
                            SELECT  CHANGEDATE
                            FROM    SET A
                            ,       SETSO_T2 B
                            WHERE   A.SETNUM = B.SETNUM
                            AND     S.SETNUM = A.SETNUM
                            AND     TRUNC(A.CHANGEDATE) < TRUNC(B.CHANGEDATE)
    WHERE EXISTS(
                    SELECT  NULL
                    FROM    SET A
                    WHERE   A.SETNUM = S.SETNUM
                    )HTH!

  • Itunes not working on my laptop. It gives me an error meassage, "The procedure entry point dispatch_get_specific could not be located in the dynamic link library "

    itunes not working on my laptop. It gives me an error meassage, "The procedure entry point dispatch_get_specific could not be located in the dynamic link library "

    See Troubleshooting issues with iTunes for Windows updates.
    The issue seems similar to that in the first box though it would be nice to have the complete error message. Tearing out all iTunes components and reinstalling as given in the second box should resolve.
    tt2

  • ITunes gives me an error and asks for re-installation, the error is "The procedure entry point CMBlockBufferCopyDataBytes could not be located in the dynamic link library coreMedia.dll", and the iTunes can not be lunched any more

    iTunes gives me an error and asks for re-installation, the error is "The procedure entry point CMBlockBufferCopyDataBytes could not be located in the dynamic link library coreMedia.dll", and the iTunes can not be lunched any more.
    can you please help, as I also tried to re-install it but pr

    Entry point errors can often be fixed by deleting the offending dll, then repairing the component it is part of. CoreMedia.dll is part of Apple Application Support.
    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    If the advice above doesn't resolve things you could try this alternate version:
    iTunes 12.1.0.71 for Windows (64-bit - for older video cards) - itunes64setup.exe (2015-01-28)
    which is a 64-bit installer for the 32-bit version of the core application, similar to previous 64-bit releases.
    Or roll back to the previous build:
    iTunes 12.0.1.26 for Windows (32-bit) - iTunesSetup.exe (2014-10-16)
    iTunes 12.0.1.26 for Windows (64-bit) - iTunes64Setup.exe (2014-10-16)
    tt2

Maybe you are looking for

  • [Intel] 915GM Speedster FA4

    I have flashed the BIOS to the new 1.13 from the site, but still have problems with overclocking and the SATA HDD. When I go above 165FSB, I no longer have SATA drives visible in the BIOS, and the system tries looking for another boot disk. Is there

  • My account was deleted, but I have my recovery key, how can I recover my information?

    Hi there, So my family computer was infected with a very persistent virus, and my mom wiped it without telling me, so I didn't have a chance to export my bookmarks. I installed the latest version of Mozilla on my new computer (Mozilla 35.0.5) and tri

  • "Active Constraints" - just an idea

    Hi, I just crossposted this to JDO central (General Discussion) in case you are interested in following what goes on over there. Lets say I have a parent child relationship and the child has a collection of things whose contents have to be a subset o

  • I am new to alv grid

    Can u tell me which document i have to refer so that in a short time i can know abt alv grid and can start my project work

  • [svn:bz-4.6_Apache] 24056: Added changelog for donation to Apache.

    Revision: 24056 Revision: 24056 Author:   [email protected] Date:     2013-05-28 03:31:12 -0700 (Tue, 28 May 2013) Log Message: Added changelog for donation to Apache. Modified Paths:     blazeds/branches/4.6_Apache/modules/proxy/src/flex/messaging/s