Synonym, views, trigger, procedures, function - where these items will be present?

Hi all

Basic question:
1 oracle objects as a synonym, trigger, procedures, views, function (of a particular user) where these items will be present? Is - this data dictionary user default tablespace or system?

2. the user have create session, synonym to create, select any user of permission.and table have default tablespace DATA.

(a) if the user has create any synonym it will store in the tablespace DATA?
(b) if the user can able to select a table only or can see all notices and the level of database functions?


Thank you

903787 wrote:
Sorry, I don't understand could you please it explain.

After SQL & results that show how the synonym of space, function, view, & trigger consume in your DB.

Tags: Database

Similar Questions

  • Updated APEX collection error ORA-04044: procedure, function, package, type

    Hi all

    I am trying to update the APEX MEMBER of the COLLECTION and encounter errors:


    1 error has occurred
    ORA-06550: line 9, column 8: PL/SQL: ORA-04044: procedure, function, package or type is not allowed here ORA-06550: line 7, column 3: PL/SQL: statement ignored

    The PLSQL code are as below

    DECLARE
    entire x;
    v_date_started VARCHAR2 (255);
    v_date_finished VARCHAR2 (255);
    BEGIN
    SELECT c.seq_id
    X
    OF APEX_COLLECTION c
    WHERE collection_name = "PHASE_COLLECTION."
    AND c001 =: P41_MPM_ID
    and rownum = 1;
    v_date_started: =: P41_DATE_STARTED;
    v_date_finished: =: P41_DATE_FINISHED;

    APEX_COLLECTION. () UPDATE_MEMBER
    p_collection_name = > 'PHASE_COLLECTION '.
    , p_seq = > x
    , p_c004 = > v_date_started
    , P_c005 = > v_date_finished
    );
    END;


    The process will take place after SUBMIT and validation.

    The code I used to add a colletion APEX will work perfectly and is as below

    -Initialization Collection PHASE_COLLECTION
    BEGIN
    IF THIS ISN'T APEX_COLLECTION. COLLECTION_EXISTS('PHASE_COLLECTION') THEN
    APEX_COLLECTION. CREATE_COLLECTION ('PHASE_COLLECTION');
    ON THE OTHER
    APEX_COLLECTION. TRUNCATE_COLLECTION ('PHASE_COLLECTION');
    END IF;
    -Add members to the COLLECTION PHASE of table PHASE_MEMBERSHIP
    IF: P41_MPM_ENG_ID IS NOT NULL THEN
    FOR x IN (SELECT mpm_id, mpm_eng_id, phase_number, date_started, date_finished, date_created
    OF phase_membership
    WHERE mpm_eng_id =: P41_MPM_ENG_ID
    AND active = 1
    ORDER BY date_created)
    LOOP
    APEX_COLLECTION. ADD_MEMBER
    (p_collection_name = > 'PHASE_COLLECTION')
    , p_c001 = > x.MPM_ID
    , p_c002 = > x.MPM_ENG_ID
    , p_c003 = > x.PHASE_NUMBER
    , p_c004 = > x.DATE_STARTED
    , p_c005 = > x.DATE_FINISHED
    , p_c006 = > x.DATE_CREATED

    );
    END LOOP;
    END IF;
    EXCEPTION
    WHILE OTHERS THEN
    Logger.Error (p_message_text = > SQLERRM)
    , p_message_code = > SQLCODE
    , p_stack_trace = > dbms_utility.format_error_backtrace
    );
    LIFT;
    END;


    What I tried to use APEX_COLLETION to check the overlap between the date_range.
    The requirement is just to display a warning if the user adds a record to the new phase or update record of current phase may overlap between the order of phase together.
    Table PHASE_MEMBERSHIP script is

    CREATE TABLE 'PHASE_MEMBERSHIP '.
    (
    ACTIVATE THE "MPM_ID" NUMBER NOT NULL,
    ACTIVATE THE "MPM_ENG_ID" NUMBER NOT NULL,
    ACTIVATE THE "PHASE_NUMBER" NUMBER (2.0) NOT NULL,
    "DATE_STARTED" DATE NOT NULL ACTIVATE.
    DATE OF THE "DATE_FINISHED."
    'NOTES' VARCHAR2 (2000 BYTE),
    'DATE_CREATED' DATE NOT NULL ACTIVATE.
    ACTIVATE THE 'CREATED_BY' VARCHAR2 (20 BYTE) NOT NULL,
    NUMBER (2.0) 'ACTIVE' DEFAULT 1 ACTIVATE NOT NULL)

    So, basically, I want to fill the documents associated with a particular to a collection of APEX called PHASE_COLLECTION MPM_ENG_ID.
    Then when the user specify date_started and date_finished, it will update/insert the APEX collection first.
    Then the rank based on audit collection date
    http://www.Oracle-base.com/articles/Misc/overlapping-date-ranges.php
    then display the warning to ask the user to confirm message.

    But then I'm stuck at the step of updating COLLECTION of APEX.

    If anyone has any ideas on what is wrong, please help.

    Thanks in advance.

    Ann

    Your syntx error line number should give you the trick - it is not a member of the update, rather the SQL - you are referring to apex_collection, not apex_collections view dictionary.

    Scott

  • Is it possible to trigger a function Javascript C++ QML?

    Is it possible to trigger a function Javascript C++ QML?

    Just look at the section of signals and slots that documentation for examples of how to define and send signals of C++. Then in your QML, where you have exposed your C++ object as a property of context (named, for example, "foo"), you would foo.signalName.connect (myJsFunction) in a certain place like maybe onCreationCompleted. Connects the signal to the function, and when it is executed will be called the JS function.

    In short, the real connection between the two is trivial, as long as you already have all the side "C++ object and signal and exhibitors being C++" processed things.

  • How to trigger the function Listfind

    Hi all

    If the field is empty, this code sets the variable nxtstep depending on the day of the week, check if the form field "is not date" and works very well in this case.

    If the form field is not empty, then it assigns to the variable nxtstep as the date on which is selected what he does, however, he is not checking to see if it is a holiday. It should trigger the function listfind and check to see if that date is a holiday, but it is just to enter the date without going through this review.

    Why does this work? Thank you

    <!--> REQUEST UPDATE
    < cfif isDefined "(form. UPDATEADDBTN") >
    < cfif FORM. GTE ENTID 1 >
    < cfset isCOMPANYNull = iif (len (trim (form.COMPANY)) EQ 0, true, false) >
    < cfset isCOMMENTSNull = iif (len (trim (form.COMMENTS)) EQ 0, true, false) >

    <!--> SET DATE AS FORM FIELD

    < cfset nxtstep = trim (form. ABUNDANCE) >

    <!-SET DATE IF NO DATE ENTERED->
    < cfif not isDate (nxtstep) >

    < cfif DayOfWeek (Now ()) eq 2 >
    < cfset nxtstep = dateAdd ("d", now())) 2, >

    < cfelseif DayOfWeek (Now ()) eq 3 >
    < cfset nxtstep = dateAdd ("d", now())) 2, >

    < cfelseif DayOfWeek (Now ()) eq 4 >
    < cfset nxtstep = dateAdd ("d", now())) 2, >

    < cfelseif DayOfWeek (Now ()) eq 5 >
    < cfset nxtstep = dateAdd ("d", now())) 4, >

    < cfelseif DayOfWeek (Now ()) eq 6 >
    < cfset nxtstep = dateAdd ("d", now())) 3, >

    < cfelseif DayOfWeek (Now ()) eq 7 >
    < cfset nxtstep = dateAdd ("d", now())) 2, >

    < cfelseif DayOfWeek (Now ()) eq 1 >
    < cfset nxtstep = dateAdd ("d", 1, now())) >
    < / cfif >

    <! - IF a DATE IS ENTERED CHECK TO SEE IF it IS a holiday - >

    < cfelse >

    <!-CHECK TO SEE if the DATE ENTRIES IS one day public HOLIDAY AND ADD DAYS-->
    < cfif ListFind (ValueList (hols.holiday), nxtstep) >

    < cfif DayOfWeek (nxtstep) eq 2 >
    < cfset nxtstep = dateAdd ("d", 2, nxtstep) >
    < cfelseif DayOfWeek (nxtstep) eq 3 >
    < cfset nxtstep = dateAdd ("d", 5, nxtstep) >
    < cfelseif DayOfWeek (nxtstep) eq 4 >
    < cfset nxtstep = dateAdd ("d", 2, nxtstep) >
    < cfelseif DayOfWeek (nxtstep) eq 5 >
    < cfset nxtstep = dateAdd ("d", 4, nxtstep) >
    < cfelseif DayOfWeek (nxtstep) eq 6 >
    < cfset nxtstep = dateAdd ("d", 6, nxtstep) >
    < cfelseif DayOfWeek (nxtstep) eq 7 >
    < cfset nxtstep = dateAdd ("d", 2, nxtstep) >
    < cfelseif DayOfWeek (nxtstep) eq 1 >
    < cfset nxtstep = dateAdd ("d", 1, nxtstep) >
    < / cfif >


    < / cfif >


    < / cfif >

    You do several things that can contribute to the problem.  In your first block of code, you use dateadd to assign to a variable datetime nxtstep.  In the following code block, you check to see if this datetime variable appears in a list.

    A list is just a delimited string, looking for datetime variables is doomed to failure unless you convert these variables in a string.  You can use dateformat for that.  Choose the right format should also fix your another of your variables of datetime whose part of the time, while your list of holidays is probably not.

    I remember vaguely similar issues on your part.  You should re-read the answers you got.  You may be ignoring some of them.

  • Trigger a function when a transition is complete?

    I'm creating an intro where a sequence of tweens and transitions are triggered. The problem is that I can not understand how to get an event occurs when a transition is completed. How can I me 'headTitleTm' to trigger the function of "sigIn" once it's done?

    Thank you!

    Code:

    function headTitleTransition(event:TweenEvent):void{
            var headTitleTm:TransitionManager = new TransitionManager(headTitle);
            headTitleTm.startTransition({type:Photo, direction:Transition.IN, duration:.20, easing:None.easeNone});
    
            headTitleTm.addEventListener(Event.COMPLETE, sigIn);
    }
    
    function sigIn(e:Event):void{
         trace('sigIn');
    }
    

    myTtransition.addEventListener ("allTransitionsInDone", doneTrans);

    What is that

  • Build a complicated procedure/function

    Hello world

    I am creating a complicated procedure.

    I have three columns:
    line     A          B        C
    1       5.5       3.2       -
    2       1.05     6.1       -
    3        0.6      7.8       -
    4        6.4     4.13      -
    5         -         -        8.98
    Column C contains a result. So, I need to find how this result was built. In other words, this procedure/function must answer the question:
    What are the numbers in columns A and B, which has contributed to achieve this result.
    In this example, we found that:
    C = B(1) + A(2) + A(3) + B(4) = 3.2 + 1.05 + 0.6 + 4.13 = 8.98
    (there is a condition: we cannot do so one number per line is selected.: A(1) + B(1).)

    Concerning

    Published by: zakaria84 on May 22, 2009 15:25

    Published by: zakaria84 on May 22, 2009 15:49

    Hello Zakaria,

    Here is a right solution with SQL:

    SQL> create table giventable (a,b,c)
      2  as
      3  select 5.5, 3.2, null from dual union all
      4  select 1.05, 6.1, null from dual union all
      5  select .6, 7.8, null from dual union all
      6  select 6.4, 4.13, null from dual union all
      7  select null, null, 8.98 from dual
      8  /
    
    Tabel is aangemaakt.
    
    SQL> create table resulttable as select * from giventable where 1=0
      2  /
    
    Tabel is aangemaakt.
    
    SQL> insert into resulttable
      2  select a
      3       , b
      4       , null
      5    from ( select case mod(trunc(l/power(2,line)),2) when 0 then a else null end a
      6                , case mod(trunc(l/power(2,line)),2) when 1 then b else null end b
      7                , sum(case mod(trunc(l/power(2,line)),2) when 0 then a else b end) over (partition by l) x
      8             from ( select a
      9                         , b
     10                         , row_number() over (order by null) - 1 line
     11                      from giventable
     12                     where c is null
     13                  )
     14                , ( select level - 1 l
     15                      from dual
     16                   connect by level <= power(2,(select count(*) from giventable where c is null))
     17                  )
     18         )
     19   where x = (select c from giventable where c is not null)
     20   union all
     21  select null
     22       , null
     23       , c
     24    from giventable
     25   where c is not null
     26  /
    
    5 rijen zijn aangemaakt.
    
    SQL> select * from resulttable
      2  /
    
             A          B          C
    ---------- ---------- ----------
                      3,2
          1,05
                     4,13
            ,6
                                8,98
    
    5 rijen zijn geselecteerd.
    

    Kind regards
    Rob.

  • Is there a way to disable the function where firefox opens a new tab when you scroll a click in the header bar?

    Is there a way to disable the function where firefox opens a new tab when you scroll a click in the header bar? This feature in conflict with my program of multiple monitors (display fusion) since this program allows you to change your current active window the monitor 1 monitor 2 and vice versa BY clicking the header of BAR SCROLLING (or whatever you call the highest part of your window). With firefox, I can't easily change my active window between monitors because instead, it opens a new tab.

    If the window is maximized, you can then switch this pref to disable the display of the tabs in the title bar:

    • browser.tabs.drawInTitlebar = false

    You can open the topic: config page via the address bar.
    You can accept the warning and click on "I'll be careful" to continue.

  • Error message: they buy items on the iPhone "IPhone patches (2)" who have not been transferred to your iTunes library. You must transfer these items in your iTunes library before the update of this iPhone. Are you sure you want to continue

    When you try to download and install new updates of security for my iPhone 6 s, I get the following error Message:

    "They buy items on the iPhone"XYZ"which have not been transferred to your iTunes library. You must transfer these items in your iTunes library before the update of this iPhone. Are you sure you want to continue? »

    How do I 1) locate those particular items purchased? and (2) how to transfer them to my iTunes library?

    Click here and follow the instructions.

    (139952)

  • I could remove these items with my Disk Clean Up?

    What would be in temporary files, Internet files temporary Client/Publisher, compress old files, the catalog for content indexing files?   Could I removed these items using Disk Clean Up.  I already removed temporary Internet, Recycle Bin, the files offline web sites. I have a Windows XP home edition.

    You can, but use with caution.  Some may be necessary.

    Unless there is a compelling reason (and you have a back up), I wouldn't.

  • Windows cannot access the specified device, path or file. May not permissions to access you these items.

    I have this same problem as many others but mine is when I try to use a pdf document, such as the filing of a form on the internet or make changes to a pdf form saved on my computer.  I tried the suggestions on other positions, which one off my third-party anti-virus, which is Kaspersky.  None of these things helped my situation.  I always get the message when I click on a field in the pdf document that I should be able to change.  I use Windows 8.  The message that I get whenever I click on the pdf file is: Windows cannot access the specified device, path or file. May not permissions to access you these items.

    Thanks in advance for helping me solve this problem.  I was able to access fields on the PDF under Windows 7 on another computer.

    Susan Bonner

    Hello

    Please check the solution proposed by Adobe.

    Fill out form fails in Reader 11.0.06 on Windows Touch for Windows 8/8.1

    http://helpx.Adobe.com/Acrobat/KB/Windows-8-81-problem-11006.html

    I hope this helps.

  • Difference of procedure &amp; function

    Hi all

    After citing some tutorials, I got to know that the difference between the procedure and the function is that the procedure may or may not return a value as the function must return a value to the calling program. Given below is my procedure. & He would compare the lower of the two numbers would be smaller than

    create or replace procedure findmin

    (

    x in number,

    there in numbers,

    z series

    )

    is

    Start

    if(x<y) then

    z: = x;

    on the other

    z: = y;

    end if;

    end;

    declare

    c number;

    Start

    findmin (23,45,c);

    dbms_output.put_line (c);

    end;

    Here's my function even if it does the same thing.

    create or replace function findmin_fun

    (

    x in number,

    y number

    )

    Return number

    is

    number of z;

    Start

    if(x<y) then

    z: = x;

    on the other

    z: = y;

    end if;

    Return z;

    end;

    declare

    Start

    dbms_output.put_line (findmin_fun (56,28));

    end;

    I would like to know under what are all the scenarios of the procedure and function would be used. And also I want to know could do dml as insert, update, and delete operations

    If so, could you guys explain me with some examples to expose DML operations on functions

    After citing some tutorials, I got to know the difference between the procedure & function is that the procedure may or may not return a value as the function must return a value to the calling program.

    Not quite.

    A procedure does NOT return a value - it can fill in the parameters OUT or INOUT but which is NOT considered to be "of return values.

    A function ALWAYS returns a value that can be null. The only exception is if the function throws an exception.

    My procedure is given below. It would be to compare the lower of the two numbers & would mean that smaller

    Not quite - the procedure returns NO value. You use it to try to fill one OUT parameter, but it's NOT the same.

    I would like to know under what are all the scenarios the procedure & function would be used.

    Functions can be used in SQL; procedures cannot be used in SQL.

    The functions return a value; procedures of does NOT return a value.

    Use the functions when you need to return a value; Use the procedures when you do NOT need to return a value.

    It is not possible to list 'all scenarios' for one or the other, because there may be ANY NUMBER of possible scenarios.

    And also I want to know could do dml as insert operations, update & delete

    What happened when you tried?

    The best and fastest, to learn is to actually TRY THINGS. Don't be afraid to break the Oracle by actually writing code and tests of things yourself.

    If so, could you guys explain me with some examples to expose DML operations on functions

    The Oracle documentation have a LOT of examples of using functions and procedures and include the code of the example.

    https://docs.Oracle.com/CD/E11882_01/AppDev.112/e25519/subprograms.htm#CHDBEJGF

    The internet has even more examples of code.

  • Workflow model view lists that some, not all items

    I use the workflow "Assign a workflow to change in a master plan and its virtual machines", in that it refers to another workflow.  When using this process, it lists only 20 items (workflows).  Seems to be limited to only SNMP related workflows, but I need to list them all.  Any guidance is appreciated!

    By default, the selectors show only 20 items.

    You can change this number by client Java vCO. Go to 'Tools'-> 'Preferences of the user...'. -> 'General' and change the value in the box "size maximum Finder." Or you can type any characters in the box 'filter' in the dialog box selector and as workflows whose names contain these characters will be listed in the selector.

  • Adobe Revel?  I forgot: the URL; my user name and password.  How can I ask Adobe for these items?  Thank your answer!

    Adobe Revel? I forgot: the URL; my user name and password. How can I ask Adobe for these items? Thank your answer!

    [email protected]

    Dave,

    No worries, this link will help you with your questions. You have not an account of revel with this e-mail in order to reset your password should be all you need to do. Just click on the link "I forgot my password" on the web page below:

    http://helpx.Adobe.com/x-productkb/policy-pricing/account-password-sign-FAQ.html

    Once you reset your password, you should be able to connect to revel in adoberevel.com on a browser or one of our applications on mac, ios, win8 or android.

    Guinot

  • DPS is their function where the user can choose which pages they want to keep, to build a custom (build yours) version for themselves.

    DPS is their function where the user can choose which pages they want to keep, to build a custom (build yours) version for themselves.

    N °

    Neil

  • How to trigger a function AS via JS?

    I need trigger a function AS when a heavy user the window of the browser. That's what I've done so far... but no luck.

    AS:

    import flash.external.*;
    function test1() {
    //do something
    }


    JS:

    <script type="text/javascript">  
      window
    .onbeforeunload = function(){
      test1
    ();
      
    return 'text here' };
    </script>

    use:

    AS:

    import flash.external.*;

    ExternalInterface.addCallback("jsCallF",null,test1);
    function test1(s:String) {
    //do something with s
    }

    JS:

    and you will need to use the code compatible with the externalinterface class integration.  Swfobject works and there is code in the adobe help files that also works.

    and you will need to use the correct name instead of your_swfs_embed_tag_name.

Maybe you are looking for