Grant opt,on issue

hi Hussein;
I hope u wont think i am dupm wiht this quesiton. I need to improve myself about this issue.
I created one schema which hasnt anythink inside like table index etc. and i want to give all permisson(like create,drop,select ) to apps user. How i can do it?
1. I create tablespace:
CREATE TABLESPACE TESTDATAFILE
'/TEST/testdata/TEST_d01.dbf' SIZE 100M AUTOEXTEND OFF
LOGGING
ONLINE
PERMANENT
EXTENT MANAGEMENT LOCAL UNIFORM SIZE 128K
BLOCKSIZE 8K
SEGMENT SPACE MANAGEMENT AUTO
FLASHBACK OFF;
2.Creata index:
CREATE TABLESPACE TEST_INDEX DATAFILE
'TEST/testdata/TEST_i01.dbf' SIZE 100M AUTOEXTEND OFF
LOGGING
ONLINE
PERMANENT
EXTENT MANAGEMENT LOCAL UNIFORM SIZE 128K
BLOCKSIZE 8K
SEGMENT SPACE MANAGEMENT AUTO
FLASHBACK OFF;
3.create user and give grant
CREATE USER TEST
IDENTIFIED BY TEST
DEFAULT TABLESPACE TEST
TEMPORARY TABLESPACE TEMP
PROFILE DEFAULT
ACCOUNT UNLOCK;
GRANT CONNECT TO TEST;
ALTER USER TESTDEFAULT ROLE ALL;
GRANT CREATE VIEW TO TEST;
GRANT CREATE TABLE TO TEST;
GRANT CREATE SESSION TO TEST;
GRANT CREATE SYNONYM TO TEST;
GRANT CREATE TRIGGER TO TEST;
GRANT CREATE SEQUENCE TO TEST;
GRANT CREATE PROCEDURE TO TEST;
GRANT CREATE PUBLIC SYNONYM TO TEST;
ALTER USER TESTQUOTA UNLIMITED ON TEST;
ALTER USER TESTQUOTA UNLIMITED ON TEST_INDEX;
Now i want to give all permission to apps user on TEST schema.. how i can do it?
Thanks

Hi hussein;
>
Note: 166247.1 - Unable to Grant Privileges from the Entire Custom Schema to APPS
GRANT
http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_9013.htm#SQLRF01603
Thanks for notes, but i wonder one thing. Even in notes its talk about give permisson for existing thing in schema. I mean i can give execute or create etc. to user if i have something in custom schema.
For instance if i have table in custom schema like customer then i can say (we assume test my custom schame name and customer is tablename)
grant select on TEST.custom to apps;
But if i dont want to create table by connecting TEST user, if i want to connect system as apps and want to create table in TEST schema what i should have to do?
thanks a lot for your effort

