BITOR, BITXOR, BITNOT - where to place them?

Currently, Oracle has only one bitwise operator - BITAND. All other bitwise operators, such as
BITOR, BITXOR, BITNAND, BITNOR, BITXNOR and BITNOT, must be derived from BITAND
and/or other (from it) consecutively derived operators.
I've created three functions for three bitwise operators : BITOR, BITXOR and BITNOT:
-- BITOR
CREATE FUNCTION "SYS"."BITOR" (x IN NUMBER, y IN NUMBER) RETURN NUMBER AS
BEGIN
  RETURN (x + y - BITAND(x, y));
END;
GRANT EXECUTE ON SYS.BITOR TO PUBLIC;
CREATE PUBLIC SYNONYM "BITOR" FOR "SYS"."BITOR";
-- BITXOR
CREATE FUNCTION "SYS"."BITXOR" (x IN NUMBER, y IN NUMBER) RETURN NUMBER AS
BEGIN
  RETURN (BITOR(x, y) - BITAND(x, y));
END;
GRANT EXECUTE ON SYS.BITXOR TO PUBLIC;
CREATE PUBLIC SYNONYM "BITXOR" FOR "SYS"."BITXOR";
-- BITNOT
CREATE FUNCTION "SYS"."BITNOT" (x IN NUMBER) RETURN NUMBER AS
BEGIN
  RETURN (-1 - x);
