Update doubt
I have a problem using update query, for updating one column in a table with another column in another table. For eg say i have two tables, collector and survey
Fields in Collector:
col_n_account_num
col_v_email
col_n_phone_number
Fields in survey
sur_v_question_id
sur_n_account_num
sur_v_response
update collector
case when sur_v_question_id=collector_email then col_v_email=sur_v_response end,
case when sur_v_question_id=collector_phone then col_n_phone_number=sur_v_response end
Thanks in advance
Regards,
ss
Please don't create duplicate threads.
Doubt in Update query
Similar Messages
-
Itouch 2.2 update doubt
I have an ipod touch,but the older version, and I have just tried for the first time to download an application, and a sign popped saying I must first download the 2.2 update. My doubt is, is this update for the old version of ipod touch or just for the new one?
for now, all updates work for both old and new.
-
Reinstalling Tiger: Software Update Missing Many Updates
I've seen a few similar topics on this issue, but only in so far as Software Update missing an update here or an update there. I am currently reinstalling Tiger on a Power Macintosh G3 B&W that has been heavily upgraded. The system specs are as follows..
1GHz PowerLogix G3 (using MAChSpeed to enable full processor speed since the included CPU Director software won't work in 10.4.11)
1GB of RAM
128MB Radeon 9200 Graphics card connected to an LG 1952 display and set to 1440x900 / millions of colors
I'd go on, but the remainder of the hardware upgrades should have no effect on Software Update to the best of my knowledge. Previously I had this machine running 10.4.11, and through the Software Update program I had installed all of the recommended updates, which included numerous security updates, Safari 4.0.3, and iTunes 8.2.1. Everything was running perfectly smoothly, but after having tested several software configurations and having decided on one in particular, I set out to reinstall Tiger from scratch in order to keep things as clean as possible. I've tried several different times now with the same results each time. Once the system is up and running, regardless of whether or not I install MAChSpeed before or after running Software Update, Software Update simply does not provided all of the updates that I believe are actually there. It did see and did allow me to install the following updates..
10.4.11 Combo update (I installed this one separately before any other updates)
Java 1.3.1 and 1.4.2 Release 2
iTunes Phone Driver 1.0
Migration and DVD/CD Sharing Update
Quicktime 7.6.4
Security Update 2009-005 (PPC)
J2SE 5.0 Release 4
Java for Mac OS X 10.4, release 5
[ditto], release 6
[ditto], release 7
[ditto], release 8
[ditto], release 9
Unless Security Update 2009-005 is meant to be a combined security update (doubtful), there are obviously several security updates that are missing. Also, I'm surprised that Software Update saw and installed Quicktime 7.6.4 but didn't see or install the latest PPC versions of iTunes or Safari. Safari 4.0.3 as I understand requires Security Update 2009-002, so naturally it would not see or install Safari without that update being installed first. While I don't necessarily mind installing updates manually (downloading them individually off Apple's support site and then installing by hand), I really prefer using Software Update to better automate the process. Up until now I have never had any problems with Software Update, but this problem is certainly aggravating. My primary concern is that I have no idea what updates are necessary and what updates are not necessary to ensure proper and relatively secure operation of my system, and I have no way of knowing whether or not Software Update will see any future updates (provided that Apple continues to support Tiger for a little while longer). If Software Update is missing crucial updates out of the gate, how can I be sure that it will see any further crucial updates that may hopefully be released?
I know that's part question / part rant, but I've been wracking my brain for the past few days over this one. Any information that could help solve this problem will definitely be appreciated, especially since my B&W is my preferred browsing machine.
Incidentally, my iBook, a Clamshell FW SE, is currently running the same setup that my B&W was previously running.. 10.4.11 with Quicktime 7.6.4, iTunes 8.2.1, and Safari 4.0.3, so as far as I can tell, this shouldn't be hardware related (my iBook is far less powerful than my B&W currently is). Also, a cursory glance at the Installed Updates list on my iBook definitely shows that my Software Update on my B&W is missing many updates.I reformatted the drive first and did a clean install. I'm currently in the process of downloading the standalone installers for Safari 4.0.3 and iTunes 8.2.1. It's looking like that's the solution at present, but I'm still curious as to why Software Update won't see any iTunes or Safari updates within the current system configuration's capabilities (speaking to both apps possibly being cumulative). I can't see Software Update simply not having those updates because there is newer version out, if indeed they are cumulative, since that would mean that anyone reinstalling or upgrading on an older machine would be forced to perform some of the updates manually where not too long ago they would have been able to simply use Software Update as a "one stop" solution.
Oh well, maybe I'm just being too picky . I've had to deal with running around in circles to find software updates for manual installs for years with Windows systems, and Apple's "one stop" Software Update system was a wonderful, welcome change to that. -
Did anyone go from 4.0 to 4.2 on 2GT yet??
just seeing if it helped any or made a difference or even messed it up more....please respond if so because im going to wait to update.
Diana Devine wrote:
I am disappointed in several things now ... one it seems to be slower bringing up things to the screen but my biggest issue is that I can get sound from it when I put it on my bose speaker.????? sound comes from the ipod touch but not from the speakers!!
iOS 4 may cause your 2G Touch to run slower, just a limitation of the hardware in your generation of Touch. As far as your Bose goes, it is quite likely that iOS 4 affected the compatibility with it. Several people have had car stereos and other accessories that worked with 2.x or 3.x suddenly stop working with iOS 4. If that's your situation, you can check if Bose has a software update (doubtful), hope that iOS 4.1 will restore compatibility (doubtful), or find a way to down-rev your Touch's software. There is no easy way to down-rev your OS, but it is possible, just search around here since there are plenty of posts on how to do it (or search on Google). -
Not rally a question, just wanted to share my absolute frustration with the update of iTunes...this is, without a shadow of a doubt THE WORST application i have EVER used, Mac or PC! And that's saying something with the amount of PC dross that's out there...Apple...PLEASE update and give us back the old version of iTunes...
Pull down View > Show Sidebar. This will give you back the same functionality of iTunes 10.x.x.
-
Doubt on updating PROJN field in EKKN
Hi Friends,
I have a requirement to update the PROJN(old pos number) field in EKKN table with some shipment date from input file.
i have checked with BAPI_PO_CHANGE for updation.
I cannot accurately find a specific field where i need to update for PROJN in that BAPI.
Actually the PROJN field is not in use now.
Can anybody help me with which field in ME22N denotes the PROJN field.
Is there any ways to update an non-existing field with some other field.
<b><REMOVED BY MODERATOR></b>
Message was edited by:
Alvaro Tejada GalindoAs the field is no longer used I doubt if there is a bapi or other object that allows you to update the field. Even if there was a bapi then support for updating that field could be withdrawn in the future. To be safe you should look at using another field. If you get replies telling you to directly update ekkn-projn then ignore them, thats silly.
-
1GB memory for minor update on my phone, I doubt.
The memory space of 7.1.1 seemed so huge that it has 1GB memory. Am I the only one who have this problem? I doubt 1GB is too much for a minor update. please help me
If you Update iOS, either via OTA or with Cable, some 'other' is increased.
It is therefore, suggested to backup in iTunes, Restore to newest iOS, setup as new.
Then use iTunes tabs to put back personal data on the iPhone.
Or Restore with saved backup. -
Doubt about Scan and Update Catalog Objects That Require Updates link
Hi,
I have a doubt about 'Scan and Update Catalog Objects That Require Updates' link in Administration,
how can I know how many objects that required upgrading before I click this link???
in doc.
http://docs.oracle.com/cd/E28280_01/bi.1111/e10541/prescatadmin.htm#BIESG3750
section 17.2.4 Updating Catalog Objects
It is said 'You can confirm the need to update by viewing the metrics in Fusion Middleware Control. In the Catalog folder, find a metric called "Reads Needing Upgrade" with description "The number of objects read that required upgrading." '
but I don't find it . my OBIEE version :11.1.1.6.2
conld you pleae help me ??
thank you in advance.That link should be there in 6 version.
I've verified in 11g6 version doc the same is existing
ref: http://docs.oracle.com/cd/E23943_01/bi.1111/e10541/prescatadmin.htm#BAJDDFFI
BTW:
http://docs.oracle.com/cd/E28280_01/bi.1111/e10541/prescatadmin.htm#BIESG3750is 11g7 version
Thanks,
http://cool-bi.com -
Doubt about UPDATE STAT COLUMN
Hi,
I have a doubt of when to execute update stat:
i create this SQL to generate an SQL script to generate update stat for all my tables:
select 'UPDATE STAT ' || schemaname || '.' || tablename || ' ESTIMATE SAMPLE 20 PERCENT' from tables where schemaname = 'DBUSER' and not tablename like 'JDBC%' AND type = 'TABLE'
and created this SQL to generate an SQL script for update stat for all columns.
select 'UPDATE STAT COLUMN(*) FOR ' || schemaname || '.' || tablename || ' ESTIMATE SAMPLE 20 PERCENT' from tables where schemaname = 'DBUSER' and not tablename like 'JDBC%' AND type = 'TABLE'
my doubt is i really need run that second script? or the UPDATE STAT for table dont UPDATE STAT for all columns?
thanks for any insight
Clóvis> my doubt is i really need run that second script? or the UPDATE STAT for table dont UPDATE STAT for all columns?
Hi Clovis,
hmm... good question.
There are a few things to know about the UPDATE STAT command here.
1) It will always generate statistics for key or indexed columns.
2) The optimizer won't be able to generate a better plan when there are column statistics for non-indexed columns present.
3) The command will also collect column statistics for all columns that already have statistics.
The direct effect of 3) is that by running your second command just once - all column statistics will always be collected.
Since you can easily change the default sample size for your tables via
ALTER TABLE SAMPLE SIZE 20 PERCENT
I would say: drop your script and just use
UPDATE STAT DBUSER.* ESTIMATE
This single command would lead to the same statistics as your script does.
And if you really, really want to leave out the JDBC tables - then just set their default sample size to 0 and they will be ignored by the UPDATE STAT command.
regards,
Lars -
Hi,
My laptop was stolen lately with iCloud activated on it. I realize that i can remotely wipe it using find my phone but I really doubt that the thief will go online. So is there a way to stop that laptop from getting my iCloud updates at least?
Help.I have the same problem, my laptop was stolen with my girlfriend's icloud activated on. If the Laptop is switched on with access to the internet it will connect to icloud. How can I find out the IP's that are connected to my icloud. That lack of information who is connected to your icloud is not qool . Sorry for my english.
-
Doubt in Date tracking update of person records
Dear all,
I have a doubt on the approach to be followed for a particular scenario. The following is the explanation:
Let us say we have a person record as follows:
Employee_No Effective start Date Marital status
100 01-Jan-2000 Single
Let us say HR user date tracked to 01-Jan-2010 and updated to Married
So we have the following :
Employee_No Effective start Date Effective end date Marital status
100 01-Jan-2000 31-Dec-2009 Single
100 01-Jan-2010 31-Dec-4712 Married
Later HR found that the date of updation was not correct it should be 01-Jan-2011, which was wrongly entered as 01-Jan-2010.
Now should the HR
1) Go to the earliest record and delete the next change and then re enter with correct date? or
2) Go to 01-Jan-2010 , Correct the record to Single, go to 01-Jan-2011 update to Married.
Because Oracle allows both. In the second case, per_all_people_f will have 2 records with the same set of data but with different start and end dates.
Can any body say which is correct approach and why?
Thanks
RajHi Raj,
In terms of business both the actions will fine as in reports it will show the same result.
From technical (data level) It is your decision on the way you want to go ahead.
In case of a error it is better practice to purge the next changes and update the record with correct details.
Thanks,
Sanjay -
i have osx 10.7.5 . i wanna know if can directly update to 10.9 as in previous version update asking for more version like if i hv to install 10.7.5 i must hv 10.7.4 ! very doubtful i m .. as in India its very difficult to dwnld 6gb.
If Mavericks is supported by your machine you can download it for free via the App Store.
-
Doubt on condition type updation in PO
> I give the conditions in PO at item level in condition Tab.
Example
Pb00 - gross price- 1000
RA01 u2013discount on gross- 10% 100-
Sub total 900
FRB1 u2013frieght 200
Total 1100
After I done G.R, purchase history will updated as single line for rs 1100. In that purchase history, I need to update freight( FRB1) and discount (RA01) condition types also with seperat lines. Is it possible?Hi,
Once you do GR following entry will get posted
Stock A/c - 1100 INR
GR/IR Clearing - 900 INR
Freight Clearing - 200 INR
So in PO History you will get line items for GR/IR Clearing value as "GR" as well as Freight Clearing value as "DCGR" both. But not for Discount. -
Hi,
I need to update all values in 2 columns (Net_Quantity) and (Net_Amount) based on join condition with the another table in plsql block.
Query which i tried
UPDATE TFS_FRCST_TOOL_LINES SET NET_ORDERS_QTY=l_net_orders_qty and NET_AMOUNT=l_net_amount
WHERE TFS_FRCST_TOOL_HDRS.HEADER_ID =TFS_FRCST_TOOL_LINES.HEADER_ID;
It not updating, returns error like command not properly ended.
Can any one please give idea to solve this.
Regards
AjanDave is right. The first thing that struck was 'and' and I had pointed it to the user who posted this.
To Ajan --> You can try either of the options below,
UPDATE TFS_FRCST_TOOL_LINES
SET
NET_ORDERS_QTY=l_net_orders_qty,
NET_AMOUNT=l_net_amount
WHERE
TFS_FRCST_TOOL_LINES.HEADER_ID IN (SELECT TFS_FRCST_TOOL_HDRS.HEADER_ID FROM TFS_FRCST_TOOL_HDRS) ;
UPDATE (select NET_ORDERS_QTY, NET_AMOUNT
from TFS_FRCST_TOOL_LINES,TFS_FRCST_TOOL_HDRS
where TFS_FRCST_TOOL_LINES.HEADER_ID=TFS_FRCST_TOOL_HDRS.HEADER_ID)
set
NET_ORDERS_QTY=l_net_orders_qty,
NET_AMOUNT=l_net_amount -
I have a problem using update query, for updating one column in a table with another column in another table. For eg say i have two tables, collector and survey
Fields in Collector:
col_n_account_num
col_v_email
col_n_phone_number
Fields in survey
sur_v_question_id
sur_n_account_num
sur_v_response
update collector
case when sur_v_question_id=collector_email then col_v_email=sur_v_response end,
case when sur_v_question_id=collector_phone then col_n_phone_number=sur_v_response end
Thanks in advance
Regards,
sswrite two simple update statements
update collector set col_v_email =
(select sur_v_response from survey
where sur_v_question_id=collector_email )
and
update collector set col_n_phone_number =
(select sur_v_response from survey
where sur_v_question_id=collector_phone)
Maybe you are looking for
-
I have an iphone 4 with my office email (MS exchange) account configured. Other accounts are Gmail & iCloud. Office email is configured as Push, Gmail as Fetch and iCloud as Push. Till ios 5.0.x everything was fine. Office emails were getting pushed
-
Does anyone else get a Netfix window popping up unexpectedly? I have an iMac with OSX 10.6.8 and Safari browser version 5.1.10. It only happens when I go to a specific local news site, and it is only a Netflix window that opens up. I do have a Netfli
-
Hp 4145B instrument driver problem
I am having a problem with the graphics plot.vi program of the hp 4145B instrument driver library I downloaded from NI network. This Vi calls a sub vi which is data output.vi and this particular subvi is unable to send its data to the computer. Only
-
I FIXED IT! (the "update" problem)
I'm sure others had figured this out first, but here it is anyway - to all those looking to fix the 2006-1-10 "update" that apple gave us..I have a nano and got this to work. Take note - YOU WILL LOSE YOUR MUSIC IF YOU DO THIS!!! 1. Open Windows Expl
-
everytime i try to update my ipod nano, i get an error message saying: 'the software required for communicating with the iPod is not installed correctly. Please reinstall iTunes to install the iPods software' i have tried reinstalling my itunes but i