What  is self referential integrity? How does it effect the Database?

Hello Gurus,
What is self referential integrity?
How could it is achieved and implemented?
and what is effect on the Database?
Thanks in advance.
~ SubbaReddy .M

Self referential integrity simple means that the parent end of a foreign key constraint is in the same table as the child end. Consider the SCOTT.EMP table. Every manager is also an employee. Hence there is a foreign key between the MGR column and the EMPNO column.
rgds, APC

Similar Messages

  • Media Encoder -- Audio -- Advanced Settings -- Precedence -- What is the difference between the two options presented here and how does it effect the final file?

    I see no literature in any of the manuals that explains this option -- what is it exactly and how does it work?

    endasil wrote:
    Um...have you compared when specifying v = 0x0FFFF, as an arbitrary example?
    Edit All right I'll be a little more specific. How the heck would your Test1 method know if it's only being passed int values <= 255?
    Edited by: endasil on Nov 6, 2007 8:48 PMI see, well, why would it care? all it does is take int and store it into a byte. what else could it do with an int and byte array? Also, if you wanted to check for values <= 255 one could simply add asm code to do that, after all, Test2.test2() has a signature of ([BI) that is (byte[] ba, int v). So, if the method wants to fool around with v* it can iload_1* and do any comparison tests, ifeq* etc..., and latter stuff it into byte array using bastore* without the unnecessary i2b* call.
    I just don't see the use of the i2b* instruction if bastore* could careless. Will this cause the stack to become unlined and cause trouble program down-the-line in execution? I am thinking that I loaded an int*, +4bytes+, but only consumed 1byte. But now that I think about it, iload_1 loads an int* onto local heap so it should get cleaned up when the program exits. So, as long as I made bastore* the last instruction in the program I shouldn't have a problem. Or maybe this doesn't matter either?
    *Also, since ba is an byte[] why would I want to check it for anything other than a byte value? if I wanted to get an int I would have created an int[]*
    My point is that as long as one wants to stuff an int into a byte array the i2b instruction is overkill, albeit not much, and I just do see the usefulness of it.
    This is for when I do something like, byte_array[i] = '-', and the compilers say loss of information and I cast '-' to (byte)'-', meaning I don't care if I loss any information. but it called i2b anyways byte_array[i] = '-' yields the same result.
    I just didn't understand what was behind this.
    Does that answer that question or am I missing anything?
    Edited by: earamsey on Nov 6, 2007 8:04 PM

  • What is margin shift and how does t effect a mixed doc/pic?

    just trying to figure out how margin shift being on or off while copying will effect my mixed doc/pic?

    Hi kateabear10,
    Welcome to the HP Forums.
    I see that you have some questions about using Margin Shift.
    Please click on the following link that will better assist you when PRINTING WITH MARGIN SHIFT SETTING.
    Thanks for your time.
    Cheers,  
    Click the “Kudos Thumbs Up" at the bottom of this post to say “Thanks” for helping!
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    W a t e r b o y 71
    I work on behalf of HP

  • Self Referential integrity constraint?

    What is self-referential integrity constraint? Is it a foreign key where the same column acts as the parent key too.

    The good old EMP table in the SCOTT schema is one example. Managers are employees, so the MGR column refers back to the EMPNO primary key. If I wanted to create my own table...
      1  create table emp2 (
      2   empno number primary key,
      3   mgr   number references emp2( empno )
      4* )
    SCOTT @ hp92 Local> /
    Table created.Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • How can i open the database by force?

    my database is crash because the machine power problem, when i restart again, oracle error say the control file is older than the system tablespace file,
    so i have to create the controlfile again, then , the database need recover , but my database is not archived, it can't take a media recoer , what should i do?
    how can i open the database even lost some data?

    Pallofa,
    Try open img file using some software.
    You need a software to mount the img file.
    http://techie-buzz.com/how-to/mount-iso-files-as-a-virtual-cd-dvd-drive.html
    If thinstead of using an img file, just use this command.
    repair-bde e: d: -rp xxxx-xxxxx-xxxxxx-xxxxx -f -lf c:\log.txt
    where d is the portable disk whereyou want the data and d drive should at least
    equal to e drive.
    Where xxxx-xxxx-xxxxx is the 48 digit recovery password.
    -lf will generate a log file and point to a certain location, here I have pointed to c drive.
    After repair-bde is completed, run chkdsk /f on D drive, then try to access your data.
    Manoj Sehgal

  • Firefox update installs, but does not apprearon screen, or task manger yet is running what is going on and how does one fix it?

    I installed the update Mozilla Firefox 28. It was suppose to launch upon completion. it did not appear on the monitor screen, nor the task manager, but was running; for when I attempted to install the older version again it, it said that Firefox was running and needed to be turned off.
    I restarted the computer and tried opening Firefox, with the same results.
    After restarting again, I attempted to reinstall the update, with the same results taking place.
    I attempted to uninstall Firefox and install the new version. The same results took place.
    In the past, I could install Firefox 27 update, only now I can't for the same thing takes place. Past a certain version (19), this event takes place, but 19 and older can install it with no problems.
    I checked Firefox troubleshooting information. All was normal. I checked my firewall. Again, all was normal. Tried Firefox reset. Did not help. Tried with my firewall disabled. Did not solve the problem.
    Ran a virus check (deep) no viruses. Checked my computer system. No errors.
    I can install updates for my other programs, even install new programs; just not Firefox.
    What is going on and how does one fix it.

    Hi Amseeking,
    Thank you for your question. From your description, you tried to install the 28 update from a version 19 installation. Did you install a fresh install of 28 successfully? Where the name of the file is"Firefox Setup Stub 28.exe"? This is what is sound like happened. When going to about Firefox and searching for updates it installs over the current installation. However if Firefox was already running, there are more than one installation.
    Updating from version 19 to 28 would not be a problem. However the user data from your previous version would have to be imported to the new installation if you have more than one install on that computer.
    An easy way to tell is to search for Firefox in the Start menu to see if more than one icon shows up in the search results.
    I hope this helps.

  • When ever I reboot my device, I get an error message that says, "runtime error info.plist not found". What is this, how does it effect my ipod and how do I correct this error?

    I have an ipod touch 64gb. Lately, I discovered an error message on the lockscreen that says "Runtime Error Info.plist not found". What is this, will it effect my ipod, how does it effect my ipod and how do I correct the error? (I see the error message when I power up my ipod and when I reboot).

    Follow  this article:
    How to restart the Apple Mobile Device Service (AMDS) on Windows

  • What is UMA exactly? How does it work?

    What is UMA exactly? How does it work?
    I have T Mobile but am not subscribed to Hotspots at Home.  I do pay for the BB unlimited internet package.
    When I am connected to my router at home, it goes to UMA.  But other times, it just says wifi and is still connected to my router -- but NO UMA.  I haven't made any changes.
    What is this?

    Here is a KB that discusses UMA:
    http://www.blackberry.com/btsc/microsites/search.do?cmd=displayKC&docType=kc&externalId=KB11735&slic...
    Hope that helps!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • What is 'mobile account' and how does it work?

    This is a hidden feature in Mac OS Leopard, that I believe require an Leopard Server on the network.
    I have not found it in the regular user interface, but it can be revealed by following the below process:
    1. Go to System Preferences > Accounts
    2. Unlock
    3. Search for mobile account, and press Enter
    4. Wait for the Mobile account options to show up
    What is this feature? How does it work?
    I have found no references to it in the normal documentation.

    Google is your friend:
    "A mobile account is a Mac OS X Server user account that has been copied to a local computer and remains synchronized with the server account so that both locations contain a matching set of data."(Mac OS X Server User Management, p. 46).
    And it has been around since 10.3, so it is not something new to Leopard.
    see: http://www.afp548.com/articles/Panther/mcx2.html

  • What is iTunes Match and how does it work?

    What is iTunes Match and how does it work? I have several tunes on my computer that do not show complete. The source of these tunes are from my own CDs.

    iTunes match - http://www.apple.com/itunes/itunes-match/ - see FAQ at end too
    Basically it looks at the music you have in iTunes.  If it sees the equivalent on the iTunes Store site it does nothing, but it makes that copy accessible to you to download.  If you have music  it doesn't it will upload a version from your computer to the site that only you can access from anywhere online.
    In your case if you have incomplete tracks it will not fix them.  It does some kind of audio fingerprinting to make sure you aren't just feeding it a bunch of 60s demonstration cuts and trying to get whole tracks back.

  • HT201270 In layman terms, what the heck does updating your carrier settings mean and how does it effect me in the real world?

    In Layman terms, what the heck does updating your carrier settings mean, and how does it effect me in the real world?

    No offense, but what carrier?  what data and what service? 
    I get a bogus window hovering in my itunes page, telling me I have to update information, that I don't want to manage. 
    I am not upset or unappreciative of your feedback, quite the opposite, I can't believe anyone actually monitors peoples frustrations. 
    I just want to make sure I don't allow information about me that is not necessary.  I just want to listen to music and have a phone and have an ipad. 
    Everything else about apple is way to propriatory. I don't want to do anything that isn't very simple. 
    Most importantly, there never seems to be any (human being) that can answer a telephone call anymore. 
    Contact us, means...send us an email about something you don't know anything about, and I don't even know that questions to ask.
    I am not allowed to be ignorant.  If I am I wait days for answers.....

  • I have iphone 5c.  Having email problem.  Does not delete emails showing in inbox from date 8/27 thru 9/23.   When deleted, these same emails repopulate in inbox.  What is going wrong?  How do I fix the problem?

    Ihave iphone5c.  Does not permanently delete emails showing in inbox.  When they are move to Trash then inbox at first shows empty.  However if you leave Mailbox and return then all the emails that were previously deleted and now repopulated in Inbox.  I have tried various things like marking them "read" before deleting, then moving them to Trash, and they still return.  What is going wrong and how do I fix the problem?

    What your describing sounds lot like Nortons anti virus, but other do it to.
    Multiple copies of the same email over and over are almost always anti virus incoming mail scanning. Turn off scanning and the problem goes away turn it back on and it resumes.
    My guess is that your filter issues, and search problems are also related to this uniquitous and most ignored security tool that messes up far more than it should..
    Deleting the index
    I assume you mean the global-messages-db.sqlite. if you don't close Thunderbird and delete it now. Searches will be incomplete until it rebuilds and the time to do that will have a lot to do with how much mail there is and how busy the computer is.
    Now create an exclusion in your anti virus program for the Thunderbird profile folders. My guess is it is trying to scan the files in your profile every time Thunderbird tries to open them and generally turning things into a tug of war, which Thunderbird looses as it just does not wait around if files are locked. It expects exclusive access to it's files immediately, not in 10 minutes when the anti virus has done it's thing. So things get added to the index but not removed. Mails don't move as the destination or source file is "in use" etc.

  • How does this happen: The picture of recent apps you get when double clicking the home button showed in Settings-Wifi that I had been connected to a network I have not been near for two months. Its not a recent "image" of Settings-Wifi. Can anyone explain

    How does this happen: The picture of recent apps you get when double clicking the home button showed in Settings-Wifi that I had been connected to a network I have not been near for two months. Its not a recent "image" of Settings-Wifi. Can anyone explain?

    Greetings,
    I've never seen this issue, and I handle many iPads, of all versions. WiFi issues are generally local to the WiFi router - they are not all of the same quality, range, immunity to interference, etc. You have distance, building construction, and the biggie - interference.
    At home, I use Apple routers, and have no issues with any of my WiFi enabled devices, computers, mobile devices, etc - even the lowly PeeCees. I have locations where I have Juniper Networks, as well as Aruba, and a few Netgears - all of them work as they should.
    The cheaper routers, Linksys, D-Link, Seimens home units, and many other no name devices have caused issues of various kinds, and even connectivity.
    I have no idea what Starbucks uses, but I always have a good connection, and I go there nearly every morning and get some work done, as well as play.
    You could try changing channels, 2.4 to 5 Gigs, changing locations of the router. I have had to do all of these at one time or another over the many years that I have been a Network Engineer.
    Good Luck - Cheers,
    M.

  • In InDesign, how does one determine the pixel size of a text box? Specifically, we need to write text to specifications of 600 pixel width, and have no idea a) how to scale a text box to specific pixel width, b) how to

    This may be a basic question... but in InDesign, how does one determine the pixel size of a text box? Specifically, we need to write text to specifications of 600 pixel width, and have no idea a) how to scale a text box to specific pixel width, b) how to determine what word count we can fit in, and c) how to do it in a table? Thanks!

    Set your ruler increments to pixels Preferences>Units & Increments. You can fill the text box with placeholder text Type>Fill with Placeholder text and get a word count from the Info panel with Show Options turned on from the flyout.
    From the Transform panel you can set a text box's width and height

  • How does oracle suggest the archive log

    Hi All,
    My question is about user managed backup and recovery.
    For User managed hot database refreshes.
    We  create a new controlfile and do cancel based recovery.
    How does oracle suggest the next archive to apply when we do "recover database using backup controlfile until cancel;"
    I mean we created a new control file ..rt.
    where is the information about the archivelogs stored.
    Thanks,
    Silver

    In the controlfile.
    The "using backup controlfile" means using a backed up controlfile, and you want to fool Oracle into thinking a point in time recovery will happen so don't use what would be the controlfiles current scn time to automatically say the recovery is complete.  If you have created a new controlfile, all it can know about is where the logs should be and compare to what log sequences the datafile headers have.  So it uses the init.ora parameters and what the data file headers have in them to figure it out. http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:3151992035532#36651366990046
    If you backup controlfile to trace you can see log files that have the incarnation history.  See "Recovering Through a RESETLOGS with a Created Control File"  in Performing User-Managed Recovery: Advanced Scenarios