END;
GRANT EXECUTE ON SYS.BITNOT TO PUBLIC;
CREATE PUBLIC SYNONYM "BITNOT" FOR "SYS"."BITNOT";The functions are created in SYS schema and works well. My question is:
whenever a system-wide accessible function (a function available to all users just like
any other Oracle's built-in function) is to be created, what is appropriate place to
create it? Is it SYS, SYSTEM or SYSAUX schema?
Also, if anyone has a better coding solution for these functions (operators), please let
me know.
Thanks a lot.
Albert

oracle's long standing recommendation is that you do
not put anything in any of the supplied oracle
accounts (sys, system, sysaux). putting something
there could affect later patches or upgrades -
perhaps oracle will choose to create it's own object
which the same name as the one you made, and either
the upgrade fails, or you lose your objects.Yes, that's it. Understood. Thanks.
Albert

Similar Messages

  • I have a complaint about my mac book pro being slippery. Why do these expensive computers that we as consumers purchase if you set them on a couch slip off no matter where you place them on the couch?

         Hi, my Mac Book Pro 15 inch lap top if i set it on the couch no matter where I place it slips off and luckily so far I have caught it before it falls onto the floor and gets ruined, of which I am super afraid of, due to what I initially paid for it as the consumer. Also, the couch is not made of slippery material at all. Also, when using it on my lap while watching tv, and multi tasking while doing my college homework, it even slides off of my lap at times. Why is it called a lap top then when it's not working as one? Are we to wear rubber pants that grip your products? Also, Why do you place on your Apple website that in one area a satin cover is available in the teal color, and then in another area it's discontinued? I believe it would be simpler if Apple would just remove the product all together from the purchasing website once any product becomes discontinued. Also, I was sitting here at home waiting for a reply about the satin cover in teal no longer being available period or that it has shipped, but yet I ended up calling Apple altogether myself and finding this all out that the only available color is the black. It would've been nice to have recieved an e-mail or a phone call on why it wasn't going to be shipped, or shipping instead of having to do customer services job and doing the leg work myself. Also, why is it that no one also even tells a consumer about the classes that were offered to a new consumer for 14 days after purchase of paying the $99.00s to learn about their macs of any kind? If I had known about such a program, I surely would've signed right up for it. Now I am being told that I can only take one clas at a time or something?!? I seriously wish I was told about this as a consumer of the Mac Book Pro 15 inch, because I would've purchased that offer right away, and now I am stuck and can no longer do it. Also I have had my computer since October of last year. So, I am in college as becoming a graphic designer within a degree of an Associates of Science and am now still struggling to learn the computer, and the programs I pruchased as well at the time of purchase, along with an Epson printer, the magic mouse, and the one year warranty. As for this all, I do believe that Apple needs to make a better bottom to the Mac Book Pro's within a much better quality for the price we pay as consumers, and all other lap tops and/or Notebooks in making them slide proof. The tiny rubber spots on the bottom of the lap tops or any Apple computer similar to mine just needs a better quality improvement to us consumers I spent good money on this purchase, I think now I deserve a rubberised protective cover for free for the slipperyness, and also since I was never told about the program for the classes of which a consumer  was to pay $99.00s for, I think as a good paying quality consumer for Apple's products, I now deserve these classes for free as well.
    Sincerely,
    Kim

    Hi shldr2thewheel,
         it has been a while since we have last spoke, I would like to let you know, I am still working on getting used to the switch from windows to a Mac/Apple system. I do have a new question for you, I did purchase In Design CS5.5 through journeyed.com through Cuyahoga Community College of which I attend as a student, is there a way to purchase an online book through iTunes to learn that as well? Also, you know me, the struggling student, I would also, when and if the book can be purchased through the iTunes, would need to know if you do know of a much easier book for struggling students like myself and at a reasonable price as well for the In Design CS5.5 program. Our campus bookstore had closed early, and, so did the colleges library and our local library here where I do live, so, I cannot go to either place to purchase a book or to take out a book, plus cash funds are low at this moment as well but, I do have money left on the iTunes account to use, if it can be used. So, can it be used, the iTunes money, towards finding a low priced online book? I am in great need of assistance as I have a project due for my one course for this Tuesday, September 4, 2012.
    Sincerely in need of help once again,
    Kim

  • Photos move from where i place them once published

    i've created my site and it's been working great for a couple months. I just added new photos to several pages and they all look fine once published except one page! have tried moving them again in iweb, saving, then publishing again, but same thing - the photos are misplaced and covering text.
    any ideas?? thanks!
    site is http://www.luminousadventures.com
    and then on the "Reiki and Bodywork" page is the problem.
    (I haven't figured out yet how to have my url forwarding go to individual pages - that's another question!)

    well, I solved my problem with a very low-tech solution: since every time my photos would appear about an inch higher than where I'd placed them while in iWeb (once published), i intentionally placed them an inch lower than I wanted (had to do a bit of adjusting since I was guessing where they'd show up), but it worked!
    I still don't know why this is only happening on this one page, when all the others I did the same and they are fine.
    here's the results: http://www.luminousadventures.com Reiki and Bodywork page

  • If my native method depends on other dll, how and where should place them?

    I write a native method called A, and A needs to call some funciton in b.dll, c.dll,
    then I generate the dll for A, and load in the java code, but how should I deal with b and c.dll
    thanks

    according to what you say, i just need to put the dlls which the native method depend on to the you mentioned location,right?
    I tried but failed.
    can you give me more idea?

  • Hi All, I have question about the iMac operating system. I have the last updated. The problem when I manage the place of the folder windows they are all mixing up. I mean they not on the place where I left them. how to set they stay on the same place. Tks

    Hi All, I have question about the iMac operating system. I have the last updated. The problem when I manage the place of the folder windows they are all mixing up. I mean they not on the place where I left them. how to set they stay on the same place? I know there are different possibilities to set.
    I tried but it not helped for me. What I can do? How and where can set this they stay on their place?
    Thanks.
    laci

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In Library Manager it's the FIle -> Rebuild command)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. 
    Regards
    TD 

  • If I manually save the bookmarks, and place them on a different computer, are my login passwords for those bookmarks also going to be transfered?

    Hi guys! Hope you're doing great!
    I want to give some very important bookmarks to a colleague of mine, but for most of them I have passwords saved in Firefox 34.0 (Linux 14.0.4 LTS).
    I am worried that giving her the bookmarks that I have downloaded on my PC from the Import/Export Bookmarks option, will also give her the login passwords for them.
    Is this going to happen or it's ok to send her the needed bookmarks? I do not have another PC on which I can test that at the moment.
    I searched through these recommended articles:
    - Can I restore my bookmarks if they were saved to the same profile on a different computer?
    - why does firefox corrupt my bookmarks every time I load it on a different computer?
    - How can I move all my bookmarks from different Firefox profiles into one area to organize them and then place them into the different Firefox profiles?
    - Where are my logins stored?
    - Restore bookmarks from backup or move them to another computer
    Thank you very much!

    Passwords are stored in the password files (encrypted).
    Bookmarks are stored in the bookmarks file.
    These can't get your data back, but will help in the future.
    These add-ons can be a great help by backing up and restoring Firefox
    '''[https://addons.mozilla.org/en-US/firefox/addon/febe/ FEBE (Firefox Environment Backup Extension)]''' {web link}
    FEBE allows you to quickly and easily backup your
    Firefox extensions, history, passwords, and more.
    In fact, it goes beyond just backing up -- It will actually rebuild
    your saved files individually into installable .xpi files.
    It will also make backup of files that you choose.
    '''[https://addons.mozilla.org/en-US/firefox/addon/opie/ OPIE]''' {web link}
    Import/Export extension preferences

  • Place multiple titles on a single clip and then manually place them?

    Hi all,
    Is it possible to place multiple titles on the same clip in iMovie 09?
    I would also like to manually place those titles to where I want them to be on the frame.
    I know it's possible to "trick" iMovie by adding a title to a clip, exporting it, and then importing it again to add another title but this seems to degrade the quality of the video.
    Thanks very much!
    Mike

    mac shy wrote:
    .. I would also like to manually place those titles to where I want them to be on the frame.
    I guess, that kills iMs built in title features.
    so, Plan B)
    export a still form your project (=just as reference for following procedure)
    use any pic processor (Photoshop Elements/Pixelmator/..) which allows 'layers'.
    use exported still as background
    add as many titles where you want .. (keep in mind, video! no small fonts, no serifs, no too bright colors...)
    replace background layer by pure Green
    export as jpeg
    import to iMovie, use Greenbox effect to add video.

  • Where to place Sequence Locals in a Sequence Frame? up, down, left right?

    Hi,
    I have a sequence with several frames and I need to overgive some values from frame to frame via Sequence Locals.
     Where should I place the Sequence Local? On the top or on the bottom of the frame? Maybe on the right?
    If I place them on the right side of the frame the wiring looks good in the one frame but it is ugly in the other frame.
    How do you do it?
    Greetings 
    Johannes
    Greetings Johannes
    Using LabVIEW 7.1 and 2009 recently
    Solved!
    Go to Solution.

    johanneshoer wrote:
    (I can't put property nodes of my chart in a sub VI).   If you want, I can attach a part of my VI or screenshots.
    Yes, you can put property nodes of your chart in a subVI. You just need to create a reference to the chart and pass that into the subVI
    Message Edited by for(imstuck) on 05-19-2010 09:33 AM
    CLA, LabVIEW Versions 2010-2013
    Attachments:
    example.PNG ‏713 KB

  • Want to edit background vocals and place them in other positions in song.

    I want to cut up my background wave files and put them in other places of my song to make the vocals thicker. I've done this in DP but never in L7. What is the best way to do this and what issues should I look out for?
    Thanks

    Rodney,
    There's nothing to it, really.
    I find it easier when doing that to cut the beginnings and ends of the audio regions so that, say, you have 5 BGV tracks, they all start and end together. This helps create a "BLOCK", so visually, you can see where things are at a moments notice.
    As far as dragging them... select the BGV's, and while holding down the option key, drag them to the next chorus, or wherever they're going to go. Holding the option key creates a copy of the tracks.
    I find it easiest to leave the snap settings set to "smart". This will allow you to drag regions to "logical" beat locations. You'll also see a yellow parameter box pop up when you first select the audio regions. Pay attention to the location number. If the number you see is something like 24 3 1 64, and your first chorus starts at bar 25, you can then easily drag the audio regions to the next chorus. If the 2nd chorus starts at bar 45, then set the copied audio regions at 44 3 1 64. They'll play perfectly where you wanted them.
    Hope that makes sense...

  • CS6 64bit Illustrator - win, where to place scripts

    HI all,
    I just got CS6,  and I can't figure out where to place all of my scripts.  In CS4 version, once the scripts where in the correct folder, they would show up in the the scripts list,.  In CS6, I have to keep finding them.  Any help would be great.

    Karleen1977,
    We're you ever able to resolve this issue?
    Carlos - For me, the issue isn't installing the scripts in the Script menu.  It's the fact that in CS6 Illustrator doesn't remember the location of the scripts when you use Cntrl+F12 or select "Other Scripts" from the scripts menu.  It reverts to the root C: drive every time I try to get to my "other scripts".  This is a new behavior in CS6, as CS5 always remembered the last folder location when selecting "Other Scripts". 
    I need to be able to hit "Cntrl+F12" and have it remember to load the last folder I used for scripts, so I we don't have to waste a ton of time browsing to the folder location just to run a "time-saving" script. 
    Anyone have any ideas with this?

  • Branching - where to place "optional" slides?

    I have a button that prompts an optional set of slides. If users don’t click that button, then it just continues with the required slides. I placed the optional slides at the end of the Captivate project but since I have a playback tool, it just continues after the last required slide. I want to “hide” the optional slides so that they only show if users click the button. Where should I place these slides? If I place them at the end of the project, what should I do in terms of properties to my last required slide so that the program stops? Please keep in mind that I am using a playback for navigation in addition to clickboxes to force the program to stop at every slide. I cannot remove the playback. It is required.
    Thanks!

    You will need to set up a user variable to track whether or not the button for these optional slides was clicked or not, then you'll need to use Conditional Advanced Actions triggered by the On Slide Enter event for the optional slides to decide whether to play each one or skip each one.

  • Whenever I try to open iPhoto, a message comes up saying that 148 photos have been found in the iPhoto Library that have not been imported. It asks me if I want to import them and I say NO but then it places them in a recovered photo folder. I keep deleti

    Whenever I try to open iPhoto, a message comes up saying that 148 photos have been found in the iPhoto Library that have not been imported. It asks me if I want to import them and I say NO but then it places them in a recovered photo folder. I keep deleting the empty recovered photo files but it just keeps asking me every time I go to open iPhoto! I'd love to just get rid of the "found" photos (I can't open them anyway!)
    How do I get rid of them so that I can just open iPhoto straight up without this?
    Linda

    Open your iPhoto Library package with the Finder.
    Click to view full size
    look for a folder titled Import or Importing and move it to the Desktop. Launch iPhoto to see if the message goes away.  If there is no message  check the contents of the Import folder to see if you want to keep any of those image files (usually they have not been imported into iPhoto). If you want to keep them then drag the folder into the open iPhoto window to import.
    OT

  • How can I move all my bookmarks from different Firefox profiles into one area to organize them and then place them into the different Firefox profiles?

    How can I move all my bookmarks from different Firefox profiles (would like to move whole bookmark folders at once if possible) into one area to organize them and then place them into the different Firefox profiles? This is all under one window user account, I am using windows 8.1. Even if you have information on how to do it on a different windows, it may still be helpful. Thanks for any input you have.

    Just a note about the difference between these two things:
    * "export" and "import" use an ancient HTML document format that all browsers can understand. When you import bookmarks, Firefox may place them into an Imported Bookmarks folder, or into Unsorted Bookmarks. This does not displace existing bookmarks, and Firefox does not automatically remove duplicates.
    * "backup" and "restore" use a more comprehensive JSON data file, which contains extra information about your bookmarks (such as tags) not contained in the traditional export file. HOWEVER, a restore completely replaces all existing bookmarks, so the restore feature cannot be used to merge in a set of additional bookmarks.
    Related support articles:
    * [[Export Firefox bookmarks to an HTML file to back up or transfer bookmarks]]
    * [[Import Bookmarks from a HTML file]]
    * [[Restore bookmarks from backup or move them to another computer]]
    Some users find the disk-based Windows Favorites folder a convenient way to organize bookmarks. If you do, too, and you do not need to preserve tags on your bookmarks, you could export each profile's bookmarks to HTML and import them all into IE11. Organize them in the Windows Favorites folder, then export from IE11 to HTML and import that file into each Firefox profile. See: [http://windows.microsoft.com/en-us/internet-explorer/add-view-organize-favorites].

  • Iphoto 9.6.1 Slideshow Places Theme randomly reordering photos - not sure why?

    I've manually reordered photos in Library based on location (and manually assigned gps location in info).
    After creating slideshow, when I choose 'Places' theme it seems to randomly reorder photos - not just into 'places' order.
    Help!
    Also, when I use export - the option of creating a quicktime movie seems to have disappeared (custom option gone).
    Cheers
    Brenda

    Alternatives to iPhoto's slideshow include:
    iMovie is on every Mac sold.
    Others, in order of price:
    PhotoToMovie  $49.95
    PulpMotion  $129
    FotoMagico $99
    Final Cut Pro X $299
    It's difficult to compare these apps. They have differences in capability - some are driven off templates. some aren't. Some have a wider variety of transitions. Others will have excellent audio controls. It's worth checking them out to see what meets your needs. However, there is no doubt that Final Cut Pro X is the most capable app of them all. You get what you pay for.

  • My iphone has been water damaged and in the mean time ive gone back to using my old phone. But i need to get all the contacts from my iphone i had synced to my laptop, but i don't know where to find them and im not sure if ive backed them up to anything!

    my iphone has been water damaged and in the mean time ive gone back to using my old phone. But i need to get all the contacts from my iphone i had synced to my laptop, but i don't know where to find them and im not sure if ive backed them up to anything!

    If your contacts are synced to your computer then they are in the supported app you are syncing with.
    When you set up syncing of contacts on your device, which application did you select? 

