compare the process with normal insert insertion and nested table inserts
Hi gurus,
I need to insert data block (in Millions of records) in my table. What is the best option
(1) normal insert
INSERT / * ADDING * / into table
Select * from table1
(2) declare
n_table table % rowtype;
n_table ins_table;
Start
Select * BULK collect into ins_table
FROM table1
forALL i in ins_table.first... ins_table.last
insert into table values (ins_table (i));
commit;
end;
Please notify. and comeout with valid arguments.
Thank you
S
If the destination table is empty, then you can do ETG (CREATE TABLE AS SELECT...). This would be by far the fastest way. But to choose one of the choices you gave, the top hand is the first.
The second option is a very bad idea. Collection of PL/SQL uses PGA. Millions of PGA data costs very expensive. And also this approach doesn't give not any kind of performance on simple INSERT INTO SELECT...
Tags: Database
Similar Questions
-
Balancing the columns with grids of fluid and CSS3 'table-cell '.
I try to balance the height of by-side columns, and I'm happy to use ' display: table-cell "that I've seen work. But I can't make it work with DW flow layout grid. I have an example here: http://leighjackson-co-nz-dev.web4.pbstaging.com/htm/test-2a.htm
I want the right div, color, below the image, to be full height, identical to the div of the text to the left of it. It doesn't seem to work.
Any suggestions?
Sorry, CSS display: table does not work on the floating divs. The alignment is done with the width of the cells in the table, divs.
{#div1}
Width: 100%;
Auto margin: 0;
Display: table;
border-collapse: collapse;
}
#div2 {display: table-row;}}
{#div3}
Display: table-cell;
Width: 50%;
background: #D8E9B6;
vertical-align: top;
}
{#div4}
Display: table-cell;
Width: 50%;
background: #CCE6FF;
vertical-align: bottom;
}
HTML:
Content for the div3...
Content for the div3...
Content for the div3...
Content for the div3...
Content for the div3...
Content for div4 here...
Nancy O.
-
Difference between an associative array and Nested table
Hello
Can you please tell me, what is the main differences between associative array and Nested table. I'm not sure, in this case we are to use.
Thank you and best regards,
Sanjeev.user13483989 wrote:
HelloCan you please tell me, what is the main differences between associative array and Nested table. I'm not sure, in this case we are to use.
Did you happen to read the documentation, explain its good enough!
http://docs.Oracle.com/CD/E11882_01/AppDev.112/e25519/composites.htm#LNPLS005Aman...
-
When I subtract two numbers DBL and try to compare the result with another DBL, it fails
I found a curious problem with subtraction and compare numbers DBL in LabVIEW (8.6). Here's how it works:
1. subtract two numbers DBL such that the result is not incorporated. (Say, 3.2 - 3.1)
2. compare the result with a constant/control that is on the result of the subtraction (in the example, 0.1)
3 see the output of the comparison.
If the result of the subtraction is an integer, the Boolean result is (as expected). If the result is not complete, the comparison fails.
(Now, if I simply compare two floating point numbers, it works, so the issue is not with the node comparison itself, but with the data that is entered to the node). Can someone understand why this happens? It's unexpected, it's a pretty serious bug.
It is provided with all programming languages. Numbers do not have an exact binary floating-point representation. This has been discussed endlessly. Never use the equal function with floats. You can use the function in the range and force.
-
Just hangs until I have kill the process with the Task Manager. Have uninstalled and reinstalled. Any suggestions? I don't want to upgrade to CC because I hate subscription services and I often internet connection services interuppted.
What operating system do you use?
Reset the photoshop preferences could cure the problem.
Press and hold down the Shift + Ctrl + Alt keys right after the beginning of the launch of photoshop 7
(Shift-command-Option on mac)
Keep possession of the keys down until you get a dialog box asking if you want to delete the adobe photoshop settings file
Press Yes
-
Compare the Collection with the help of the Table less
Hey there!
my plan is to transfer an excel file and record in an apex_collection, compare the results with those that already exist in a specific table and write it in another temporary table.
Import excel, in the collection works perfectly, but I fight with the comparation. I select the form of entries collection and using UNMIS to compare lines with those of another SELECTION that gets the lines of the existing table.
DECLARE
BEGIN
INSERT INTO UPLOADED_DID_LIST_COMP (BAC_CODE, UPSC)
(
SELECT BAC_CODE c001
c002 published
From apex_collections ca
WHERE collection_name = "UPLOADED_EXCEL."
LESS
SELECT
BAC_CODE
EDITED
OF UPLOADED_DID_LIST upld, apex_collections c WHERE
collection_name = "UPLOADED_EXCEL."
AND the upld. BAC_CODE = c.C001
AND the upld. LʼUPSC = c.C002
);
End;
This does not work because of this error:
ORA-00933: SQL command not properly ended ORA-06550
PLS-00103: encountered the symbol "end-of-file" when awaits one of the following numbers: (begin case declare exit end exception for goto rise back loop mod null pragma select update while < ID > < a quot double)
If it's a copy/paste of your exact code then you just need to fix it, spaces here and there. And remove the superfluous where clause. Maybe:
BEGIN
INSERT
IN UPLOADED_DID_LIST_COMP
(
BAC_CODE, SCHOOLING
)
(
C001 SELECT BAC_CODE, EDITED C002
FROM APEX_COLLECTIONS CA
WHERE COLLECTION_NAME = "UPLOADED_EXCEL."
LESS
SELECT BAC_CODE, SCHOOLING
OF UPLOADED_DID_LIST UPLD
);
END;
Good luck.
-
to fill the gaps with value of lead and the delay and make average and the gap between earned
Thanks in advance
I have table as below
What I need is to fill the gaps with value of lead and the delay and make average and the gap between the valuesID TYPE NUM NAME BEG_MP END_MP VALUE 10001103N 3 1190001 WST 0.000 0.220 10001103N 3 1190002 WST 0.220 0.440 10001103N 3 1190003 WST 0.440 0.820 12800 10001103N 3 1190003 WST 0.820 1.180 12800 10001103N 3 1190004 WST 1.180 1.220 10001103N 3 1190004 WST 1.220 1.300 10001103N 3 1190005 WST 1.300 1.420 14800 10001103N 3 1190005 WST 1.420 1.550 14800 10001103N 3 1190006 WST 1.550 2.030 10001103N 3 1190006 WST 2.030 2.660 10001103N 3 1190007 WST 2.660 2.780
ID TYPE NUM NAME BEG_MP END_MP VALUE 10001103N 3 1190001 WST 0.000 0.220 12800 ---> Lag value 10001103N 3 1190002 WST 0.220 0.440 12800 ---> Lag Value 10001103N 3 1190003 WST 0.440 0.820 12800 10001103N 3 1190003 WST 0.820 1.180 12800 10001103N 3 1190004 WST 1.180 1.220 13800 ---> Avg(12800,14800) 10001103N 3 1190004 WST 1.220 1.300 13800 ---> Avg(12800,14800) 10001103N 3 1190005 WST 1.300 1.420 14800 10001103N 3 1190005 WST 1.420 1.550 14800 10001103N 3 1190006 WST 1.550 2.030 14800 ---> Lead Value 10001103N 3 1190006 WST 2.030 2.660 14800 ---> Lead Value 10001103N 3 1190007 WST 2.660 2.780 14800 ---> Lead Value
create table AVG_TABLE ( ID VARCHAR2(20), TYPE NUMBER, NUM NUMBER, NAME VARCHAR2(10), VALUE NUMBER, BEG_MP NUMBER(6,3), END_MP NUMBER(6,3) ) ; insert into AVG_TABLE (ID, TYPE, NUM, NAME, VALUE, BEG_MP, END_MP) values ('10001103N', 3, 1190001, 'WST', null, 0, .22); insert into AVG_TABLE (ID, TYPE, NUM, NAME, VALUE, BEG_MP, END_MP) values ('10001103N', 3, 1190002, 'WST', null, .22, .44); insert into AVG_TABLE (ID, TYPE, NUM, NAME, VALUE, BEG_MP, END_MP) values ('10001103N', 3, 1190003, 'WST', 12800, .44, .82); insert into AVG_TABLE (ID, TYPE, NUM, NAME, VALUE, BEG_MP, END_MP) values ('10001103N', 3, 1190003, 'WST', 12800, .82, 1.18); insert into AVG_TABLE (ID, TYPE, NUM, NAME, VALUE, BEG_MP, END_MP) values ('10001103N', 3, 1190004, 'WST', null, 1.18, 1.22); insert into AVG_TABLE (ID, TYPE, NUM, NAME, VALUE, BEG_MP, END_MP) values ('10001103N', 3, 1190004, 'WST', null, 1.22, 1.3); insert into AVG_TABLE (ID, TYPE, NUM, NAME, VALUE, BEG_MP, END_MP) values ('10001103N', 3, 1190005, 'WST', 14800, 1.3, 1.42); insert into AVG_TABLE (ID, TYPE, NUM, NAME, VALUE, BEG_MP, END_MP) values ('10001103N', 3, 1190005, 'WST', 14800, 1.42, 1.55); insert into AVG_TABLE (ID, TYPE, NUM, NAME, VALUE, BEG_MP, END_MP) values ('10001103N', 3, 1190006, 'WST', null, 1.55, 2.03); insert into AVG_TABLE (ID, TYPE, NUM, NAME, VALUE, BEG_MP, END_MP) values ('10001103N', 3, 1190006, 'WST', null, 2.03, 2.66); insert into AVG_TABLE (ID, TYPE, NUM, NAME, VALUE, BEG_MP, END_MP) values ('10001103N', 3, 1190007, 'WST', null, 2.66, 2.78); commit;
Hello
Use LEAD and LAG when you know exactly how far is the target line (for example, if you know the desired value is on the next row).
If you don't know exactly how far is the target line, then FIRST_VALUE and LAST_VALUE are more likely to be useful.WITH got_neighbors AS ( SELECT avg_table.* , LAST_VALUE (value IGNORE NULLS) OVER (ORDER BY beg_mp) AS prev_value , LAST_VALUE (value IGNORE NULLS) OVER (ORDER BY beg_mp DESC) AS next_value FROM avg_table ) SELECT id, type, num, name, beg_mp, end_mp , COALESCE ( value , ( NVL (prev_value, next_value) + NVL (next_value, prev_value) ) / 2 ) AS value FROM got_neighbors ORDER BY beg_mp to f ;
Riedelme is correct: LAG LEAD (as well as FIRST_VALUE and LAST_VALUE) can return only the values that are there (or that you give as default values). This means that you can not solve this problem with these functions alone; you need something else (as NVL, above) to provide value when the function does not find it.
-
I created an adobe account and I am currently trying to install creative cloud in order to try the trial version of photoshop and lightroom, but I can't get insofar as the process of checking e-mail and adobe is sending the e-mail to my email from hotmail to nephews who is not associated with this account. He used my iMac in November but I only created this adobe account this week. His e-mail address is not linked to this account anyway... help. I really need to try out photoshop and lightroom and do not want to buy the monthly where the same problems occurs. Thanks in advance.
> He used my iMac in November
What you need to do is to get him to sign with the cloud on your computer, uninstall and clean all Adobe, then login with your account
Disconnect the TWO accounts... Uninstall... to run vacuuming...
-http://helpx.adobe.com/creative-cloud/help/install-apps.html (and uninstall)
-using the vacuuming after uninstalling and before reinstalling is often necessary
-https://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html
-Restart your computer... Sign in to YOUR account... Reinstall
-
ensure a BPEL process with name of user and password in 10g
ensure a BPEL process with name of user and password in 10guse GOSA gateways...
create a gateway and set your policy to the gateway
-
My screen iphone6 is cracked and in my country, they can only change the iphone with a new one and with a very high price. Is there anyway that I could replace just the screen?
No, if you want to keep all rights to the service or support from Apple. Not to mention the fact that it then will be bork Touch ID and make the phone unusable if ever, you restore or update of iOS.
Apple doesn't sell parts of the iPhone. There is no legitimate sources for replacement screens.
-
my computer is the signature with a temporary profile and I can't access any of my files how to fix this?
Hello
Please post in the forums for your version of Windows.
Ask a question in a select Technical Forum here appropriate injector:
Microsoft Community - Forums
http://answers.Microsoft.com/en-usPlease provide all the information we need to help us help you.
How to ask a question
http://support.Microsoft.com/kb/555375=================================
These methods should help for Windows 7 or Vista.
References to Vista also apply to Windows 7.
You can try to fix it with Safe Mode - repeatedly press F8 as you bootup. THE ADMIN
Safe Mode account has no default password (so unless someone changed
the password should be available).Some programs such as the Google Updater (if you've added the Google toolbar,
Chrome or Google Earth) has been known to cause this problem.Error message when you log on to a Windows Vista-based or Windows 7
computer by using a temporary profile: "the user profile Service has no logon.
Unable to load the user profile.
http://support.Microsoft.com/kb/947215Difficulty "the user profile Service has no logon. User profile cannot be loaded. "Error in Windows 7
http://www.SevenForums.com/tutorials/186131-user-profile-service-failed-logon-user-profile-cannot-loaded.htmlHow to fix error "the user profile Service has no logon. Could not load user profile. "in
Vista & Windows 7.
http://www.Vistax64.com/tutorials/130095-user-profile-service-failed-logon-user-profile-cannot-loaded.htmlHow to fix error "your user profile was not loaded correctly! You have been connected with a
temporary profile. "in Vista & Windows 7.
http://www.Vistax64.com/tutorials/135858-user-profile-error-logged-temporary-profile.htmlBE VERY CAREFUL IF YOU USE THIS ONE:
DO NOT USE THE ACCOUNT HIDDEN ON A DAILY BASIS! If it corrupts you are TOAST.
----------------------------------------------------------------------------------------------------------
For Windows 7:
http://www.SevenForums.com/tutorials/507-built-administrator-account-enable-disable.htmlUse the hidden administrator account to lower your user account APPLY / OK then
Raise it to ADMIN. This allows clear of corruption. Do the same for other accounts
If necessary after following the above message.You can use the hidden - administrator account to make another account as an ADMINISTRATOR with
your password even (or two with the same password) use a test or difficulty to another.You can run the command Admin account hidden from the command prompt
from there if necessary.How Boot for Windows 7 System Recovery Options or use a Windows 7 boot disk.
http://www.SevenForums.com/tutorials/668-system-recovery-options.htmlWhat are the system recovery options in Windows 7?
http://Windows.Microsoft.com/en-us/Windows7/what-are-the-system-recovery-options-in-Windows-7How to create a Windows 7 - free methods system repair disc
http://www.SevenForums.com/tutorials/2083-system-repair-disc-create.html----------------------------------------------------------------------------------------------------------
For Vista:
How to enable or disable the real built-in Administrator account in Vista
http://www.Vistax64.com/tutorials/67567-administrator-account.htmlUse the hidden administrator account to lower your user account APPLY / OK then
Raise it to ADMIN. This allows clear of corruption. Do the same for other accounts
If necessary after following the above message.You can use the hidden - administrator account to make another account as an ADMINISTRATOR with
your password even (or two with the same password) use a test or difficulty to another.You can run the command Admin account hidden from the command prompt
from there if necessary.This tells you how to access the System Recovery Options and/or a Vista DVD
http://windowshelp.Microsoft.com/Windows/en-us/help/326b756b-1601-435e-99D0-1585439470351033.mspxWhat are the system recovery options in Windows Vista?
http://Windows.Microsoft.com/en-us/Windows-Vista/what-are-the-system-recovery-options-in-Windows-VistaHow to create a Vista - free methods recovery disk
http://www.Vistax64.com/tutorials/141820-create-recovery-disc.html---------------------------------------------------------------------------------------------------------
If you can't access your old account you can still use an Admin to migrate to one
new (remember to always leave an account Admin who is not used except)
to test and difficulty).Difficulty to a Vista - corrupted user profile
http://Windows.Microsoft.com/en-us/Windows-Vista/fix-a-corrupted-user-profileDifficulty to a corrupt user - Windows 7 profile
http://Windows.Microsoft.com/en-us/Windows7/fix-a-corrupted-user-profileI hope this helps.
Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="">-><- mark="" twain="" said="" it="">->
-
* Original title: scam or not
I received a call from a woman saying that she was with the ICC with Windows service provider and they received my computer error messages and I wouldn't be able to help me solve it. I asked for a number of 800-373-4609 because he came unknown on my phone.
I wanted to open my computer. I told her I would call her back.
Is it a scam?
(Moved from P & M)
Yes, it's a scam. When someone calls and says they need to talk to you about 'mistakes' in your computer, simply hang up. I just had one of these calls myself about 15 minutes ago.
-
First, I'm joining the forum with a question CS4 and CS5 Suite for Mac. Can someone tell me why it is NOT a place to submit a question as it is here?
Creative Suites Mac forum seems to be closed, so moved that Creative Suites Windows the Forum of Creative Suites "base".
Then... Post your question and someone may be able to help... is your question about the installation of the old software on a new Mac?
IF El Capitan Mac read below
CS6 and previous programs have not been tested and will not be updated to run on Mac El Capitan
-which means you are trying to use CS6 and earlier at YOUR risk of having problems
-You can get CS6 and previous programs to install and run, or you can not (some do, some don't)
-IF not, Details of the message from the error messages and a person may be able to help (just not Adobe)
This information is a MUST to install old programs on Mac El Capitan
-You can't get the same error message, but here are some links that CAN help with old programs
-Java https://helpx.adobe.com/dreamweaver/kb/dreamweaver-java-se-6-runtime.html can help
Install CS5 on Mac 10.11 https://forums.adobe.com/thread/2003455 can help (also for others than CS5)
-also a TEMPORARY security change https://forums.adobe.com/thread/2039319
-the guardian https://support.apple.com/en-au/HT202491
-
I would buy Photo shop and have it show that I can assign to a member of the team with their own username and password. I bought it once before, and it would allow only the administrator user name and password to access. would it be controlled by the cloud team account so that I can assign to a user and have all my products Adobe controlled by a single account. Photo shop will be for a single user.
Thank you
Doug
Team license links that can help
- https://creative.adobe.com/plans?plan=team team plans
-http://www.adobe.com/creativecloud/buy/business.html
-https://helpx.adobe.com/contact/creative-cloud-teams.html using the team
-manage your account http://forums.adobe.com/thread/1460939?tstart=0 team
-Team Installer http://forums.adobe.com/thread/1363686?tstart=0
-
script which gives the hostname with more CPU resources and memory available
Hello
Anyone have a script which gives the hostname with more CPU resources and memory available in the cluster?
Concerning
Vickie
Hello, VicMware-
You can get the host with the free CPU, or with the most free memory resources, using the following:
## get the host with the most free CPU cyclesGet-Cluster myCluster0 | Get-VMHost | Select-Object Name, @{n="CpuMhzFree"; e={$_.CpuTotalMhz - $_.CpuUsageMhz}} | Sort-Object -Property CpuMhzFree -Descending | Select -First 1 ## get the host with the most free memoryGet-Cluster myCluster0 | Get-VMHost | Select-Object Name, @{n="MemGBFree"; e={$_.MemoryTotalGB - $_.MemoryUsageGB}} | Sort-Object -Property MemGBFree -Descending | Select -First 1
The first would have produced something like:
Name CpuMhzFree ---- ---------- myVMHost0 25384
And the latter didn't would be out:
Name MemGBFree ---- --------- myVMHost4 122.323
.. .or each of these host computers are those with the most free memory/CPU cluster, respectively. What to do the things for which you are looking?
Maybe you are looking for
-
When I open thunderbird, open 14 screens, and I want to have only 1.
Over a long period of time, the number of screens that open has varied, but lately, he seems to have settled on 14. The program runs very slowly when picking up the mail, and I suppose it has to do with the number of screens. Thanks for any help.
-
Firefox 14 accidents after adobe flash and update firefox
only new events, firefox, update from 11 to 14 and flash set to date.first firefox crashed, then had to restart and he asked me if I was ok with the deletion of data, I delete all except bookmarks. next time, I got this message, did not work. now whe
-
Apple allows you to back up your iMac on iCloud - using Time Machine or another method?
Sorry if this question has been asked and answered before. I feel that the answer is 'no '. If it isn't "" does someone knows why? The situation is going to change? Thank you. 999 SIRIUS.
-
Hello I used the DAQ of NI 6509 PCI card in my Dell Power Edge 860 server for years, but with a PCI - X riser installed. Works very well. I need to update my servers. Maybe for the new Dell Power Edge R230 which has only a riser with PCIe slots. Ther
-
Control Panel suddenly stops downloading at 90%
Hello I have a running in a cRIO Vi and I want to control it with a web browser (Internet Explorer 7). The cRIO is connected to the internet with a modem GPRS (GPRS of Multitech MultiModem). Because the GPRS connection is low bandwidth, I can open th