Maybe you are looking for

  • Credit Management (Open Items and Oldest Open Items)

    I have 2 questions. 1)What is the difference between Open Items check and Oldest open items 2) I want to activate a Credit management check which should work in way that the Order will be blocked on the basis of Payment term check Let say if I am usi

  • Using iCloud with an iPad, a PC and a Samsung Omnia II phone stripped all contacts and calendar from my phone. How can I fix this?

    I activatediCloud on my iPad2 and synced to my Sony Vaio PC using ( calendar & contacts in Outlook). Then when I synced my Samsung Omnia II to my PC, all my contacts and calendar were stripped from my phone. Can somebody help me: 1) recover my inform

  • How to decide if Object is an array or single object

    Hi , I have a function which can return an Array of objects or a single Object...how can I decided what function has returned to me.?... I am looking for some way by which I can decided if it is an Array or a Object.... Thanks

  • Gx620 HDMI higher refresh rates

    Hello, I've bought a Samsung SyncMaster 2233rz to get a lower inputlag and higher refresh rates. GeForce 9600m GT doesn't have a DVI-D port, thus I'm using the HDMI port with a DVI-D adapter as the monitor only has a DVI-D port. I've read you couldn'

  • Telling which resource was not found on a 404 page

    Hello.           I thought that it would be nice to have a 404 page that tells the user what           he was trying to get but wasn't there.           Full of hope I constructed the file error_404.jsp containing this:           The requested documen