Similar Messages

  • Grant sequence privilege issue

    Hi,
    OS is windows server 2008
    Database oracle 11g r2
    i have created a schema with name SME having DBA privilege from SME i have created another user SME_USER using the same tablespace of SME with limited privileges. The sequence was created in SME user. I am accessing the tables from SME schema. I have given insert privilege to one of the table in SME to SME_USER,but while insertiing we are using the sequnece with name IPSRNO from SME schema. Now when i tried to insert value inot the table from SME_USER its giving me the output "Sequence does not exist". I have given the grant select privilege for sequence IPSRNO.
    Please guide me on this issue.
    Regards,
    Bobby

    See Using Synonyms in DML Statements in the DBA guide
    http://docs.oracle.com/cd/B28359_01/server.111/b28310/views003.htm
    >
    You can successfully use any private synonym contained in your schema or any public synonym, assuming that you have the necessary privileges to access the underlying object, either explicitly, from an enabled role, or from PUBLIC. You can also reference any private synonym contained in another schema if you have been granted the necessary object privileges for the underlying object.
    You can reference another user's synonym using only the object privileges that you have been granted. For example, if you have only the SELECT privilege on the jward.emp table, and the synonym jward.employee is created for jward.emp, you can query the jward.employee synonym, but you cannot insert rows using the jward.employee synonym.
    A synonym can be referenced in a DML statement the same way that the underlying object of the synonym can be referenced. For example, if a synonym named employee refers to a table or view, then the following statement is valid:
    INSERT INTO employee (empno, ename, job)
    VALUES (emp_sequence.NEXTVAL, 'SMITH', 'CLERK');
    If the synonym named fire_emp refers to a standalone procedure or package procedure, then you could execute it with the command
    EXECUTE Fire_emp(7344);

  • Grant Budget posting Issue ! ASAP !

    Hi Grant's Experts,
    Iam having an issue while posting Grants budget using BAPI 'BAPI_0036_CREATE'.
    In one my client's its posting successfully but in one of the clients its giving a message of
    'Enter a non-zero amount for at least one period'.
    and functional folks are able do post a budget manually in that client, did you folks faced this issue earlier.
    Please advice ! ASAP !
    Regards.

    Hello Ravikiran
    Since your request is rather sparse on details I can give only a rather broad answer.
    You say that calling the BAPI with the same input data (all periods have zero amount) works in one client but not the others. Now I see two possible reasons for that:
    (1) The message (probably FMKU 015) is a quite FI-specific message. Therefore, I assume that the FI-Customizing for "Grants budgets" differs on the two client.
    (2) If the client are on different SAP systems I can imagine that you have user-exits active on one system but not the other (the BAPI contains the BAdI exit 'BAPI_0036').
    Regards
        Uwe

  • Dynamic grant user role issue

    Hi friends,
    I created a role in oracle 10 and can be granted to user one by one. it works.
    But I try to grant the role to all users and get error.
    my code as (copy and modify from OTN)
    ====
    DECLARE
    l_schema VARCHAR2(30) := 'SCHEMA_OWNER';
    BEGIN
    FOR i IN (SELECT USERNAME
    FROM all_users
    WHERE username not in ('SYS','SYSTEM','OUTLN','DMSYS','TSMSYS','XDB','CTXSYS','WMSYS','DBSNMP','DIP','OLAP','OLAPSYS','MDSYS','EXFSYS','MDSYS'))
    LOOP
    BEGIN
    EXECUTE IMMEDIATE 'GRANT USERS_SELECT ||' TO i.USERNAME;
    EXCEPTION
    WHEN OTHERS THEN
    NULL;
    END;
    END LOOP;
    END;
    ORA-06550: line 10, column 41:
    PLS-00103: Encountered the symbol "TO" when expecting one of the following:
    * & = - + ; < / > at in is mod remainder not rem return
    returning <an exponent (**)> <> or != or ~= >= <= <> and or
    like LIKE2_ LIKE4_ LIKEC_ between into using || multiset bulk
    member SUBMULTISET_
    The symbol "* was inserted before "TO" to continue.
    SQL>
    I double check syntax is OK. what is wrong?
    Thanks for help!
    Jim

    Try:
    EXECUTE IMMEDIATE 'GRANT RAC_SELECT TO '|| i.USERNAME;And remove this part, which is for 99.99% a bug:
    EXCEPTION
    WHEN OTHERS THEN
    NULL;
    ENDOnly catch errors you expect...

  • DEP Opt Out Issue

    Using EMET 3.5 on Windows 7x64 bit – currently have DEP set to Opt Out – SEHOP to Opt Out and ASLR to Opt In. I tried experimenting by setting EMET to 'Maximum Security Settings' to see whether this would cause any problems
    with my programs – I then discovered that DEP on my system appears to be 'locked' at Opt Out. Cannot change it no matter what I try. (neither Opt In nor Always On)
    I have uninstalled 3.5 – installed version 3 – re-installed 3.5 – (tried manually purging Registry each time) but with no apparent change.
    Any ideas on how I can 'unlock' DEP Opt Out?

    Not set by group policy - (I don't have the key in HKLM)
    I figured that the setting was in in the boot config (hidden 100MB partition?) but not sure how to go about changing the value as I get
    "The boot configuration data store could not be opened. The system cannot find the file specified." - message when trying to use the BCDedit command.
    I did see a post in this forum on assigning a drive letter to the hidden partition to make it visible.
    I suppose I need some kind of tool to access the boot data? Or is there an easier way?
    Edit:
    Ok, have found info on how to go about this - thanks for your input!

  • BTFon opt out issue

    I opted out of BT Fon middle of last week and if I 'check status' via BT Fon webpage this confirms I have been 'opted out'. However, the Openzone and BT Fon hotspot still shows on my router (HH2 Type B).
    So what do I do know ?
    If you like a post, or want to say thanks for a helpful answer, please click on the Ratings Star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.
    Solved!
    Go to Solution.

    DS wrote:
    IanC wrote:
    Wait - it should happen automagically after a while.  If the wait gets too much, I believe a router reset will do the trick, but I don't use a HH2 so can't be sure.
    Good advice there Ian, but automagically!
    Guess you're only human too!!
    http://en.wiktionary.org/wiki/automagical

  • Artboard tool issue: opt click not cycling through artboards

    Hello all, first time poster.
    I'm working with the Artboard tool and am having trouble getting the artboard tool to function correctly. Whenever I select the artboard tool, then hold option and click in an effort to cycle through artboards it will not work. I can get the select to highlight when clicking the board name in the top left corner, but clicking in the middle of the board does nothing.
    See video of problem below:
    Artboard tool opt + click issue - YouTube
    Thanks to all in advance!

    It used to work that way in the Windows version of Illustrator, specifically in conjunction with the Shift and Enter key.
    Currently, it doesn't work in the Mac version.

  • Fix *most but not all* issues with Time Capsule, Time Machine and 10.5.3

    There are so many posts related to this issue, that I just wanted to create one short post with a how to fix / quick tips that seems to work for most but granted not all
    Issues: Cannot backup, gets stuck into preparing phase or backup volume seems to be corrupted or not working. User was able to use TM with TC w/o problems before update to 10.5.3
    1) Turn off TM
    2) reboot TC (unplug and plug back in or do it via Airport Utility)
    3) Disable energy saving and screen saving features (* see remark at the end)
    4) reboot iMac, Macbook or whatever you are using
    5) go to finder, unmount the backup volume
    6) force a manual backup in TM
    7) it will take up to 30 minutes preparing backup and then it should work
    (*) I found that if the Mac enters into sleep mode or a password protected screensaver sometimes the backup gets interrupted and one get an error message. This seems like a bug and I reported it to Apple.

    Hi! I've had the same problem and in my case I even couldn't access the Time Machine with the Airport Utility though I was properly connected with the network. Now it seems to work, and here's what I did:
    - I did a hard reset of TC by pressing the reset button for 5 sec. until the light starts flashing
    - I set up the whole network/airport/tc preferences again (what you always have to do after hard reset)
    - I manually startet a backup.
    When I manually started the back up for the first time, the TM preferences said "Preparing" and then stopped without backing up anything.
    I restarted the backup again (manually) and finally it worked like described in this post: "Preparing" for roughly half an hour.
    In this time, Time Capsule/Machine finds out, what files needed to be backed up. After that Preparation period, time machine started backing up as usual.
    All you have to do is hard resetting and setting up the Time Capsule from new. You DO NOT have to delete the hard drive!!!
    Message was edited by: DoubleMumboJumbo
    Message was edited by: DoubleMumboJumbo

  • My iMac 27" Late 2012 has Image Persistence Problem

    I'm wondering what to do about an annoying image persistence problem on my 27" late 2012 iMac. I got the iMac just a few days ago. Monday actually, so 4 days ago.
    It's the 3.4GHz i7, 8GB, NVIDIA 680MX 1TB fusion drive model.
    Overall it has become the love of my life, but the image persistence thing is getting harder to ignore. This happens after only a few minutes of use. If I follow Apple's instruction on dealing with LCD image persistence, I can make it go away for a while, but it comes back very quickly.
    It is extremely noticeable on a plan dark background. It looks as thought he screen has been left on for a very long time with the same windows open, but it occurrs in less than 5 minutes of use with nothing more intense than a bit of web surfing.
    I've read that this is happening a great deal on these new iMacs, particularly teh 27" machines.
    While the problem seems to be known to those of us afflicted I don't know if Apple has acknowledged an issue or not.
    Here is a sample of the complaints: http://forums.macrumors.com/showthread.php?t=1509571
    I can make the ghost image vanish by bringing up an all white scree for a minute or so or using LCD Scrub.
    I'm wondering if anyone else has foun a solution other than asking for a replacement computer, which Apple seems to be granting on this issue?

    Avoiding image persistence on Apple (IPS) displays
    Avoiding image persistence on Apple LCD displays
    If you cannot resolve the issue yourself, then return the computer for a replacement. You may do this freely within 14 days from date of purchase, so don't delay.

  • Unit testing packages in sql developer

    It appears that the specify parameters window is blank for packaged functions which means the test call fails when run. Is this a grant or synonym issue ( or something similar ) or is there an issue with testing packages via the unit test interface of sql developer. Thanks in advance.

    Seems that you cannot right click on the packaged schema object from the schema connection i.e. you have to create the test from the unit test tab and then choose the object type i.e select packages and then the packaged function or procedure. This method results in the Specify Parameters window having the correct signature displayed. Procedures or methods can be created via the unit test tab or the active connection tab.

  • OS Commands not executing through published java procedure... :(

    Hello all :)
    Im trying to get a PL/SQL block to delete a file out in the OS. Theres plenty of examples out there and the one I got came from burleson consulting, and incorporates a java method and a call to java wrapped in PL/SQL.. after all suggested grants, using the procedure yields no result. Here is the source code
    -- java procedure used to execute OS command
    CREATE OR REPLACE AND COMPILE JAVA SOURCE NAMED "Host" AS
    import java.io.*;
    public class Host {
    public static void executeCommand(String command) {
    try {
    String[] finalCommand;
    if (isWindows()) {
    finalCommand = new String[4];
    finalCommand[0] = "C:\\WINDOWS\\system32\\cmd.exe";
    finalCommand[1] = "/y";
    finalCommand[2] = "/c";
    finalCommand[3] = command;
    else {
    finalCommand = new String[3];
    finalCommand[0] = "/bin/sh";
    finalCommand[1] = "-c";
    finalCommand[2] = command;
    final Process pr = Runtime.getRuntime().exec(finalCommand);
    new Thread(new Runnable() {
    public void run() {
    try {
    BufferedReader br_in = new BufferedReader(new
    InputStreamReader(pr.getInputStream()));
    String buff = null;
    while ((buff = br_in.readLine()) != null) {
    System.out.println(buff);
    try {Thread.sleep(100); } catch(Exception e) {}
    br_in.close();
    catch (IOException ioe) {
    System.out.println("Exception caught printing process output.");
    ioe.printStackTrace();
    }).start();
    new Thread(new Runnable() {
    public void run() {
    try {
    BufferedReader br_err = new BufferedReader(new
    InputStreamReader(pr.getErrorStream()));
    String buff = null;
    while ((buff = br_err.readLine()) != null) {
    System.out.println(buff);
    try {Thread.sleep(100); } catch(Exception e) {}
    br_err.close();
    catch (IOException ioe) {
    System.out.println("Exception caught printing process error.");
    ioe.printStackTrace();
    }).start();
    catch (Exception ex) {
    System.out.println(ex.getLocalizedMessage());
    public static boolean isWindows() {
    if (System.getProperty("os.name").toLowerCase().indexOf("windows") != -1)
    return true;
    else
    return false;
    -- PL/SQL wrapper to publish java method.
    CREATE OR REPLACE PROCEDURE host_command (p_command IN VARCHAR2)
    AS LANGUAGE JAVA
    NAME 'Host.executeCommand (java.lang.String)';
    these are the grants I am issuing on install:
    BEGIN
    DBMS_JAVA.grant_permission ('LOANADMIN', 'java.io.FilePermission',
    '<>', 'read ,write, execute, delete');
    DBMS_JAVA.grant_permission ('LOANADMIN', 'SYS:java.lang.RuntimePermission',
    'writeFileDescriptor', '');
    DBMS_JAVA.grant_permission ('LOANADMIN', 'SYS:java.lang.RuntimePermission',
    'readFileDescriptor', '');
    END;
    -- and this is the block I am using to execute the OS command..
    1 BEGIN
    2 host_command (p_command => 'DEL C:\PRETEND.TXT');
    3* END;
    SQL> /
    PL/SQL procedure successfully completed.
    Everything returns as successfully completed. But the file is not deleted from the server. I know im missing some kind of privilege. Can anyone help me? Thanks
    Mo

    Burleson consulting...
    Says it all. Exposure on the Net doesn't mean quality.
    Burleson code usually has not been tested, is not robust, and quite often doesn't work.
    Why didn't you implement run_cmd, as suggested earlier?
    THAT works!
    Sybrand Bakker
    Senior Oracle DBA

  • Several FKs to the same table

    Hello,
    I have a master table with several Forign Keys – all of them to the same table. In order to display a column from the lookup table I'm using a select like:
    select     m.code,
         m.lcode1, f1.label,
         m.lcode2, f2.label,
         m.lcode6, f6.label
    from       MTABLE m,
         FTABLE  f1,
         FTABLE  f2,
         FTABLE  f6
    Where      m.lcode1 = f1.code  and
         m.lcode2 = f1.code and
         m.lcode6 = f6.codeIs this the correct and optimal way of doing it?
    Thanks for the help,
    Arie.

    Arie,
    It sounds like perhaps the best way might be to create your forms/reports based upon a view instead of the underlying tables (especially if you are running 10gR1 or 10gR2).
    I say this because:
    1. With 10g (maybe even back in 9i?), you can create INSTEAD_OF triggers, so instead of manipulating (insert, update or delete) the view, the trigger has the code to perform the action to the underlying base tables instead.
    2. This makes development easier, since all your joins are pre-defined in one place instead of re-creating them in numerous places.
    3. Grants can be issued to the views, instead of the various tables, with just select privs to the lookup tables.
    4. Change your join conditions to use the JOIN syntax, LEFT OUTER JOIN, etc., whatever is appropriate for your query. It's much easier to (eventually) figure out and maintain when you have multiple join conditions (especially against multiple tables), when any or all of them could null.
    For details on the JOIN syntax or the INSTEAD_OF triggers, try the on-line Oracle documentation (I'm at home today and don't have all my reference material handy).
    I'm using the above with great success (so far). I'm swamped with different work projects and different bosses and different priorities, so anything that makes my life easier is worth a couple hours of research, even if I have to do it from home in my off-time (if I can fit it into my schedule). I've been working on an HTMLDB (AppEx) application for over a year now, but I've probably only spent about 40-60 hours actually working on it, so I'm always forgetting most of what I've previously learned and done.
    Bill Ferguson

  • Is there any way I can convert s-video to firewire in HD?

    I am using sony video cameras with s-video or RCA outputs and I would like to use the firewire into to the Mac. Is there a device I can use to convert it to the Mac?

    I'm with Grant on the issue of your camera...  Pretty much everything since the turn of the century (since Digital 8 more specifically) has been equipped with FW out to assist in capture. (More recently FW disappeared when videocams went tapeless.)
    From a hardware standpoint you can capture VHS using either of those suggested devices (I favor the Canopus or DataVideo Digital-to-Analog convertors) but you're probably going to run into problems with the software end of the capture. I'm not sure that iMovie knows what VHS is, and unless you have an older copy of Final Cut Pro stashed away you're in trouble there too since the latest version (Final Cut Pro X) doesn't have much support for tape capture, much less VHS capture.
    The smart money is to take the $200-300 you'd invest in convertors and buy a Flip or something that iMovie can talk to. Then you can get to the business of making that movie.

  • [SOLVED] ttf-oxygen isn't then is then isn't a dependency

    I installed oxygen today, which had ttf-oxygen as a dependency. I almost immediately uninstalled oxygen with -Rs, but pacman didn't uninstall ttf-oxygen. I checked, and suddenly ttf-oxygen was marked as a dependency of other packages. Regardless, I then uninstalled ttf-oxygen manually. This worked fine (I think pacman normally complains if you attempt to uninstall required dependencies?). What is going on here?
    Some lines omitted:
    $ sudo pacman -S oxygen
    Packages (3) frameworkintegration-5.6.0-1 ttf-oxygen-1:5.2.0-1 oxygen-5.2.0-1
    (1/3) installing ttf-oxygen
    $ sudo pacman -Rs oxygen
    Packages (2) frameworkintegration-5.6.0-1 oxygen-5.2.0-1
    $ pacman -Qi ttf-oxygen
    Required By : backintime chromium kdebase-workspace mplayer steam
    Install Reason : Installed as a dependency for another package
    $ sudo pacman -Rs ttf-oxygen
    (1/1) removing ttf-oxygen
    Last edited by Salkay (2015-01-29 04:20:18)

    Yeah, the more I think about it the more I think you're right. And that karol was right about this being an opt-depend issue.
    Due to some change in pacman or some package's opt-depends recently, my orphan removal alias
    pacman -Rsn $(pacman -Qqtd)
    didn't remove something it always had in the past (related to makedeps of an AUR package). I eventually figured out I had to add an extra -t
    pacman -Rsn $(pacman -Qqttd)
    to get it to remove one of the packages which was an opt-depend of an otherwise unrelated package I have installed.
    Also, the bit of pacman(8) I quoted is probably out of date. It's from archlinux.org, but was last updated in 2013...
    Last edited by alphaniner (2015-01-29 05:03:52)

  • Forms tracking information

    HI experts,
    As i am new to Cin functionality could you please tell me in what way i have to handle forms tracking in SAP.
    I mean what are the master datas which are to be inco-operated with the information.
    At the time of sales order where i have to enter the form information so that it should have effect in excise.
    If we wanna have a report out of it is there any standard report exsiting.
    thanks in advance for the support to u all.
    Regards,
    Indu

    Hi,
    You have to maintain form tracking in J1Ih t code
    To access the form tracking function, from the SAP Easy Access screen, choose Indirect Taxes ® Forms Tracking ® Create/Change/Display.
    For understanding purpose
    Form Tracking
    You use this function to record and monitor forms relating to tax concessions. You can record the forms that your customers send you against their sales orders, and those that you send to your vendors against your purchase orders.
    You can also use these functions for monitoring other routine activities, for example, when you transfer money to your personal ledger account (PLA) using a TR6 challan.
    Features
    Forms for concessional sales tax must be submitted by the buyer after the goods have been delivered or after it has paid the invoice. In the case of interstate concessional sales tax rate sales, the concessional rate is granted against the issue of C-forms.
    Exemption from excise duty may be granted by the excise authorities under certain circumstances, for example, on exports or deemed exports. In such cases, the buyer has to produce certain statutory forms to claim concessional rates of excise duty or exemptions. The exporter has to provide the vendor with proof of export (form AR3A).
    If the buyer is unable to furnish the certificate at the appropriate time, material supply should be at the normal rate of sales tax or excise duty.
    Activities
    To access the form tracking function, from the SAP Easy Access screen, choose Indirect Taxes ® Forms Tracking ® Create/Change/Display.
    Regards,
    Murthy

Maybe you are looking for

  • 2 gmail accounts, how can I access both of them?

    I just got the Droid.  I have 2 gmail accounts, one for work and the other personal.  How can I view them both?  I added both accounts and have 2 icons.  But both icons are currently showing work emails.    Thanks for any help anyone can give me!

  • WBS budget reduction at the time of PO creation

    Hi, 1. When a PO is created against a WBS element, at this point is there any budget check? If so is it against RELEASED budget or TOTAL BUDGET. 2. If at the time of PO creation the budget check is against TOTAL, does the system check at the time of

  • A suggestion for Communicator and other clients - "Projector" mode

    This is a bit whimsical, but also a bit practical... There should be a status of "Projecting Desktop" that can be set.  I believe, at least on Vista & 7, the OS can indicate if a projector is connected and being used. If so, the client can indicate t

  • How to set the Home screen blank in Iphone.

    I use iTunes to arrange icons in my Iphone Screen, i arranged it with 4 screens , ist blank, 2nd to 4th with some apps icon. When i sync , the blank home screen is occupied by 2nd and 3rd by 4th and 4th is set as 3rd. So how can i set by Home screen

  • Merge Two Macbook iPhoto libraries Onto 1 External HD

    Hi. I have backed up my iPhoto library from what I'll call MacBook "a" onto a 1tb external hard drive. I did this buy dragging the iPhoto icon over. It worked. I also have a very small iPhoto library on Macbook "b." I would like to merge this Macbook