Maybe you are looking for

  • APP-PAY-06153: System Error : Procedure pay_us_emp_dt_tax_rules.insert_fed

    Dear Friends, I'm finding the below mentioned error while I'm attaching the salary basis & saving the same, APP-PAY-06153: System Error : Procedure pay_us_emp_dt_tax_rules.insert_fed_tax_row - ORA-20001: &1 element does not exist or has not linked to

  • Posterous blog HTML Snippet problem - not all of blog is showing up...

    Good morning all! So I was looking for a solution for our newly formed website (I'm a novice) where I could have multiple users update our blog page without having to use iWeb to do it. I read up on Posterous and it appears this would be an ideal sol

  • UDF retrieval help

    Hey All, Can anyone tell me how I can properly read a UDF field from the UDF form on the purchase order screen? Usually i just read the text value from the activeform but of course this does not work for the UDF form as it is not the active form. A c

  • Oracle/Linux performance

    Oracle mentions Red Hat, Suse, and TurboLinux in its tech docs. Has anyone used more than one of these and done any performance tests. How about general reliability comparisons? We are also interested in how well their support depts handle real probl

  • Business sales question

    We need to make 5,000 thousand minutes a month with two service reps (this would be more than 100 minutes a day). Is there a Skype Business option for calls made from Puerto Rico to Peru? We have a PBX with the SIP enable option. Can Skype Enterprise