Can I give access to truncate one table only ?

Hi,
We have system where it is deleting one table and inserting records using pro-cobol in a table owned by another schema. It means user b is inserting records in a's table i.e. t. Can I give access to truncate only a.t ? delete any table or drop any table will give access to b to truncate any table in 'a'. I do not want this. How can I achive this ?
thanks & regards
PJP

As Justin already said there is no separate right to simple GRANT TRUNCATE ON TABLE to user.
From the docs: http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_10006.htm#sthref9966
To truncate a table or cluster, the table or cluster must be in your schema or you must have DROP ANY TABLE system privilege.
So the best way would be to encapsulate this login in a packaged procedure as described by Justin.

Similar Messages

  • How can I give access to a new user for WebView Reporting Log In //IPCC Enterprise

    Hi All,
    How can I give access to a new user for the WebView Reporting Log In ?
    I have IPCC Enterpise 7
    Thanks
    Andres

    Two options: 1. In configuration manager on the AW, use the user list tool to add the users domain account and select Webview access permissions. 2. Using standard Microsoft Active Directory tools or the Cisco Domain Manager tool, add the desired AD user account into one of the "WebView" security groups created within the Cisco OU.

  • Can I give access to ICQ through the Oracle Messenger client?

    Can I give access to ICQ through the Oracle Messenger client, is similar JIT in Jabber?

    you can try, but it will not be supported by Oracle Support.

  • If I download the new iPhoto can I still access the old one

    If I download the new iphoto can I still access the old one ?

    No - when you update iPhoto you have only the latest version and wne ou run the new version yoru iPhoto library is upgraded fo use by it and can no longer be used by an earlier version
    LN

  • HT4352 How can I get Home Sharing turned on my Apple TV if I have lost my remote control and my remote apps on my ipad and iphone can not get access to my apple tv, only my itunes.

    How can I get Home Sharing turned on my Apple TV if I have lost my remote control and my remote apps on my ipad and iphone can not get access to my apple tv, only my itunes.

    You can't, you will need to get a new remote.

  • How give a data from one table to another table

    Oracle forms6i
    Hai All
    I had two table in table data base and from one table the data has to move to another table using forms
    The two tables are
    First table name temp_att from this the data has to move and the data are
    BARCODE BARDATE BARTIME Row_number
    0000000009949296 08-NOV-09 0800 1
    0000000009949296 08-NOV-09 1230 2
    0000000009949296 08-NOV-09 1245 3
    0000000009949296 08-NOV-09 1645 4
    0000000009949297 08-NOV-09 0815 1
    0000000009949297 08-NOV-09 1230 2
    0000000009949297 08-NOV-09 1300 3
    0000000009949297 08-NOV-09 1650 4
    Another table dail_att and the fields are
    barcode,bardate,intime(mintime),outtime(maxtime),intrin(nextmintime)intr,(nextmaxtime)
    Pls give some solutions to solve this problem.
    Thanks & Regards
    Srikkanth.M

    Hai
    Could pls explain me little bit clear
    I have explained my problem clearly in the last Post
    This is the requirement
    I had two table in table data base and from one table the data has to move to another table using forms
    The two tables are
    First table name temp_att from this the data has to move and the data are
    BARCODE BARDATE BARTIME Row_number
    0000000009949296 08-NOV-09 0800 1
    0000000009949296 08-NOV-09 1230 2
    0000000009949296 08-NOV-09 1245 3
    0000000009949296 08-NOV-09 1645 4
    0000000009949297 08-NOV-09 0815 1
    0000000009949297 08-NOV-09 1230 2
    0000000009949297 08-NOV-09 1300 3
    0000000009949297 08-NOV-09 1650 4
    Another table dail_att and the fields are
    barcode,bardate,intime(mintime),outtime(maxtime),intrin(nextmintime)intr,(nextmaxtime)
    Pls give some solutions to solve this problem.
    Thanks & Regards
    Srikkanth.M

  • My sister was receiving my messages on her iPad because we were hooked up to the same Apple ID. I made a new id and registered to my phone and MacBook only. Is she still getting my message AND can she still access my old ones?

    When trying to fix the problem I signed out of the old iCloud account on my phone and computer, created a new account and then registered my phone and computer to this new account. I also made sure to check that send/receive was only for my phone number and Apple ID email. I want to make sure that she can no longer access my old and new messages. Thank you!

    She won't after the change.
    Note you can use the same Apple ID in
    Settings > iTunes & App Store > Apple ID: > here to share purchased music, apps and books.
    Other than that each of you should use your own Apple ID for iMessage, FaceTime, iCloud, Game Center, etc.

  • Can you check for data in one table or another but not both in one query?

    I have a situation where I need to link two tables together but the data may be in another (archive) table or different records are in both but I want the latest record from either table:
    ACCOUNT
    AccountID     Name   
    123               John Doe
    124               Jane Donaldson           
    125               Harold Douglas    
    MARKETER_ACCOUNT
    Key     AccountID     Marketer    StartDate     EndDate
    1001     123               10526          8/3/2008     9/27/2009
    1017     123               10987          9/28/2009     12/31/4712    (high date ~ which means currently with this marketer)
    1023     124               10541          12/03/2010     12/31/4712
    ARCHIVE
    Key     AccountID     Marketer    StartDate     EndDate
    1015     124               10526          8/3/2008     12/02/2010
    1033     125               10987         01/01/2011     01/31/2012  
    So my query needs to return the following:
    123     John Doe                        10526     8/3/2008     9/27/2009
    124     Jane Donaldson             10541     12/03/2010     12/31/4712     (this is the later of the two records for this account between archive and marketer_account tables)
    125     Harold Douglas               10987          01/01/2011     01/31/2012     (he is only in archive, so get this record)
    I'm unsure how to proceed in one query.  Note that I am reading in possibly multiple accounts at a time and returning a collection back to .net
    open CURSOR_ACCT
              select AccountID
              from
                     ACCOUNT A,
                     MARKETER_ACCOUNT M,
                     ARCHIVE R
               where A.AccountID = nvl((select max(M.EndDate) from Marketer_account M2
                                                    where M2.AccountID = A.AccountID),
                                                      (select max(R.EndDate) from Archive R2
                                                    where R2.AccountID = A.AccountID)
                   and upper(A.Name) like parameter || '%'
    <can you do a NVL like this?   probably not...   I want to be able to get the MAX record for that account off the MarketerACcount table OR the max record for that account off the Archive table, but not both>
    (parameter could be "DO", so I return all names starting with DO...)

    if I understand your description I would assume that for John Dow we would expect the second row from marketer_account  ("high date ~ which means currently with this marketer"). Here is a solution with analytic functions:
    drop table account;
    drop table marketer_account;
    drop table marketer_account_archive;
    create table account (
        id number
      , name varchar2(20)
    insert into account values (123, 'John Doe');
    insert into account values (124, 'Jane Donaldson');
    insert into account values (125, 'Harold Douglas');
    create table marketer_account (
        key number
      , AccountId number
      , MktKey number
      , FromDt date
      , ToDate date
    insert into marketer_account values (1001, 123, 10526, to_date('03.08.2008', 'dd.mm.yyyy'), to_date('27.09.2009', 'dd.mm.yyyy'));
    insert into marketer_account values (1017, 123, 10987, to_date('28.09.2009', 'dd.mm.yyyy'), to_date('31.12.4712', 'dd.mm.yyyy'));
    insert into marketer_account values (1023, 124, 10541, to_date('03.12.2010', 'dd.mm.yyyy'), to_date('31.12.4712', 'dd.mm.yyyy'));
    create table marketer_account_archive (
        key number
      , AccountId number
      , MktKey number
      , FromDt date
      , ToDate date
    insert into marketer_account_archive values (1015, 124, 10526, to_date('03.08.2008', 'dd.mm.yyyy'), to_date('02.12.2010', 'dd.mm.yyyy'));
    insert into marketer_account_archive values (1033, 125, 10987, to_date('01.01.2011', 'dd.mm.yyyy'), to_date('31.01.2012', 'dd.mm.yyyy'));
    select key, AccountId, MktKey, FromDt, ToDate
         , max(FromDt) over(partition by AccountId) max_FromDt
      from marketer_account
    union all
    select key, AccountId, MktKey, FromDt, ToDate
         , max(FromDt) over(partition by AccountId) max_FromDt
      from marketer_account_archive;
    with
    basedata as (
    select key, AccountId, MktKey, FromDt, ToDate
      from marketer_account
    union all
    select key, AccountId, MktKey, FromDt, ToDate
      from marketer_account_archive
    basedata_with_max_intervals as (
    select key, AccountId, MktKey, FromDt, ToDate
         , row_number() over(partition by AccountId order by FromDt desc) FromDt_Rank
      from basedata
    filtered_basedata as (
    select key, AccountId, MktKey, FromDt, ToDate from basedata_with_max_intervals where FromDt_Rank = 1
    select a.id
         , a.name
         , b.MktKey
         , b.FromDt
         , b.ToDate
      from account a
      join filtered_basedata b
        on (a.id = b.AccountId)
    ID NAME                     MKTKEY FROMDT     TODATE
    123 John Doe                  10987 28.09.2009 31.12.4712
    124 Jane Donaldson            10541 03.12.2010 31.12.4712
    125 Harold Douglas            10987 01.01.2011 31.01.2012
    If your tables are big it could be necessary to do the filtering (according to your condition) in an early step (the first CTE).
    Regards
    Martin

  • I can no longer access Twitter from ONE Mac Mini on my network

    Almost every time I try to go to twitter.com on one of my Mac Minis in either Safari or Firefox, I am unable to.
    On Safari I get:
    Safari can’t open the page “https://twitter.com/” because Safari can’t connect to the server “twitter.com”.
    On Firefox I get:
    Unable to connect
    Firefox can't establish a connection to the server at twitter.com.
    * The site could be temporarily unavailable or too busy. Try again in a few
    moments.
    * If you are unable to load any pages, check your computer's network
    connection.
    * If your computer or network is protected by a firewall or proxy, make sure
    that Firefox is permitted to access the Web.
    Every now and then, about 1 out of 10 times, the page will load but it won't update my feed and I am unable to tweet. The twitter app from the app store can not connect either for some reason. Twitter.com works on all other computers on my network except this one. I have cleared my cache, history, cookies, and nothing is working. Anyone have any ideas what the problem could be?
    Message was edited by: iDiscussAppleStuff

    I had this problem with my MacBook Pro. The twitter app would time out trying to connect to the server, and safari just refused to load the twitter web page. All my other apple devices on the other hand worked perfectly. I cleared the cache, history, rebooted, and added the twitter app to my security list, to allow all access. It still didn't do the trick. I gave up for awhile hoping it would fix itself. I took my computer to a coffee shop and the twitter app worked. So I figured, I would reboot my time capsule, just for the heck of it, and It worked..!

  • How can i transfer some fields from one table to another using a trigger

    hi,
    i have two tables;sales and accounts.i want in my accounts form to enter salesid which is then validated and if it exists in the sales table, some fields are copied to the accounts table automatically.how do i go about this.thanx

    hi,
    the code u gave me is not running.let me explain in
    detail.i have two tables;sales and accounts in my
    database (oracle 9i).each have a corresponding form
    in the developer window.these tables are linked using
    saleid.this id is entered and saved in the
    database.when the person is paying in the cash
    office,the saleid on an invoice form is entered on
    the accounts form.it is supposed to search the sales
    table and if the ids match,some records are extracted
    from the sales table to the accounts form instead of
    the accounts clerk entering the details all over
    again.these details will be used to generate a
    receipt an then the record on the accounts form is
    saved to the database.the contents of the two tables
    are:
    sales(saleid(pk),startno,endno,quantity,amount,saledat
    e)
    accounts(receiptno(pk),saleid,startno,endno,quantity,a
    mount).
    please advice and thanks very muchWhat does it mean "not running" ?
    Sure, it is running.
    Did you tested my example ?
    And it does exactly what you need.
    You didn't provided table structures and insert statements,
    that's why i showed you the method on 2 emp- tables.
    But it is exactly, what do you need.
    Change my emp_1 on your sales,
    and my emp_2 on your accounts,
    and compare the results.
    If you cannot directly copy and paste
    and say to your teacher / chief "My homework / task is ready"
    it doesn't mean, that the solution didn't provided ...

  • How can I lock access to Firefox so that only I can fo on the internet and not other users of my computer?

    I have a computer which I let several other people use, but I don't want them to have access to the internet. I would like to see if there is a "lock" choice so that no one else can access the internet - or another means? I've tried to select "Lock" to the whole computer (when it gives you the "lock," "shut down," "sleep," etc. choices - and it says the computer is locked but the next time I try it it opens the computer (and internet) just like it never was "locked" so I don't even know how to effectively lock the whole computer either as a second option to block access ot the internet!

    I had the same problem (issue with Google Apps and XUL runner etc) of needing to downgrade. To pull it off I went to the main Firefox download page (http://www.mozilla.com/en-US/firefox/new/) and followed the link to OTHER SYSTEMS AND LANGUAGES which took me to a page that included a link on the right hand side to download Firefox 3.6.16.
    (The stuff below pertains to Windows. If you are on a different OS your steps will vary)
    To do the actual downgrade (and there may be some other steps that would be wise to take but this is what worked for me) I merely renamed "c:\Program Files\Mozilla Firefox" to "c:\Program Files\Mozilla Firefox bad" (in case I want to try troubleshooting the issue later) and then ran the "Firefox Setup 3.6.16.exe" file that downloaded from that link. That solved my problem and I'm back and running 3.6.16.
    In case you don't feel comfortable changing things in your Program Files directory you might try a different approach and try uninstalling via the Control Panel and Add and Remove Programs (or whatever it is called on the version of Windows you are on) and then running the installation file. I didn't go that route so I can't tell you how well that might work.

  • Can't find and replace on one column only

    in Excel I could find and replace something that where on one column.
    In Numbers I can find and replace on all the document, active sheet or formula, but not on the selected column i.e.
    Does anyone know any trick for that?
    Cheers
    Olivke

    Hi Olivke,
    Welcome to Apple Discussions and the Numbers '09 forum.
    Of the three choices, the one that seems most immediately useful in "on the active sheet."
    To use that, you'll have to isolate the column (or it's contents) on a separate sheet, and make that the 'active sheet.'
    I would recommend making duplicates of your file to use when trying each of these methods.
    Start by inserting a new sheet. Then go back to the 'current sheet', select the column, and Copy.
    Click on the new sheet to bring it to the front, click on the top body cell (B2) of the empty table that came with that sheet and Paste.
    Do Find/Replace, restricting the action to the Current Sheet.
    Select the column, Copy, return to the original, Select the column, Paste.
    Second method...
    Starts the same way, but this time select and delete the table that comes with the New Sheet.
    On the original table, click on any cell to make the table active and show the column and row reference tabs.
    Use the mouse to grab the reference tab of the column you want to search, and drag it upward until you see it separate from the rest of the table. Continue to drag it until it is completely separated from the table, then drop it on the sheet. In the sidebar, you'll see a new table icon for this one column table. Drag the icon down to a position below the icon for the new sheet you created above.
    When you drop the icon, the new sheet will be come the current sheet, and will come to the front with the one column table selected.
    Do Find/Replace, restricting the action to the current sheet.
    When finished, drag the one column table back to its original sheet, using the icon in the sidebar.
    On the original sheet, click on a cell to make the one column table active. Grab the column reference tab and drag the column back to its original position in the original table.
    Done.
    Regards,
    Barry

  • I can no longer access or use my mail only through iCloud.  I have made no changes to cause this., I can no longer access or use my mail only through iCloud.  I have made no changes to cause this.

    I can no longer use my mail, only can access through icloud. I have made no changes or updates to create this problem.  TWC did take over my internet provider and suddenly I started have a myriad of issues.  I am in the process of changing providers to ATT because TWC does not support Safari.

    How does TWC not support Safari? (They're lying)
    You're using Apple Mail right?
    What happens when you launch mail?
    Please provide all errors you see.

  • Custom Excel macros can't be accessed by new admin user, only original developer

    Excel macros created several years ago using NI Measure are not accessible to users other than the original developer.  We are using Win 2000 OS, NI Measure version 1.2 upgraded from version 1.0, and Microsoft Office Excel 2003 SP1.  Even if the user has the same admin rights as the original developer of the macro, they cannot access it.  The macro is accessible and works fine when the original developer logs into the win 2000 pc with his login name and password.  Has anyone else had this problem?  Does anyone know how we can resolve this issue?
    Thanks,
    Alex H.

    Alex,
    The first thing to try would be to install the patch for Measure (Measure Patch 1.2c) if you haven't already.  Do you have this same issue when trying to access Macros not created by Measure?  Unfortunately, the best I could find on Macro and Measure issues were the following KBs. 
    General Measure Support KB
    Macro and Measure Support KB
    Hope this helps!
    Andy F.
    National Instruments

  • Can't communicate with HP8600 from ONE computer only .. all others work

    I'll try to provide as much detail here as I can . But ... my HP8600 works well with all devices in my home but one desktop. Unplugging my wireless router solves the problem ... but ... only temporarily . problem returns . Three other wireless laptops and devices communicate just fine. Desktop computer is connected to Wireless Router via ethernet cable.
    OS = Windows 8.1 , 32 bit
    Wireless Router = Netgear Nighthawk R7000
    HP 8600 N911g, SW Version = 028.000.1315.000, Driver = 09.84.00.1173, firmware=CKP5CN1334ER,
    uninstalled and reinstalled HP software with no luck.
    Wirelss router shows device connected and active... and all other devices can print to it
    Windows updates , Netgear updates, and HP8600 updates are ... well .. all up to date.
    This is driving me crazy !!! Great printer , but ... geez ??? Any help is DEEPLY appreciated

    Hi mjeguitar,
    I understand the printer is working wirelessly and wired with all of your computers except for one. Are the others computers 8.1 as well or just the one that is not working well?
    From what you described, the printer will work with the computer after you unplug the router and plug it back in, but only temporarily. For diagnostic purposes, would you be able to connect an Ethernet cable from this computer to the router as you have done with the desktop? I just want to be able to eliminate the wireless within that computer.
    I can't help but wonder if for some reason that particular computer is loosing connection to the network, thus loosing connection to the printer. Because the other computers continue to communicate with the printer, I feel the issue is related to the computer and not the printer.
    Let me know how this works out, and post back with the answers to the few questions I have asked, I will gladly follow up with our next troubleshooting steps.
    Please click the Thumbs up icon below to thank me for responding.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Sunshyn2005 - I work on behalf of HP

Maybe you are looking for