Performing multiple updates through a grid
I'm pretty green as far as Dynpro goes so please forgive me if this is an easy one.
Basically I have a table (grid) which allows a user to view and edit pricing information.
The data is retrieved and updated through .NET web services.
The pricing values are edited through an InputField contained in one of the columns of the grid. This InputField is, in turn, bound to a property in the response from the web service in my view context.
Lets say a user edits one price, hits the down arrow on the keyboard and edits another field and then hits Enter.
Somehow, I need to identify in my "OnEnter" event handler, exactly which rows were edited so I can then pass the pertainent data to the web service for processing.
I don't think I can use the typical "getLeadSelected" and "isMultiSelected" scenario that you would for deleting a row.
I really don't want to have to create a separate view for editing individual grid lines one at a time and relegate the grid to being a simple read only selection control.
Any suggestions?
-Sheldon
Ended up solving this one today. Wasn't too bad once I got a good handle on tranversing the Context and using the .isChangedByClient() property. (Like I said, I'm pretty new to Dynpro)
For completeness I am including my solution with this post. (sorry for the exceedingly long names)
public void onActionUpdatePricing(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
//@@begin onActionUpdatePricing(ServerEvent)
//Find out how many records we have
int n = wdContext.nodeRequest_EmployeeSalesServicesSoap_getAllProductPrices().nodeProductPrice_Response().nodeProductPrice_Result().size();
// create an instance of the update web service class
Request_EmployeeSalesServicesSoap_updatePrice reqUpdPrice = new Request_EmployeeSalesServicesSoap_updatePrice();
wdContext.nodeRequest_EmployeeSalesServicesSoap_updatePrice().bind(reqUpdPrice);
//temporary storage for a single element as we iterate through them
IWDNodeElement PriceElement;
for (int i = 0; i <= n - 1; i++)
//Get an element
PriceElement = wdContext.nodeRequest_EmployeeSalesServicesSoap_getAllProductPrices().nodeProductPrice_Response().nodeProductPrice_Result().getElementAt(i);
//Check to see if it has been modified
if (PriceElement.isChangedByClient())
//If it has been modified then call the update function in the component controller. This
// method will, in turn, call the web service class with the appropriate parameters
// TO DO: error checking for update failure.
wdThis.wdGetMainmenuController().UpdatePrice(Integer.parseInt(PriceElement.getAttributeAsText("priceID")),Float.parseFloat(PriceElement.getAttributeAsText("productSellingPrice")));
//After we are done updating, reset the Context changed bit for all items
wdContext.getContext().resetChangedByClient();
//@@end
Similar Messages
-
Multiple Updates on Oracle Table
I am performing multiple updates on an Oracle table that has 4 million records. Currently I am performing the updates serially like mentioned below:
update test set zone='2' where zone='002';
update test set zone='2' where zone='102';
update test set zone='2' where zone='132';
update test set zone='2' where zone='2';
update test set zone='2' where zone='202';
update test set zone='2' where zone='242';
update test set zone='2' where zone='302';
update test set zone='3' where zone='003';
update test set zone='3' where zone='103';
update test set zone='3' where zone='133';
update test set zone='3' where zone='203';
update test set zone='3' where zone='243';
update test set zone='3' where zone='3';
update test set zone='3' where zone='303';
update test set zone='4' where zone='004';
update test set zone='4' where zone='104';
update test set zone='4' where zone='134';
update test set zone='4' where zone='204';
update test set zone='4' where zone='244';
update test set zone='4' where zone='304';
update test set zone='4' where zone='4';
update test set zone='5' where zone='005';
update test set zone='5' where zone='105';
update test set zone='5' where zone='135';
update test set zone='5' where zone='205';
update test set zone='5' where zone='245';
update test set zone='5' where zone='305';
update test set zone='5' where zone='5';
update test set zone='6' where zone='006';
update test set zone='6' where zone='106';
update test set zone='6' where zone='136';
update test set zone='6' where zone='206';
update test set zone='6' where zone='246';
update test set zone='6' where zone='306';
update test set zone='6' where zone='6';
update test set zone='7' where zone='007';
update test set zone='7' where zone='107';
update test set zone='7' where zone='137';
update test set zone='7' where zone='207';
update test set zone='7' where zone='247';
update test set zone='7' where zone='307';
update test set zone='7' where zone='7';
update test set zone='8' where zone='008';
update test set zone='8' where zone='108';
update test set zone='8' where zone='138';
update test set zone='8' where zone='208';
update test set zone='8' where zone='248';
update test set zone='8' where zone='308';
update test set zone='8' where zone='8';
update test set zone='2' where zone='02';
update test set zone='3' where zone='03';
update test set zone='4' where zone='04';
update test set zone='5' where zone='05';
update test set zone='6' where zone='06';
update test set zone='7' where zone='07';
update test set zone='8' where zone='08';
update test set zone='44' where zone='044';
update test set zone='44' where zone='224';
update test set zone='45' where zone='045';
update test set zone='46' where zone='046';
update test set zone='46' where zone='226';
update test set zone=null where zone='0';
update test set zone=null where zone='09';
update test set zone=null where zone='10';
update test set zone=null where zone='11';
update test set zone=null where zone='12';
update test set zone=null where zone='A ';
update test set zone=null where zone=' ';
How can I perform these updates more effeciently and faster? Is there anything I could do to fine tune these updates?
Thanksis zone varchar2(3) ?
Verify if following Uppercase updates replace your previous updates
update test set zone='2' where zone='002';
update test set zone='2' where zone='102';
update test set zone='2' where zone='132';
update test set zone='2' where zone='202';
update test set zone='2' where zone='242';
update test set zone='2' where zone='302';
update test set zone='3' where zone='003';
update test set zone='3' where zone='103';
update test set zone='3' where zone='133';
update test set zone='3' where zone='203';
update test set zone='3' where zone='243';
update test set zone='3' where zone='303';
update test set zone='4' where zone='004';
update test set zone='4' where zone='104';
update test set zone='4' where zone='134';
update test set zone='4' where zone='204';
update test set zone='4' where zone='244';
update test set zone='4' where zone='304';
update test set zone='5' where zone='005';
update test set zone='5' where zone='105';
update test set zone='5' where zone='135';
update test set zone='5' where zone='205';
update test set zone='5' where zone='245';
update test set zone='5' where zone='305';
update test set zone='6' where zone='006';
update test set zone='6' where zone='106';
update test set zone='6' where zone='136';
update test set zone='6' where zone='206';
update test set zone='6' where zone='246';
update test set zone='6' where zone='306';
update test set zone='7' where zone='007';
update test set zone='7' where zone='107';
update test set zone='7' where zone='137';
update test set zone='7' where zone='207';
update test set zone='7' where zone='247';
update test set zone='7' where zone='307';
update test set zone='8' where zone='008';
update test set zone='8' where zone='108';
update test set zone='8' where zone='138';
update test set zone='8' where zone='208';
update test set zone='8' where zone='248';
update test set zone='8' where zone='308';
UPDATE TEST SET ZONE=SUBSTR(ZONE,3) WHERE SUBSTR(ZONE,1,2) IN ('10','13','20','24','30')
update test set zone='2' where zone='2';
update test set zone='3' where zone='3';
update test set zone='4' where zone='4';
update test set zone='5' where zone='5';
update test set zone='6' where zone='6';
update test set zone='7' where zone='7';
update test set zone='8' where zone='8';
UPDATE TEST SET ZONE=ZONE WHERE ZONE IN ('2','3','4','5','6','7','8') -- SAME VALUE why update ???
update test set zone='2' where zone='02';
update test set zone='3' where zone='03';
update test set zone='4' where zone='04';
update test set zone='5' where zone='05';
update test set zone='6' where zone='06';
update test set zone='7' where zone='07';
UPDATE TEST SET ZONE=SUBSTR(ZONE,2) WHERE SUBSTR(ZONE,1,1) = '0'
update test set zone='44' where zone='044';
update test set zone='44' where zone='224';
UPDATE TEST SET ZONE='44' WHERE ZONE IN ('044','224')
update test set zone='45' where zone='045';
UPDATE TEST SET ZONE='45' WHERE ZONE='045';
update test set zone='46' where zone='046';
update test set zone='46' where zone='226';
UPDATE TEST SET ZONE='46' WHERE ZONE IN ('046','226')
update test set zone=null where zone='0';
update test set zone=null where zone='09';
update test set zone=null where zone='10';
update test set zone=null where zone='11';
update test set zone=null where zone='12';
update test set zone=null where zone='A ';
update test set zone=null where zone=' ';
UPDATE TEST SET ZONE=null WHERE ZONE IN ('0','09','10','11','12','A ',' ')if so build a single update
update test
set zone = case when SUBSTR(ZONE,1,2) IN ('10','13','20','24','30') then SUBSTR(ZONE,3)
when SUBSTR(ZONE,1,1) = '0' then SUBSTR(ZONE,2)
when ZONE IN ('044','224') then '44'
when ZONE='045' then '45'
when ZONE IN ('046','226') then '46'
when ZONE IN ('0','09','10','11','12','A ',' ') then null
endonly you know all your zone values (very sensitive to zone addition) add length(zone) conditions if necessary
Regards
Etbin -
Same Windows Update installed multiple times through SCCM 2012
Hello There,
I am using SCCM 2012 to deploy critical and important updates through Automatic Deployment Rule it works fine but i have noticed recently on the client machines i see the same KB / update is installed multiple times.
Why would this happen? Please suggest.
Regards,
Maqsood
Maqsood Mohammed Senior Systems Engineer MCITP-Enterprise Admin & ITILv3 Foundation CertifiedHi,
My computer also have duplicated updates installed. I uninstalled one of them that needed a restart. Then uninstall another one after restart, it hadn't asked for restart and the uninstall process was very fast. So I think the update only installed one time,
the others are duplicated records.
Best Regards,
Joyce
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Windows 8.1 Hybrid Boot and Software Updates through ConfigMgr
Hello,
I've never posted here before because I usually get all my answers from a search. But this issue I'm finding very little information about throughout the web.
In my organization we have ConfigMgr deploying monthly software updates, usually just Security Updates, to our Windows 8.1 estate. We have a standard 8.1 build on our machines, nothing too custom. We have left the Hybrid Boot feature left on.
However, when deploying software updates through ConfigMgr we're seeing reboot after reboot to complete. In some cases up to 5 restarts and so we have had to disable all reboots and reboot notifications. Disabling Hybrid Boot allows all updates
to install after just 1 restart. So from what I understand, a full shut down is required to apply software updates. Can anyone tell me whether Windows 8.1 should be aware of updates it is applying and switch to a full shut down when Hybrid Boot
is enabled?
I know this is very much a Windows 8.1 issue, however I'm interested to know whether other people deploying software updates via ConfigMgr have experienced this issue in their environments.
Thanks for any advice.Hi,
Please check the article below first. It indicates the restart process in Windows 8 continues to perform a full boot cycle, without the Hibernation performance improvement .
Quote:
What About Restart?
When you restart the computer, that typically means that you want a completely new Windows state, either because you have
installed a driver or replaced Windows elements that cannot be replaced without a full restart.
As a result, the restart process in Windows 8 continues to perform a full boot cycle, without the Hibernation performance improvement mentioned above.
Windows 8: Fast Boot
Best Regards,
Joyce
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] -
How to perform insert, update and delete in a table component
hi all,
i am using a table component in my page. I want to retreive data from multiple tables as well as perform insertion, updation and deletion operation.The changes should be affected in the corresponding tables. can anyone provide a solution for my problem.
Thanks in advance
regards,
prasantThere is a great tutorial for insert, update and delete records in a table.
http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/inserts_updates_deletes.html
Hope it helps.
Thanks,
Moumita -
Select from multiple tables through dblink
I am seeking help. Can I select multiple tables through a dblink from a remote database? I tried, it seems it always return ORA-00933 error. code like this:
select A.ID, B.CODE, C.TYPE_DESC
from TABLE_ONE A@db_link , TABLE_TWO B@db_link, TABLE_THREE C@db_link;
where A.ID = B.ID
and B.CODE = C.CODE
Thanks in advance.Just as an FYI, from a performance standpoint, it is frequently the case (though certainly not guaranteed) that you'll get better performance creating a view on the remote database that does the join of all three tables and to use that view in your query, particularly if you're also joining in local tables. Optimizing SQL statements across database links tends to be particularly hard, a view often helps force Oracle to join the remote tables on the remote database which is generally what you'd want. Of course, this is not a guarantee, and you can always get explicit with hints to force joins to happen on one or the other system, but this is frequently the easiest starting point.
Justin -
friends,
I am getting the below error when multiple update queries.Please suggest me how to solve this issue.
ORA-00028: your session has been killed
ORA-01012: not logged on
ORA-01012: not logged on
ORA-01012: not logged onHi,
As you said that you have carried out multiple updates on DB.
Does it includes the DB link, source of updates which you performed.?? If yes, then pls re-check then there might be some network I/O problems else check the type of db links you are maintaing.
Further refer to
http://download.oracle.com/docs/cd/B10501_01/server.920/a96521/manproc.htm
- Pavan Kumar N -
I cannot perform security update with Mac OS X v10.411
I cannot perform security update with Mac OS X v10.411. My Mac Book Pro is super behind concerning updates and security.
Yes, I too have that problem. And, I have actually been hacked into, had all of my files, folders, photos, applications, sys pref, (in-other-words) EVERYTHING copied and recopied. It has been a nightmare. My identity was completely stolen. What makes it worse is that when I told apple ~ I was told by 1 Apple Supervising Technician that I was out of my mind and that it wasn't possible. He was very dismissive and treated me if I were some kind of idiot. Well, check out below. This is since Saturday or Sunday last. I didn't authorize this and I sure as **** don' know who any of these people are.
I installed the 10.5 disk. And I too, like many Macbook Pro users had the "Black Screen" bug. So I had to go back to 10.4. I went back and this is what I inherited. I now rarely have control over the computer, never my printer and I my security has been and is constantly being compromised. I believe that Apple needs to own up to this and, perhaps, do something about it? Am I asking too much?
Last login: Wed Sep 14 20:28:35 on console
Welcome to Darwin!
localhost:~ cat$ who
cat console Sep 14 20:28
cat ttyp1 Sep 14 20:28
localhost:~ cat$ whois
usage: whois [-aAbdgiIlmQrR6] [-c country-code | -h hostname] [-p port] name ...
localhost:~ cat$ finger
Login Name TTY Idle Login Time Office Phone
cat catherine ronalds *con 56 Wed 20:28
cat catherine ronalds p1 Wed 20:28
localhost:~ cat$ whois *con
Whois Server Version 2.0
Domain names in the .com and .net domains can now be registered
with many different competing registrars. Go to http://www.internic.net
for detailed information.
Server Name: CON.ZZBB.COM
IP Address: 203.231.42.121
Registrar: INAMES CO., LTD.
Whois Server: whois.inames.co.kr
Referral URL: http://www.inames.co.kr
Server Name: CON.VENUS.ORDERBOX-DNS.COM
IP Address: 74.54.56.236
IP Address: 74.54.56.227
IP Address: 74.54.56.231
Registrar: DIRECTI INTERNET SOLUTIONS PVT. LTD. D/B/A PUBLICDOMAINREGISTRY.COM
Whois Server: whois.PublicDomainRegistry.com
Referral URL: http://www.PublicDomainRegistry.com
Server Name: CON.TOM.RU
Registrar: REGIONAL NETWORK INFORMATION CENTER, JSC DBA RU-CENTER
Whois Server: whois.nic.ru
Referral URL: http://www.nic.ru
Server Name: CON.MERCURY.ORDERBOX-DNS.COM
IP Address: 67.15.253.251
IP Address: 67.15.47.189
IP Address: 67.15.253.220
Registrar: DIRECTI INTERNET SOLUTIONS PVT. LTD. D/B/A PUBLICDOMAINREGISTRY.COM
Whois Server: whois.PublicDomainRegistry.com
Referral URL: http://www.PublicDomainRegistry.com
Server Name: CON.MARS.ORDERBOX-DNS.COM
IP Address: 74.52.140.84
IP Address: 74.52.140.82
IP Address: 74.52.140.83
Registrar: DIRECTI INTERNET SOLUTIONS PVT. LTD. D/B/A PUBLICDOMAINREGISTRY.COM
Whois Server: whois.PublicDomainRegistry.com
Referral URL: http://www.PublicDomainRegistry.com
Server Name: CON.MAIYEUBE.NET
IP Address: 207.218.250.214
Registrar: MELBOURNE IT, LTD. D/B/A INTERNET NAMES WORLDWIDE
Whois Server: whois.melbourneit.com
Referral URL: http://www.melbourneit.com
Server Name: CON.MAFIAWORLDCONFLICT.COM
IP Address: 96.125.168.211
Registrar: DOMAIN.COM, LLC
Whois Server: whois.domain.com
Referral URL: http://www.domain.com
Server Name: CON.KONKAK.COM
IP Address: 67.214.175.71
Registrar: TUCOWS.COM CO.
Whois Server: whois.tucows.com
Referral URL: http://domainhelp.opensrs.net
Server Name: CON.KANGX.COM
IP Address: 210.118.234.6
Registrar: YESNIC CO. LTD.
Whois Server: whois.yesnic.com
Referral URL: http://www.yesnic.com
Server Name: CON.JCSMEDIA.COM
IP Address: 216.199.69.35
Registrar: WILD WEST DOMAINS, INC.
Whois Server: whois.wildwestdomains.com
Referral URL: http://www.wildwestdomains.com
Server Name: CON.HNIP.CO.KR
Registrar: INAMES CO., LTD.
Whois Server: whois.inames.co.kr
Referral URL: http://www.inames.co.kr
Server Name: CON.ETVILLE.COM
IP Address: 112.220.108.114
Registrar: ASADAL, INC.
Whois Server: whois.asadal.com
Referral URL: http://www.asadal.com
Server Name: CON.EARTH.ORDERBOX-DNS.COM
IP Address: 67.15.253.252
IP Address: 67.15.47.188
IP Address: 67.15.253.219
Registrar: DIRECTI INTERNET SOLUTIONS PVT. LTD. D/B/A PUBLICDOMAINREGISTRY.COM
Whois Server: whois.PublicDomainRegistry.com
Referral URL: http://www.PublicDomainRegistry.com
Server Name: CON.DIABLOIII.PRO
Registrar: OVH
Whois Server: whois.ovh.com
Referral URL: http://www.ovh.com
Server Name: CON.DELDC.COM
IP Address: 210.91.181.71
Registrar: YESNIC CO. LTD.
Whois Server: whois.yesnic.com
Referral URL: http://www.yesnic.com
Server Name: CON.CONFESIONESDESOFIA.COM
IP Address: 174.121.246.152
Registrar: MYDOMAIN, INC.
Whois Server: whois.namesdirect.com
Referral URL: http://www.namesdirect.com
Server Name: CON.CAUTO.COM
IP Address: 12.31.226.135
Registrar: NETWORK SOLUTIONS, LLC.
Whois Server: whois.networksolutions.com
Referral URL: http://www.networksolutions.com
Server Name: CON.BLAZINGREALMS.COM
IP Address: 68.67.78.230
Registrar: OVH
Whois Server: whois.ovh.com
Referral URL: http://www.ovh.com
Server Name: CON.BELLSFERRY.COM
IP Address: 216.199.69.35
Registrar: WILD WEST DOMAINS, INC.
Whois Server: whois.wildwestdomains.com
Referral URL: http://www.wildwestdomains.com
Domain Name: CON.NET
Registrar: UNIVERSAL REGISTRATION SERVICES INC. DBA NEWDENTITY.COM
Whois Server: whois.newdentity.com
Referral URL: http://www.newdentity.com
Name Server: NS1.SEDOPARKING.COM
Name Server: NS2.SEDOPARKING.COM
Status: clientDeleteProhibited
Status: clientTransferProhibited
Status: clientUpdateProhibited
Updated Date: 04-may-2011
Creation Date: 03-may-2003
Expiration Date: 03-may-2012
Domain Name: CON.COM
Registrar: TUCOWS.COM CO.
Whois Server: whois.tucows.com
Referral URL: http://domainhelp.opensrs.net
Name Server: NS1.CON.COM
Name Server: NS2.CON.COM
Status: clientTransferProhibited
Status: clientUpdateProhibited
Updated Date: 05-nov-2010
Creation Date: 05-dec-1993
Expiration Date: 04-dec-2011
>>> Last update of whois database: Thu, 15 Sep 2011 04:25:10 UTC <<<
NOTICE: The expiration date displayed in this record is the date the
registrar's sponsorship of the domain name registration in the registry is
currently set to expire. This date does not necessarily reflect the expiration
date of the domain name registrant's agreement with the sponsoring
registrar. Users may consult the sponsoring registrar's Whois database to
view the registrar's reported date of expiration for this registration.
TERMS OF USE: You are not authorized to access or query our Whois
database through the use of electronic processes that are high-volume and
automated except as reasonably necessary to register domain names or
modify existing registrations; the Data in VeriSign Global Registry
Services' ("VeriSign") Whois database is provided by VeriSign for
information purposes only, and to assist persons in obtaining information
about or related to a domain name registration record. VeriSign does not
guarantee its accuracy. By submitting a Whois query, you agree to abide
by the following terms of use: You agree that you may use this Data only
for lawful purposes and that under no circumstances will you use this Data
to: (1) allow, enable, or otherwise support the transmission of mass
unsolicited, commercial advertising or solicitations via e-mail, telephone,
or facsimile; or (2) enable high volume, automated, electronic processes
that apply to VeriSign (or its computer systems). The compilation,
repackaging, dissemination or other use of this Data is expressly
prohibited without the prior written consent of VeriSign. You agree not to
use electronic processes that are automated and high-volume to access or
query the Whois database except as reasonably necessary to register
domain names or modify existing registrations. VeriSign reserves the right
to restrict your access to the Whois database in its sole discretion to ensure
operational stability. VeriSign may restrict or terminate your access to the
Whois database for failure to abide by these terms of use. VeriSign
reserves the right to modify these terms at any time.
The Registry database contains ONLY .COM, .NET, .EDU domains and
Registrars.
No match "*con."
localhost:~ cat$ -
Hi,
My DB is 10.0.2
I have a batch program, which fires multiple updates on a single table (without commit) on different conditions.
For Ex:
update tablea set end_date=sysdate-1 where trans_id=2010;
update tablea set end_date=sysdate where trans_id=2011;
update tablea set start_date=sysdate-2 where trans_id=2009;
update tablea set start_date=sysdate-3 where trans_id=2008;
...etc
This consumes hell lot of time.
How can I convert this in to a single update.Thank you all for your suggestions.
Alas, I found no improvement in performance.
SQL> UPDATE proc_log
SET VALUTA = NULL
WHERE interest_FLAG='I';
108318 rows updated.
Elapsed: 00:03:36.65
Execution Plan
Plan hash value: 1980564716
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | UPDATE STATEMENT | | 218K| 2778K| 7415 (2)| 00:01:29 |
| 1 | UPDATE | proc_log | | | | |
|* 2 | TABLE ACCESS FULL| proc_log | 218K| 2778K| 7415 (2)| 00:01:29 |
Predicate Information (identified by operation id):
2 - filter("interest_FLAG"='I')
Statistics
131 recursive calls
768984 db block gets
38560 consistent gets
42626 physical reads
78612540 redo size
827 bytes sent via SQL*Net to client
761 bytes received via SQL*Net from client
3 SQL*Net roundtrips to/from client
1 sorts (memory)
0 sorts (disk)
108318 rows processed
SQL> SQL> UPDATE proc_log
SET WMM = NULL,
sales = NULL,
cost = NULL,
interest = NUL 2 3 L,
capital = NULL,
total = NULL
WHERE interest_FLAG='V' ;
415808 rows updated.
Elapsed: 00:06:49.09
Execution Plan
Plan hash value: 1980564716
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | UPDATE STATEMENT | | 218K| 2991K| 7419 (2)| 00:01:30 |
| 1 | UPDATE | proc_log | | | | |
|* 2 | TABLE ACCESS FULL| proc_log | 218K| 2991K| 7419 (2)| 00:01:30 |
Predicate Information (identified by operation id):
2 - filter("interest_FLAG"='V')
Statistics
360 recursive calls
878530 db block gets
491360 consistent gets
98657 physical reads
183447664 redo size
830 bytes sent via SQL*Net to client
855 bytes received via SQL*Net from client
3 SQL*Net roundtrips to/from client
1 sorts (memory)
0 sorts (disk)
415808 rows processed
SQL> SQL> UPDATE proc_log
SET VALUTA = NULL
WHERE interest_FLAG='V2';
0 rows updated.
Elapsed: 00:00:04.76
Execution Plan
Plan hash value: 1980564716
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | UPDATE STATEMENT | | 218K| 2778K| 7415 (2)| 00:01:29 |
| 1 | UPDATE | proc_log | | | | |
|* 2 | TABLE ACCESS FULL| proc_log | 218K| 2778K| 7415 (2)| 00:01:29 |
Predicate Information (identified by operation id):
2 - filter("interest_FLAG"='V2')
Statistics
1 recursive calls
0 db block gets
37799 consistent gets
8012 physical reads
0 redo size
832 bytes sent via SQL*Net to client
762 bytes received via SQL*Net from client
3 SQL*Net roundtrips to/from client
1 sorts (memory)
0 sorts (disk)
0 rows processed
SQL> SQL> SQL> SQL> SQL> roll;
Rollback complete.
SQL> update proc_log
set VALUTA = (case when interest_FLAG in ('I','V2') then NULL end),
WMM = (case when interest_FLAG in ('V') then NULL end),
sales =(case when interest_FLAG in ('V') then NULL end),
cost = (case when interest_FLAG in('V') then NULL end),
interest =(case when interest_FLAG in ('V') then NULL end),
capital = (case when interest_FLAG in ('V') then NULL end) ,
total =(case when interest_FLAG in('V') then NULL end)
where interest_FLAG in ('I','V2','V');
524126 rows updated.
Elapsed: 00:16:27.54
Execution Plan
Plan hash value: 1980564716
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | UPDATE STATEMENT | | 437K| 10M| 7440 (3)| 00:01:30 |
| 1 | UPDATE | proc_log | | | | |
|* 2 | TABLE ACCESS FULL| proc_log | 437K| 10M| 7440 (3)| 00:01:30 |
Predicate Information (identified by operation id):
2 - filter("interest_FLAG"='I' OR "interest_FLAG"='V')
Statistics
1255 recursive calls
3826133 db block gets
71077 consistent gets
14830 physical reads
489474188 redo size
832 bytes sent via SQL*Net to client
1179 bytes received via SQL*Net from client
3 SQL*Net roundtrips to/from client
1 sorts (memory)
0 sorts (disk)
524126 rows processed
SQL> SQL> roll;
Rollback complete.I have two types of updates in sequence.
1. with columns in where clause are same but different columns in update clause
2. With columns in where clause different but same columns in update clause -
I am trying to update the LMS, but I am getting error through proxy server. I can do normal browsing through proxy without any problem. May I know the protocol and site that auto-update trying to access like https or ftp and cisco.com.
Thanks and Regards,
Ahmed Shahzad.I can access the http://www.cisco.com or http://cco.cisco.com on the same subnet, but could not able to perform Auto-update on CS-MARS. I am getting the following error:
Unable to connect to the server, please check the URL, user name and password.
However the same URL with same UID and PWD is working from the destop on the same subnet. Rules on the proxy server is to allow the complete subnet on cisco.com at port 80.
Thanks and Regards,
Ahmed Shahzad. -
I cannot update my ipad2 to ios5. Updating through iTunes on pc Windows Vista, Error message reads "cannot connect to iPad Software Update Server. Tried resetting network settings, still not connecting. Tried updating iTunes, still not connecting.
Look at iOS Troubleshooting Wi-Fi networks and connections http://support.apple.com/kb/TS1398
Additional things to try.
Try this first. Turn Off your iPad. Then turn Off (disconnect power cord) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
Change the channel on your wireless router. Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
How to Quickly Fix iPad 3 Wi-Fi Reception Problems
http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
If none of the above suggestions work, look at this link.
iPad Wi-Fi Problems: Comprehensive List of Fixes
http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
Cheers, Tom -
hi have just purchased iphone 4s . my itunes on my mac is currently 10.4 . 10.5 is needed for the new iphone but when i download it and click on install the itunes about still says 10.4 . have tried to update through itunes but it says there is no software available for me . please help . mr frustrated
If your computer is running an OS X prior to Snow Leopard 10.6,
the answer (if it is an Intel-based Mac; not old PowerPC model)
would be to buy the retail Snow Leopard 10.6 DVD from Apple
for about $20, and install it. Then update that to 10.6.8 by using
the installed Snow Leopard online to get Combo Update v1.1 for
Snow Leopard 10.6.8. After that is installed & updated, run the
system's Software Update again, to see what else is available to
that system.
Later systems can then be looked into at Mac App Store, once
the computer is running Snow Leopard 10.6.8.
And if your computer is a Power PC (G4/G5, etc) and has no
Core2Duo kind of CPU -- See "About this Mac" in apple menu
to disclose the general info about your Mac. Also you can see
even more by clicking on "More Info" when looking in there...
If it isn't an Intel-based Mac, it can't run a system past 10.5.8.
Hopefully this helps.
Good luck & happy computing! -
True about updates through a view
hi frds
i just need the right answer for the choices mentioned below with explanation
plz help me
What is true about updates through a view?
A. You cannot update a view with group functions.
B. When you update a view group functions are automatically computed.
C. When you update a view only the constraints on the underlying table will be in effect.
D. When you update a view the constraints on the views always override the constraints on the underlying tables.And a very tricky only it is.
Peter, you are correct that view constraints are not enforced in the sense of PKs and FKS, but there are two other view constraints that are enforced.
SQL> CREATE TABLE t AS
2 SELECT rownum id, object_name
3 FROM all_objects
4 WHERE rownum < 11;
Table created.
SQL> CREATE VIEW t_read AS
2 SELECT * FROM t
3 WITH READ ONLY;
View created.
SQL> CREATE VIEW t_check AS
2 SELECT * FROM t
3 WHERE mod(id,2) = 0
4 WITH CHECK OPTION;
View created.
SQL> CREATE VIEW t_nocheck AS
2 SELECT * FROM t
3 WHERE MOD(id, 2) = 0;
View created.
SQL> INSERT INTO t_read VALUES (100, 'READ ONLY');
INSERT INTO t_read VALUES (100, 'READ ONLY')
ERROR at line 1:
ORA-01733: virtual column not allowed here
SQL> INSERT INTO t_check VALUES (100, 'EVEN ID');
1 row created.
SQL> INSERT INTO t_check VALUES (101, 'ODD ID');
INSERT INTO t_check VALUES (101, 'ODD ID')
ERROR at line 1:
ORA-01402: view WITH CHECK OPTION where-clause violation
SQL> INSERT INTO t_nocheck VALUES(100, 'EVEN ID');
1 row created.
SQL> INSERT INTO t_nocheck VALUES(101, 'ODD ID');
1 row created.
SQL> UPDATE t_check SET id = 201
2 WHERE id = 2;
UPDATE t_check SET id = 201
ERROR at line 1:
ORA-01402: view WITH CHECK OPTION where-clause violation
SQL> UPDATE t_nocheck SET id = 201
2 WHERE id = 2;
1 row updated.The WITH READ ONLY constraint bars all changes to the view. The WITH CHECK OPTION stops any changes that would make the record invisible to the view. It is essentially a CHECK constraint on the view.
John -
Hi experts,
I still cant figure out how oracle handles multiple updates to the same row. For instance I have 3 update statements:
update supplier set supp_type = 'k' where supp_code = '1';
update supplier set supp_type = 'j' where supp_code = '1';
update supplier set supp_type = 'm' where supp_code = '1';
I keep getting the final result to be supp_type = 'k' where it should actually be 'm', but when i execute the mapping it shows 3 update operations, which baffled me as to how oracle handles simultaneous updates to same row. I even tried disabling parallel dml on the table object, but am unsure whether this actually helps. I try putting a sorter operator and then a key lookup operator after the sorter operator in my mapping to compare the supp_code field in the sorter with the target table's supp_code field to retrieve the relevant row to update, but instead of 3 update operations, it now updates all supp_type in all my records to NULL. Can anyone explain to me how i should go about dealing with this?Hi experts,
I just took a look at the code section generated for the key lookup operator named SUPPLIER_WH_SURRKEY01 and I feel something is wrong with the generated code. I have pasted the code section on the key lookup operator below.
ORDER BY
"SUPPLIER_CV"."RSID$" ASC ) *"SORTER" ON ( ( ( "SUPPLIER_WH_SURRKEY01"."EXPIRATION_DATE" = "SPIDERWEB2"."GET_EXPIRATI_0_EXPIRATI" ) ) AND ( ( "SUPPLIER_WH_SURRKEY01"."SUPPCODE" = "SORTER"."SUPP_CODE$1" ) ) )*
WHERE
( ( "SUPPLIER_WH_SURRKEY01"."SUPPKEY" IS NULL ) OR ( "SUPPLIER_WH_SURRKEY01"."SUPPKEY" = "SUPPLIER_WH_SURRKEY01"."SUPPKEY" ) );
Can anyone explain to me the codes in bold? I have no clue as to what it means? Furthermore, those bold-ed codes look similar to what I have expected to find in the where clause, except that instead of SUPPLIER_WH_SURRKEY01"."EXPIRATION_DATE" = "SPIDERWEB2"."GET_EXPIRATI_0_EXPIRATI", I expected to find
SUPPLIER_WH_SURRKEY01"."EXPIRATION_DATE" = '31-dec-4000', because my key lookup operator checks upon a constant with the value '31-dec-4000'. And the constant name is CONSTANT itself, while my mapping's name is SPIDERWEB2(not too sure why the generated code refers to my mapping name instead of my constant)
Edited by: user8915380 on 17-Mar-2010 00:52 -
Error when updating through "Role import"
Hi all
I get this error when I update through Home > Authentication > SAP > Role Import:
"An error occurred while communicating with the CMS.
The following error message was returned:
Error occurred in CSAPSecHttpRolePage::OnCommitRoles. Return value = -2147213817 (0x80041e07)j Failed to commit objects to server : Duplicate object name in the same folder."
Does this mean that I have duplicate users or groups? If this is the case, how come I get the error even if I remove all roles, update, and then add a role and update again? Then everything should have been cleared?
And the funny part is that the import of users seems to work, because I can log on to the InfoView using SAP authentication... But I don't like this error, and would like to get rid of it.
Best regards,
Martin SøgaardHi Sogaard,
when you remove all roles can you verify that all the user groups and users are being removed from the system ?
after removing the roles could you also delete the entitlement system and re-create it ?
Ingo
Maybe you are looking for
-
Planned Delivery time in case of Scheduling Agreement
Hi All, Does system consider the planned delivery time in case of Scheduling Agreement for Vendor like in normal Purchase order and requisition? I am doing the MRP run, but system is taken planned delivery time into consideration. I have one material
-
How to autoupdate firefox from a specific share folder insted of going directly to FF website
How to autoupdate firefox from a specific share folder insted of going directly to FF website
-
iam trying to put the checkboxes in different line so all the checkbox is alligned what the syntax to do that?? import java.awt.*; import java.applet.*; import java.awt.event.*; import java.text.DecimalFormat; public class Computers extends Applet im
-
Certificate expiration handling
We know that during handshake a client's/server's certificate validity (expiration) is checked. But what about it expires during the run time. I doubt that validity check is carried out once a day or so??? or it occurs once in a session's lifetime? e
-
MV11gPr1 - some FOI themes do not show labels
Hi, style definition: <?xml version="1.0" ?> <AdvancedStyle> <BarChartStyle width="70" height="70" share_scale="true" min_value="0.0" max_value="455.0"> <Bar name="porastova poda" color="#00CC00"/> <Bar name="holina" color="#FF0000"/> </BarChartStyle