Why can't execute

update temp_string
set descr_string = descr_string + ',' + to_char( v_temp_resource.data_column )
where temp_index_no_1 = v_temp_index_no_1.temp_index_primer;
this is my sql code,when i execute it,find it no update table,why?
thanks,first!

oh, and you probably need a subquery on the where statement
update temp_string
set descr_string = descr_string || ',' || to_char( v_temp_resource.data_column )
where temp_index_no_1 IN (select temp_index_primer
from v_temp_index_no_1);
Assuming that v_temp_index_no_1 is a table...

Similar Messages

  • Why can't I grant execute on a directory?

    Why can't I grant execute to a directory?
    I have carried out the following:
    Login as SYS
    Prove that the oracle directory exists SELECT * FROM all_directories WHERE directory_name = 'dir_name';
    GRANT EXECUTE ON DIRECTORY dir_name TO role_name;
    The following documentation at the following address says that I can grant execute:
    http://www.morganslibrary.org/reference/directories.html
    And yet when I directed the dba to do it and when I query the database to see if He did it it shows me that he did:
    GRANTOR                        GRANTEE                        TABLE_SCHEMA                   TABLE_NAME                     PRIVILEGE                                GRANTABLE HIERARCHY
    SYSTEM                         role_name                    SYS                            dir_name                     EXECUTE                                  NO        NO       
    SYSTEM                         role_name                    SYS                            dir_name                     READ                                     NO        NO       
    SYSTEM                         role_name                    SYS                            dir_name                     WRITE                                    NO        NO       
    3 rows selectedWhen I try it in my xe environment it throws the error:
    Error starting at line 1 in command:
    GRANT EXECUTE ON DIRECTORY dir_name TO role_name
    Error report:
    SQL Error: ORA-22928: invalid privilege on directories
    22928. 00000 -  "invalid privilege on directories"
    *Cause:    An attempt was made to grant or revoke an invalid privilege on a
               directory.
    *Action:   Only CREATE, DELETE, READ and WRITE privileges can be granted or
               revoked on directories. Do not grant or revoke other privileges.What is going on?
    Benton

    Benton wrote:
    Why can't I grant execute to a directory?Because you can't, according to the 10g documentation...
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_9013.htm#BGEJEBCJ
    However in 11g, it can be done...
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/statements_9013.htm#BGBCIIEG

  • Why I can't execute Plan Settlement after changing CO document in KANK?

    I changed assignment of Plan Settlement Business Transaction from Planning Transaction Group Number ranges to Settlement Group Number Ranges in KANK.
    I did it for having the document number ranges consistency : all settlement (Actual and Plan) within one number range group, while all planning transaction within one number range group.
    However, after I did it, I can not execute Plan Settlement in KO9E.
    It hasn't got any problem before (when I hasn't changed it).
    The system is giving error message below:
    No settlement for this sender
    Message no. KD273
    Diagnosis
    The system has two business transactions for plan settlement:
    1. Settle plan costs
    2. Settle plan costs for sales
    The system could not determine any of these business transactions.
    I have tried changing back the number range assignment, but no result. I still can't do plan settlement.
    Please help me asap....Thanking you

    Hi,
    OBMSG (nothing but table T100S) and add the entries in OBA5 (view V_T100C).
    Please go to OBMSG
    ignore the cross client warning message.
    Find out the application area KD
    Select that and click on messages
    If 273 message number is not there, then enter the same and Allowed is you please put WE and Standard W, then Tick switch off message.
    Then please go OBA5
    Enter work area KD
    Enter message No.273
    Online select - (switch off the message)
    Standard - (switch off the message)
    Regards,
    Ravi

  • Why can not I see the name of a child process?

    Hi,
    I implemented a program for my project.
    My program has two processes. One is a parent process. Another is a child process.
    The parent process forks its child process. The child process is executed by execl() system call.
    The program code implemented is followed.
    === abbreviation ===
    switch(itmr_forkid = fork()) {
    case 0:
    RCode = execl("./itmr", "itmr", (char *) 0);
    exit(0);
    break;
    === abbreviation ===
    I executed the program. And then I pressed "ps -ef" on command line.
    [stp1ggsn1][user/shlim] ps -ef
    UID PID PPID C STIME TTY TIME      CMD
    root 29402 29376 38 Mar 06 pts/0 11376:36 ibgfb
    root 29403 29402 0 Mar 06 pts/0 0:15
    However, why can not I see itmr process name for the child process?
    When I executed the program for the parent process and the program for the child process respectively, I can see itmr process name for the child process.
    I tried to look for the cause. But I could not find out the answer.
    Please, give me your answer. Thank you for your answer in advance.

    Hi,
    I am sorry that I loaded my question two times by mistake.

  • Why can't we have a real 'finalise'

    Hi :)
    As we know, all advice about the 'finalise' method is to never
    use it, don't override it, pretend it doesn't exist, and if you ever
    actually do write code in it, make sure it doesn't throw an exception,
    and make sure (can't remember if this is just a 'myth') that it
    executes in a very small time period.
    Now, i don't have a problem with the requirement for this implementation,
    but why can't we have a 'finalise' method that we can implement code
    in.
    Personally, I would love to have such a method where I can close my
    resources, even do other things to conceptually 'end' my objects life.
    Consider how ridiculous it would be if an OO language said: "yes,
    there is a constructor, but don't write code in it ..., oh, you wan't to
    'initialise' your object you say? well, create a pattern or interface or
    whatever, implement an 'init' method, and always call that'. Anyone
    who had a programming language tell him that would drop it for
    a more sensible one.
    So come on ... we have a method (even as many as we feel like, assuming
    signatures) to 'establish' our object, why are we disabled and disallowed the
    option of having one to finalise it (even; not sure of the appropriateness: ones
    matching the constructor signatures).
    who's with me? :) !

    Where is your problem ?
    Use a finally clause...Hence the fragileness. Out of the population of
    developers, what percentage do you suppose remember to
    do that? It would be MUCH better for the VM to take
    care of it, destructing/finalizing objects either as
    soon as they are no longer strongly reachable (hard to
    implement), or at least at SOME point before the app
    dies (the GC COULD have been designed to GUARANTEE
    running before app termination)What I mean was that you can do something (clean up used connections, streams etc.) but let the GC do the rest. By the way it isn't guaranteed that the GC will run a full garbage collection before you close.

  • Why can't we change and activate a process chain while it is running?

    why can't we change and activate a process chain while it is running?

    Hi.........
    Yes u can activate the changed PC...............but don't schedule it...........
    If u schedule the Chain............when the current chain is running..............it will get stucked in the process..............which was executing ........at the time when it was scheduled.............
    I thnk u hav made some chainges in the PC in Planning mode.............right...............Activate it............after the completion of the current run of the chain............schedule the chain........
    Regards,
    Debjani.........

  • Why does SQL execute inner selected functions again in the outer select?

    Hi,
    Why does SQL execute inner selected functions again in the outer select?
    Given:
    CREATE OR REPLACE FUNCTION K_TEST
    RETURN NUMBER IS
    BEGIN
    RETURN 1;
    END;
    SELECT K_TEST, K_TEST FROM DUAL;Will (logically) execute the function twice.
    SELECT intest, intest
    FROM (SELECT K_TEST intest FROM DUAL);Will execute the function twice too!
    Why can't SQL buffer the inner result?
    Does anyone have an idea on how to achieve executing the function only once? My original called function is quite heavy and returning a user defined type. Adding predicates, the function is executed 3 or 4 times!
    Thanks for any tips,
    K.

    Hello
    Depending on your version of Oracle, Sub query caching could help....
    XXXX> create sequence seq_1
      2  /
    Sequence created.
    Elapsed: 00:00:00.07
    XXXX> CREATE OR REPLACE FUNCTION K_TEST
      2  RETURN NUMBER IS
      3
      4      ln_Ret  NUMBER;
      5
      6  BEGIN
      7      SELECT
      8          seq_1.NEXTVAL
      9      INTO
    10          ln_Ret
    11      FROM
    12          dual;
    13
    14      RETURN ln_Ret;
    15  END;
    16  /
    Function created.
    Elapsed: 00:00:00.60
    XXXX>
    XXXX> SELECT K_TEST, K_TEST FROM DUAL;
        K_TEST     K_TEST
             1          2
    1 row selected.
    Elapsed: 00:00:00.06
    XXXX> SELECT K_TEST, K_TEST FROM DUAL;
        K_TEST     K_TEST
             3          4
    1 row selected.
    Elapsed: 00:00:00.01
    XXXX> SELECT intest, intest
      2  FROM (SELECT K_TEST intest FROM DUAL);
        INTEST     INTEST
             5          6
    1 row selected.
    Elapsed: 00:00:00.10
    XXXX> SELECT
      2      intest,intest
      3  FROM
      4      (
      5          SELECT (SELECT K_TEST FROM dual) intest
      6          FROM
      7          dual
      8
      9      )
    10  /
        INTEST     INTEST
             7          7
    1 row selected.
    Elapsed: 00:00:00.03
    XXXX> /
        INTEST     INTEST
             8          8
    1 row selected.
    Elapsed: 00:00:00.01THis last example takes advantage of a specific optimisation for calling functions in a subquery. Not sure if it would suit your circumstance though...
    Alternatively - again depending on your version - you might be able to look at function result caching...
    HTH
    David
    Edited by: Bravid on Feb 1, 2012 12:32 PM

  • Why can I not see a table I own inside a procedure

    I have a procedure owned by user X as follows:
    create or replace  procedure ztm_get_debug_level is
      vc_pkg_name  system_parameter.name%TYPE := 'DEBUG_LEVEL_PKG_BASE_KEYS';
      vn_error     services.debug_log_level.debug_level_id%TYPE := 30;
      v_debugLevel   system_parameter.number_value%TYPE;
      function get_owner return varchar2 is
        cursor c1 is
        select owner from all_tables where table_name = 'SYSTEM_PARAMETER';
        v_Ret_Val VARCHAR2(30);
      BEGIN
        OPEN C1;
        FETCH C1 INTO v_Ret_Val;
        CLOSE C1;
        RETURN v_Ret_Val;
      END;
    begin
      DBMS_OUTPUT.PUT_LINE('AAAA - ' || get_owner);
      select s.number_value
      into   v_debugLevel
      from   system_parameter  s
      where  s.name = vc_pkg_name;
      DBMS_OUTPUT.PUT_LINE('BBBB');
    exception
      when no_data_found then
        NULL;
      when others then
       DBMS_OUTPUT.PUT_LINE('p_get_debug_level.WHEN OTHERS');
       raise;
    end;
    Table system_parameter is owned by user X.
    When I execute I get:
    TESTSSG.SUBSCRIPTION.87> exec ztm_get_debug_level
    AAAA - X
    p_get_debug_level.WHEN OTHERS
    BEGIN ztm_get_debug_level; END;
    ERROR at line 1:
    ORA-00942: table or view does not exist
    ORA-06512: at "SUBSCRIPTION.ZTM_GET_DEBUG_LEVEL", line 32
    ORA-06512: at line 1
    When I run the query outside the procedure as user X I get a row.
    Any ideas?
    FYI, there are no public sysnonyms.
    DB version: 11.2.0.3.0
    Thanks,
    Thomas

    Thanks Frank,
    SYSTEM_PARAMETER is a table owned by X.  If I qualify the select statement by adding the owner it works, but of course I do not want to do that.  Here is the DDL for creating SYSTEM_PARAMETER:
    create table SYSTEM_PARAMETER
      name         VARCHAR2(256) not null,
      date_value   DATE,
      number_value NUMBER,
      string_value VARCHAR2(512),
      comments     VARCHAR2(512)
    alter table SYSTEM_PARAMETER add constraint PK_SYSTEM_PARAMETER primary key (NAME);
    Again, if I rewrite the procedure to the following (only difference is the red X.), it works:
    create or replace  procedure ztm_get_debug_level is
      vc_pkg_name  system_parameter.name%TYPE := 'DEBUG_LEVEL_PKG_BASE_KEYS';
      vn_error     services.debug_log_level.debug_level_id%TYPE := 30;
      v_debugLevel   system_parameter.number_value%TYPE;
      function get_owner return varchar2 is
        cursor c1 is
        select owner from all_tables where table_name = 'SYSTEM_PARAMETER';
        v_Ret_Val VARCHAR2(30);
      BEGIN
        OPEN C1;
        FETCH C1 INTO v_Ret_Val;
        CLOSE C1;
        RETURN v_Ret_Val;
      END;
    begin
      DBMS_OUTPUT.PUT_LINE('AAAA - ' || get_owner);
      select s.number_value
      into   v_debugLevel
      from   X.system_parameter  s
      where  s.name = vc_pkg_name;
      DBMS_OUTPUT.PUT_LINE('BBBB');
    exception
      when no_data_found then
        NULL;
      when others then
       DBMS_OUTPUT.PUT_LINE('p_get_debug_level.WHEN OTHERS');
       raise;
    end;
    This procedure exists in 4 other environments where there are no issues.  It can't be a privileges issue as the table is owned by user X and as you can see by the lookup (which was added for debug) against ALL_TABLES the owner is clearly X.  So, why can X not select from it's own table unless we include the owner?
    Thanks,
    Thomas

  • Can't execute on encrypted device

    Hi,
    i recently encrypted my home partition. it works ok now but i can't execute any programms. i don't know why.. my mount options are:
    the permissions are set correctly. even as root you can't execute a thiing
    /dev/mapper/home /home/ngerrit ext3 exec,defaults,noauto,user 0 0
    i know that exec is set by defaults too, but ii wanted to try it
    hope someone knows whats going on..
    thx
    ngerrit

    The last "user" also enables "noexec" which will override the former "exec,defaults", see 'man mount'.

  • If you registrate one Apple ID for each iPhone/iPad, you'll get 5GB on iCloud for each Apple ID, right? I have two iPhones and one iPad  with the same Apple ID, why can't I get 5 GB fo each of them?

    If you registrate one Apple ID for each iPhone/iPad, you'll get 5GB on iCloud for each Apple ID, right? I have two iPhones and one iPad  with the same Apple ID, why can't I get 5 GB fo each of them?

    Actually, everyone missed one point, when a device is priced, the cost of icloud storage space for that device is also included in it that is why they are able to give you 5gb each for each user ID, in nutshell there is nothing free coming with apple device purchase, it is paid for.  What they are trying by giving only 5gb per user ID irrespective of the number of devices used is pure broadlight looting, they take money from you when you buy each device and give you nothing, This is a case of goods and services bought but not fully deliverd ie apple can be suied for discreminatory treatment towards it's users. I wonder why no one tried this yet in America where everyone sue everyone for petty things..... there is no one to take up this issue? . if tim got any love for the guys who shell out money for the devices his company makes, he should be implimenting this as priority before someone wake up from sleep and sue him.

  • Why can't I just use my debit card for adding my child to family share?!

    I want to use my child on family share but can't because I don't need or want a credit card, my bank has fraud protection, who actually just called me about fraud because I purchased the newest iPhone! I don't like credit cards. Why can't I just use my debit card as usual? Kids can get credit cards just as easily as they can debit cards! This is ridiculous. Why isn't there another option to verify I am the parent?! I am so beyond angry right now. Like I am being punished for not owning a credit card!! Otherwise there will be another way to do this. A person should have the freedom to use their chosen form of payment without missing out on all the options available. Honestly even if I wanted a credit card I haven't enough credit because of past mistakes. So this is not making me happy at all.

    Mad Parent,
    I feel your pain. We refuse to have credit cards, too; yet it's required in order to create a child's apple id. I will most definitely be leaving feedback with Apple. This is absolutely ridiculous that we can't just use our debit cards! Mine is a VISA. I use it to make CREDIT CARD transactions everywhere else, why not be able to use it the same way here!?
    I just had to restore my sons phone because he forgot his 4-digit password and got it disabled. I didn't have it already on my itunes so my only option was to restore it. I wanted to create his own apple id so he didn't have to keep using mine. Because every time he downloads a new game it automatically ends up on MY device as well, not just his. Anyway, he needs his own apple id. But, apparently, that won't be happening until Apple gets their heads out of their butts and figures out how to serve ALL of their customers!
    Signed,
    Equally Mad Parent

  • Why can you NOT get a straight forward answer on upgrading to Edge?

    On Saturday morning I called customer care with a SIMPLE question about how the Edge Program works. The lady I spoke with gave me information that didn't make sense and told me one of my lines could move to edge and the other could only after 6 months of on-time payments. That didn't make sense to me, how could one be eligible and not the other when the explanation of WHEN would be eligible is contingent upon 6 months payments. I was so irritated I started shopping at other carriers to see what their "Edge" like programs work like and was considering switching carriers. So, I called back and spoke with another guy to find out what my ETF's were and he informed me that I COULD upgrade both lines to a Note 4 for about $5 above what my bill is a mo. each with all of the discounts applied. I told him that I would go to a Verizon store and probably upgrade instead of cancelling. So, I went to the store and was treated TERRIBLY!! I was told that I could not move both of my lines to the edge program with the Note 4. I was told I could move to Edge with both lines but one would have to be a Droid and the other could be whatever phone I wanted. I was blown away with yet another piece of information that was not matching up with what I was told. He said I could call customer care and see if they could do anything. I was BLOWN away that a corporate Verizon store would just turn me away (which was extremely demeaning and embarrassing in front of their other customers) to call customer care again and tell me my best option would be to cancel if I wanted a new phone for the line I wanted to upgrade. So, I called customer care again and spoke with another lady who correctly informed me (I think) of how it works and stated there was nothing she could do on the line that was not eligible which should have been told in the previous conversation with the guy I spoke with. One thing struck me as odd, she said the phone is on a lease with Edge so the phone is never yours, which is something NO ONE mentioned at any point in any prior conversation. So, is that true? I now know where I stand with upgrading but my original questions about how Edge works are still not fully answered and what the last rep stated brings up other questions. If it's "leased" what happens if it's broken or lost? Anyway, I was looking for what I thought was a straight forward answer to a question about how Edge works, how much it costs, and are my lines eligible, etc. and wasted a good hour on the phone and another two driving to a store just to get turned away like as though no one even cared! The last lady I spoke with seemed to care but I'm blown away with the TERRIBLE customer service and COMPLETE lack of ownership. Why can no one take the feedback and DO SOMETHING ABOUT IT and then answer my questions about the Edge program. Bottom line, I'm not looking for a freebie upgrade (though maybe I should for all of the time wasted due to incorrect/inaccurate information). but I'm blown away that no one wants to do anything.
    That all being said, can someone on here explain how Edge works with the discounts and is the phone really a "leased" phone? Pretty sad that I'm resorting to forums to ask other customers how it works but would appreciate any info anyone can share. I'm probably going to port both of my numbers to AT&T if it is true they are a lease and due to all of the terrible customer service.

    I just saw in another post that if it's an "early" edge I would have to turn in the phones. No one told me that either and now I wonder if just forget Edge and port out. What's the advantage of doing Edge with all this confusion and red tape? Is an early edge considered early if you're upgrading with Edge prior to the contract end on the current phone? Verizon Customer Care and Stores REALLY NEED to be up front about this stuff! From what I see here and what others are going through Edge is a TERRIBLE TERRIBLE program.

  • Hi, my MacBook Air is not working anymore if it's not connected with the power cable. It's pretty new so I can't imagine that the battery is dead already. Why can't I use my MacBook Air without the power cable even though I charged it for hours?

    Hi, my MacBook Air is not working anymore if it's not connected with the power cable. It's pretty new so I can't imagine that the battery is dead already. Why can't I use my MacBook Air without the power cable even though I charged it for hours?

    Please take the Mac to  Apple store to have it checked out.
    Genius Bar reservation
    http://www.apple.com/retail/geniusbar/
    Best.

  • Complaint: Why can I not download a Windows 8.1 ISO on Mac?

    Hello,
    I have been sent here by you customer service team to make a complaint.
    I have recently purchased Windows 8.1 pro student as a download. I need this for university and was planning on boot camping my mac to do this. I am told the only way to download this product is with a windows machine. I have tried at work but need administrator
    privileges also.  
    This is simply a ridiculous system that you need the operating system that you are downloading to make the download occur. You should be able to download an iso file or the like. I have ordered a backup media (obviously at my expense).
    The customer service people I spoke to were very unhelpful. Also this process of complaints is poor. Why can i not talk to someone re a complaint? 
    Regards
    James

    Hello James,
    Please take a look at the following thread similar to this issue.
    Where can I download a Windows 8.1 iso for Bootcamp?
    https://discussions.apple.com/thread/6133650
    Please note: Since the website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Best regards,
    Fangzhou CHEN
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Why can't I install Itunes on windows vista 64 bit?

    Why can't I install Itunes on windows vista 64 bit? I have removed all apple software and repeated the reinstall many times but it fails.  I get this complicated error mesage and then the installer rolls back and fails.

    I get this complicated error mesage and then the installer rolls back and fails.
    I'd like to have a closer look at that error message please.
    Generate the error message again. While the error message box is open, hold down the Alt key and hit the PrtSc key. Paste the screenshot into an image file (using a program like Paint), and save the file.
    Start a reply here and click the wee camera icon at the top of the reply window. Click "Choose file", browse to the image file, select the file and click "Open". Now click "Insert file" to insert the screenshot into the reply.

Maybe you are looking for

  • How to prevent a user from entering characters into a number field

    How do you prevent a user from entering characters like A or B into a field that is defined as a numeric field? Please note that - we use block validation (for other reasons) - we are not able to convert these numeric fields to character fields We wa

  • How to add first blank entry in messageChoice

    I have a messageChoice that's populated entirely from the associated model (which happens to be a backing view/sql table). The only items that show in the list are populated records from my view/table. This is sufficient for create / edit forms, wher

  • New Mac Mini or iMac (late 2012) for Logic Pro?

    Between these two specifically, which would be better for Logic Pro, and why? The new Mac Mini (mid-tier) has a 2.3gHz i7, and the low-end iMac which has a 2.7GHz i5.  Both are quad-core.  The i5 is faster in clock-speed, but the Mini sports the i7,

  • Blackberry Desktop Software has stopped working

    Blackberry Torch 9850 on the Verizon Wireless Network Blackberry OS: 7.1 Bundle 1737 (v 7.1.0.580, Platform 5.1.0.429) Windows 7 Home Premium, SP11 with an full admin account HP Desktop computer For some unknown reason whenever I attempt to execute B

  • Editing Assistants and Templates

    I am using a G4Powerbook with OS X 10.4.9. How on earth do I edit the assistants and templates in "starting points"? Most of these are ugly and just clutter the thing. (I have created a few templates, and they are hard to find because of all the othe