The sequencing for Super Type and Type void (Parent-child)
Data model is structured with Super Type Sub-Concept.When of Type of data are inserted into the table of Type Super, I'll use a primary Supertype.NEXTVAL sequence Key.Now the same sequence will also be the primary key of the table of Type void. Can I use Supertype.CURRVAL for inclusion in the table of Type void?If so, I have a lot of folders being create table Super nature less than a second. So before data are inserted into the table of subtype there may be a chance of a row inserted into the table of Type Super and if I use Supertype.CURRVAL it can lead to erroneous data.
How can I make sure that the primary key Supertype is inserted as a primary key in the table of type void?
Within a single session, when you call seq.currval, you are guaranteed to get the same result every time you call as your session does not call to nextval. Other sessions will not affect values. So, as long as you do something like:
insert into parent values (seq.nextval, col1, col2);
insert into child calue (seq.currval, col3, col4);
the values are correct.
John
Tags: Database
Similar Questions
-
What is the need for level 0 and level 1 backup?
I am a bit confused about the need for level 0 and level 1 backup. Oracle has proposed strategy in 10g creates only level 1 backup continues to not to break and not to create any level of 0 after the first backup of level 0. But I had seen in the document Oracle Database Backup & Recovery basis he suggests to create backup of level 0 on weekly or monthly basis. There?
Secondly according to my understanding when creating oracle backup of level 1 first creates a level 0 backup that contain also copies of data image files and then apply an incremental copies of the image, once the incremental backup is applied on the copy of the image you don't have to the previous incremental backups. Am I wrong?
If I'm right, what is the difference between level 0 & backup of level 1? and after the level 0 backup you must also all previous backups.
PL. help me to clarify my questions in this regard.
Kind regards
VassalloWhat is the most reliable in terms of recovery?
I do not see the differences in terms of recovery, the two strategies are reliable.
There is an advantage in terms of recovery time expected, Oracle says:
/*
Incorporate gradually update the backup in your backup strategy shortens the time of recovery as provided. The reason is that media recovery right now or at some point in the recent past may begin at the time of the last backup of level 1 applied, rather than at the time of the last full database backup.
*/In a regular incremental backup strategy you always go back to a level 0 backup and then to apply everything follows level 1 backups + archivelogs. But - for an incremental backup set to day - it's a little tricky to emerging a window of recovery, normally relies on redundancy 1, i.e. that a backup is retained, you cannot go back, this type of backup is designed for a quick and complete recovery.
But there is a solution (I don't think there is place in EM), even if you're on 10g, see the 11 g documentation, he explains fuller:
http://download.Oracle.com/docs/CD/B28359_01/backup.111/b28270/rcmbckba.htm#BRADV89532
Werner
-
If I have the first generation iWatch I'll be able to get the update for new applications and look at faces? I know that I couldn't display or the waterproof function to the water.
Hello
The next operating system update, watch OS 3, will be available for all Apple Watch models, including the first generation watches.
We should go out on 13 September, after which it can be installed by following the steps detailed here:
More information:
-
My Inbox to view the sender for each message and now it does not work... How do I get it back to where it was?
Right-click on the header at the top of the list of messages and select from the list of options.
-
I woke up this morning and my iPhone 6 does not light. I tried to reboot it by holding down the button market / stop and the button "home" but the apple logo never appeared and I had on the charger for a while and still nothing. Please leave suggestions! Thank you
You can make an appointment at the Apple Store - Genius Bar store and bring it into service. You can also search an Apple Store - find a store - Apple.
-
Is the app for Better Homes and Gardens Cookbook for Mac still available?
I have the app for Better Homes and Gardens Cookbook, but it works on my iPad. I want it on my Macbook Pro. How to do it?
HOW is it that so many things are available on the iPad but not on Mac computers?
You can try to contact the developers of the versions of iOS apps and ask them if they have plans to make a Mac version of them
-
Have not analyzed the photos for a long time. When I did it before, I clicked on the icon for HP Deskjet and then was able to choose "Scan Doc or Photo". This option is no longer. Need help.
If you use windows 7, start menu open then choose "all programs" and find "windows fax and scan" and open > then go to the lower left choose scan and then in the main menu, choose "new scan".
or you can watch this videoscan a document or photo with windows fax and scan
"If your scanner is not connected or you have a problem with the driver is the message"
No scanners were detected. If a scanner is installed, make sure that it is turned on and connected to the computer, and then try again.
For more information about adding or troubleshooting scanners, see Help and Support
" -
dad bought me a computer PORTABLE from NUTRIGEST I HAVE BEEN out of the CITY FOR SOME TIME AND LATER BETWEEN the AUTHENTICITY CODE PRODUCT, AND IT's not SAYIING VALID, BUT I KNOW THAT can NOT BE TRUE
If it is a new machine call or go to circuit city and get them fixed. If they sold you the laptop, indicating that it included Windows XP then the onus is on them that provide you a valid COA and the product key.
John
-
I have an OEM of Windows Vista version on a dying computer. Can I buy the upgrade for Windows 8 and install it on the new PC, I'm building? The upgrade, is published at the same time as I'm rebuilding my PC. I'm just looking to replace my OS. I need Vista.
Hello
OEM license is tied to the first machine that is installed on the OEM license dies when this machine dies.
An OEM license is not transferable.
And you need a legal edition of Windows, enabled for upgrade.
There is no use, you buy a license upgrade of Windows 8 by itself as you have to upgrade anything of in the new computer, you build...
You can buy a license of Windows 8 when it comes out later this year.
See you soon.
-
HP Pavilion n072sy-15 Notebook PC - where to find all the drivers for Windows XP and Windows 7
Who knows where to find all the drivers for Windows XP and Windows 7 for HP Pavilion n072sy-15 Notebook PC?
Hello:
XP will not install or run on a PC with an Intel 8 series chipset, so you need not be concerned with finding drivers.
Here is the link to a template that you can use the W7 x 64 bit drivers from.
When you install the graphics drivers, first install the Intel HD graphics driver, reboot and then install the graphics driver nVidia.
DO NOT USE ALL DOWNLOADS OF BIOS OR FIRMWARE FROM THIS LINK
-
virus: I struggled with the virus for some time and cannot get rid of them
I have struggled with the virus for some time and cannot get rid of them. I bought a few programs, but they have also been infected. any suggestions for a really good virus buster.
Hello
First of all, an antivirus solution to an already infected system of loading is usually pretty useless. The bug will block all attempts to remove or load what it sees as a threat. Second, without knowing which virus you are affected by, it is difficult to be precise.
You can take action include:
(a) work in safe mode, there is much less likely that the virus is able to load and resist actively.
(b) the safe mode, run utilities malwarebytes.org and AV solution that was installed * before * your infection.
(c) post is back with a better description of what is on your system to learn more targeted advice.
Good luck, Rick Rogers, aka "Crazy" - Microsoft MVP http://mvp.support.microsoft.com Windows help - www.rickrogers.org
-
The event GWX.exe messages must remain on the computer after you made the reservation for a copy and agree to receive their copy? It certainly is learning to be OVERLOAD on these messages and would like to know if it is OK to remove them and what to do to STOP these messages. I asked the program and I've been accepted/approved/reassured that will ship a copy - JUST WANT TO KNOW IF I CAN REMOVE THIS sort of THINGS NOW, OR should she REMAIN ON MY COMPUTER? It's the only question I have that needs to be answered. Thank you
ybliku2
Since early may, Microsoft began providing updates prerequisite for these systems for the upgrade. Known as the get Windows 10 app (GXW) this KB update installs the mechanisms to verify your system readiness and download Windows 10 through Windows Update. Users will see a notification added to the taskbar allowing users of the availability of the operating systems and of the possibility to book the update and download automatically on July 29th 2015.
You can also download Windows 10 as one. ISO file and do the upgrade manually:
How to: upgrade previous versions of Windows using the file ISO for Windows 10
-
I can't open the system when he was sht down. But the system was the heat and I have to remove the battery for a while and it should re-sttart, what the problem.
Too generic a question, can you clarify considerably more for us? Your question could be reformulated in the following way and always be true?
"I can't start my computer once he has had a BSOD. Something overheated, but I don't know. I removed the CMOS battery and replaced in order to asure me that a bad overclock on a core component has not caused the problem. Now, it restarts correctly, what is / was the problem? »The foregoing, what I thought you meant. The above statement is correct? -
can I just buy the CD for light room and Photoshop for a mac?
can I just buy the CD for light room and Photoshop for a mac?
Adobe provides no more CD.
You can download the installation files and burn your own CDs, if you wish.
Available downloadable Setup files:
- Suites and programs: CC 2015 | CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
- Acrobat: DC, XI, X | Suite X | 9,8 | 9 standard | 8 standard
- Captivate: 9 | 8 | 7 | 6 | 5.5, 5 | 1
- Cold Fusion: 11: 10 | 9.0.2 version 9.0.0, 9.0.1, 8.0.1, 8.0.0, 7.0, 6.1, 6.0, 5.0, 4.0
- Contribute: CS5 | CS4, CS3 | 3,2
- FrameMaker: 12, 11, 10, 9, 8, 7.2
- Lightroom: 6.4| 6| 5.7.1| 5 | 4 | 3
- Photoshop Elements: 14,13,12,11,10 | 9,8,7 win | 8 mac | 7 mac
- Premiere Elements: 14,13,12,11,10| 9, 8, 7 win | 8 mac | 7 mac
Download and installation help links Adobe
Help download and installation to Prodesigntools links can be found on the most linked pages. They are essential; especially steps 1, 2 and 3. If you click on a link that does not have these listed steps, open a second window by using the link to Lightroom 3 to see these "important Instructions".
-
I have the license for both I and ps is possible to use at the same time in the differren computers?
Please see this FAQ for more information:
Maybe you are looking for
-
I upgraded to Windows of Windows 8.1 10 last night. I tried to connect to facebook, a few hours ago and find that I can't. The error is, "this connection is untrusted", with "this site uses HTTP Strict Transport Security (HST) to specify that Firefox
-
What iPhone is a md246j?
What iPhone is a md246j?
-
Last copies and the latest updates
When a more recent copy of windows is released on the market, the fact that the copy is up-to-date with the latest updates?
-
My computer freezes constantly!
I have windows vista 32 byt, and for the first year, it was beautiful. Now, my computer crashes on my daily life. I do maintenance scheduled, defragment and all that stuff and I'll be in the middle of something and don't move the mouse. I manually
-
Help! How can I recover a sticky note on Windows 7?
I had an existing sticky notes open on my desktop w/a lot of important information. on this subject. I intended to minimize but it closed by accident. I don't know how to recover it. Can someone help me? Thank you!