Problem with Update Script
I am trying to Update a column in the Database with the Following script, but am still getting errors on ORA-00904: "CUSTOMER_CONTACT_NRD"."ACTIVE": invalid identifier, even thought this should be right.
In the end I want to update the whole table like this, but first test it on one customer.
Are the brackets maybe not set right, or am I missing something else?
update v_contact v1
set
(v1.inactive_contact) = -1
where (v1.cust_id =
customer_contact_nrd.customer_id and v1.contact_no =
customer_contact_nrd.contact_no and customer_contact_nrd.active = 'N'
and v1.cust_id = 106586)
Thank you for your help.
Edited by: mcramer on Oct 26, 2009 12:38 PM
You are not selecting the customer_contact_nrd table.
Pls try the following query to test for single customer and
remove the last condition and run for entire table
update v_contract v1
set v1.inactive_contact = -1
where v1.cust_id in
(select v2.cust_id from v_contract v2, customer_contact_nrd v3
where v2.cust_id = v3.customer_id
and v2.contact_no = v3.contact_no
and v3.active = 'N')
and v1.cust_id=106586
Similar Messages
-
Problem with updating the PC Updater software
Good evening (from Germany). I have a problem with updating my Nokia Software Updater. I can download the setup and I can execute this. But when the installation starts (0%) a error message appears. It's a problem with Windows Installer but I don't know how to solve the problem. Here is a picture with the exactly error message:
http://img-up.net/?up=Nokia_probES8HJXXg.jpg
I hope somebody knows the anser with this software...
Greetings
OS: Windows XP SP2
Phone: Nokia 3110 classic Firmware: V 5.50
Message Edited by dernamenlose on 24-Apr-2008 08:56 PMGood morning (from Denmark).
I hve the same problem.
OS: WinXP SP2
Phone: N73.
Greetings. -
Problems with updating files in the cloud
problems with updating files in the cloud
What kind of problems?
Have you recently upgraded to iCloud Drive on your iOS devices with iOS 8?
Be aware, be careful, be prepared for iCloud Drive | TUAW: Apple news, reviews and how-tos since 2004 -
nowadays have many user have problem with update to ios7 and need active with apple id maybe in the future in order escape from these problems must be stop use these products else. Because of simple user don't know about this technology and sometime just hear from other user that it 's difficult to use then force they change phone that use to handle to another.
It is a feature to discourage the theft of iPhones by making them useless if resold. It's not going anywhere. It's simple: just don't buy a phone until you make sure that the activation lock has been disabled.
-
Little execution problem with the script
declare
i number(1):=1;
name varchar2(10);
id number(2);
begin
loop
id:=&id;
name:='&name';
insert into emp values(id,name);
i:=i+1;
exit when id<=5;
end loop;
end;
When i tried to execute the script, it is going through the loop only once..What the problem with this script...Can any body help the script work?if id is less or equal to 5 then loop will execute only once.
What is the variable i for ? -
Problem with a script to remove graphics
Hello,
I have tried to build a javascript to remove all graphics whose extension is not ".EPS" (with "EPS" really in upper cases, as it is for Mathtype equations in Word import).
But It doesn't work and I can't understand why.
Here is the script:
//The script intend to remove all graphics whose extension is not ".EPS"
var myDoc = app.activeDocument;
var myGraphics = myDoc.allGraphics
//Remove graphic if graphic extension is different from ".EPS"
for (var p = 0; p < myGraphics.length; p++) {
var myImage = myGraphics[p]
if (CheckExtEps(myImage) != 0){
myImage.remove ()
//Compare graphic extension with ".EPS" and return myExtValue = 0 if it matches exactly
function CheckExtEps(myImage) {
var myString = myImage.name
myExt = myString.substr(myString.lastIndexOf( "." ))
myExtValue = myExt.localeCompare(".EPS")
return myExtValue
When I run this script, ALL the graphics are removed, ".EPS" included.
I do have ".EPS" graphics in my document and I expected them not to be removed.
So there is something wrong somewhere, but I don't know what to change.
Any ideas?
By the way, I have a more generic question as a beginner:
I am working with ExtendScript Toolkit. How can I do to check my script step by step?
For exemple, how can I display my variables values as "myString", "myExt", "myExtValue" at each step?
Actually, this script is a step for a bigger script I intend to build to deal with Mathtype equations in Word import.
After not-EPS graphics beeing removed, I wish to relink all remaining equation prewiews to eps in a selected folder, by consecutive order.
But this is a big piece of scripting to swallow for me, so I'm working slowly, step by step.
TIA
Best regards
NicolasHello Ariel
Thank you very much for your help.
1. I added semicolons at the end of lines, but the script result is the same.
2. Running line by line, I could see in the Console where is the problem:
variable "myString" is always undefined.
Well, I have to get more inside my script...
Thank's again
Best regards
Nicolas
Nicolas BALBO
[email protected]
22, rue d'Hauteville 75010 PARIS
Tel : 33 (0)1 42 57 14 31
Le 18 avr. 2012 à 17:36, Arïel a écrit :
Re: Problem with a script to remove graphics
created by Arïel in InDesign Scripting - View the full discussion
Well, I can't see any semicolons in your script. Maybe that's just the
email interface, but there should be semicolons at the ends of lines.
In the ESTK, you can step through a script a line at a time. Just click
on the downwards pointing arrow instead of the "play" arrow. Each time
you click, the script will advance one line. In the Console window
(Windw>Console) you can then type the name of the variable you wish to
examine.
Ariel
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4344039#4344039
To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4344039#4344039. In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in InDesign Scripting by email or at Adobe Forums
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746. -
Adobe Photoshop Elements Problem with update 9.0.3
Problem with updates Elements 9.0.3
Message title was edited by: Brett NThen follow the rest of the directions here:
Error "Patch cannot be applied" | Photoshop Elements 9.0.3 update | Windows
http://helpx.adobe.com/photoshop-elements/kb/error-patch-cannot-applied-photoshop.html -
Problem with update Photoshop, Illustrator and Indesign CS6
Hi all. I have problem with update Photoshop, Illustrator and Indesign CS6 on OSx 10.8.4. Application are OK but update (bug fixies) not working. Update failed. (U44M1P7)
Hi El Gondo,
The following might explain and help solve the problem...
U44M1P7 - Updates :
http://helpx.adobe.com/creative-suite/kb/error-u44m1p7-installing-upda tes-ccm.html
U44M1P7, U44M2P7 - Creative Cloud Help / Can't apply Extension Manager update 6.0.2 | Mac OS :
http://helpx.adobe.com/creative-suite/kb/unable-apply-extension-manage r-update.html
Thanks!
Ankit -
Problem with update MUSE CC 2014.2 (october 6). after upgrading to the new version of Muse crashes very often (out without notice).
HELP! i can't get ANYTHING done in the new muse - keeps closing. once it crashes - i can't get the file back open!
i've lost all my work!
from my desktop - when it stared happening was with the updated version:
Logging in build 2014.2.1.10 started at: Mon Nov 03 13:36:38 2014
========================================
[00:00:42.416] Opening file '\\D-LAPTOP\_websites\dsbees muse\dsbees.muse' with status:success size:9797632 mod Date:Tue Sep 23 15:51:42 GMT-0500 2014 highestUID: 3548
[00:01:03.898] Preparing to Save As over "\\D-LAPTOP\_websites\dsbeesTWO\dsbeesTWO.muse" exists: true
[00:01:17.516] SaveAs complete for file '\\D-LAPTOP\_websites\dsbeesTWO\dsbeesTWO.muse' file size:9830400 mod Date:Mon Nov 3 13:37:51 GMT-0600 2014 highest UID:3551
Build 232: Mon Nov 3 19:41:03 2014 UTC: Error: CSI: OOBE: Serial Number: Error Code: O-10 Error Message: Unable to retrieve the serial number (Note: this may not be an error)
Build 232: Mon Nov 3 19:41:03 2014 UTC: Error: CSI: OOBE: Serial Number: Error Code: O-10 Error Message: Unable to retrieve the serial number (Note: this may not be an error)
Build 232: Mon Nov 3 19:41:07 2014 UTC: Error: CSI: OOBE: Serial Number: Error Code: O-10 Error Message: Unable to retrieve the serial number (Note: this may not be an error)
Build 232: Mon Nov 3 19:41:21 2014 UTC: Error: CSI: IMS: Connect: Error Code: I-200 Error Message: No Account
Build 232: Mon Nov 3 19:41:21 2014 UTC: Unknown IMS error 'SHARED_NOACCT_ERROR' has occurred when retrieving IMS token.
Build 232: Mon Nov 3 19:41:57 2014 UTC: Opening file '\\D-LAPTOP\_websites\dsbees muse\dsbees.muse' with status:This Adobe Muse site file requires a newer version of Adobe Muse. Please update to the latest version. size:9797632 mod Date:Tue Sep 23 15:51:42 GMT-0500 2014
Build 232: Mon Nov 3 19:41:57 2014 UTC: This Adobe Muse site file requires a newer version of Adobe Muse. Please update to the latest version.
Logging in build 2014.2.1.10 started at: Mon Nov 03 13:43:17 2014
========================================
[00:00:21.481] Opening file '\\D-LAPTOP\_websites\dsbeesTWO\dsbeesTWO.muse' with status:success size:9830400 mod Date:Mon Nov 3 13:37:51 GMT-0600 2014 highestUID: 3551
[00:00:30.373] AssertInDebug: Unable to run recovery. User file remains locked after 5 second pause.-assertInDebugOnly+DataBase/recover+MuseSite$/recover+MethodInfo-2886+DataBase$/run Recovery+apply+UIComponent/callLaterDispatcher2+UIComponent/callLaterDispatcher+end stack
[00:00:30.404] Failed to recover file:\\D-LAPTOP\_websites\dsbeesTWO\dsbeesTWO.muse
[00:00:30.420] Calling openConnection for file that doesn't exist? C:\Users\Owner\AppData\Roaming\com.adobe.AdobeMuseCC.2014.2\Local Store\Recovery\JXRoDn335LE0UosOdoStnQ Parent folder exists.
[00:00:34.429] open of SQL connection failed for C:\Users\Owner\AppData\Roaming\com.adobe.AdobeMuseCC.2014.2\Local Store\Recovery\JXRoDn335LE0UosOdoStnQ
[00:00:34.429] Failed to open mini-save connection B "C:\Users\Owner\AppData\Roaming\com.adobe.AdobeMuseCC.2014.2\Local Store\Recovery\JXRoDn335LE0UosOdoStnQ" Doesn't exist. Folder exists. error:SQLError: 'Error #3125: Unable to open the database file.', details:'Connection closed.', operation:'open', detailID:'1001'
[00:00:34.429] EXCEPTION:[SQLC/internalOpen] SQLError: 'Error #3125: Unable to open the database file.', details:'Connection closed.', operation:'open', detailID:'1001'-SQLConnection/internalOpen+SQLConnection/open+DataBaseConnectionWrapper/o penConnection+MethodInfo-28954+EventDispatcher/dispatchEventFunction+EventDispatcher/dispa tchEvent+MethodInfo-28938+end stack
[00:00:34.445] AlertAndExit because of: [SQLC/internalOpen] SQLError: 'Error #3125: Unable to open the database file.', details:'Connection closed.', operation:'open', detailID:'1001' -
Problem with updating adobe ilustrator CS6
Hi
I have problem with updating adobe ilustrator CS6. Error code: U43M1D204Please see the below similar discussions:
http://forums.adobe.com/message/4913117#4913117#4913117
http://forums.adobe.com/message/4169374
Thanks!
Ankit -
I am having problem with updates CS5
Hi,
I am having problems with updating my CS5. I keep getting an error message "There was an error downloading this update. Please quit and try again later"
Can you please help?
Thank you
Eli BSee if doing it manually works
All updates start here and select product, read to see if you need to install updates in number order, or if the updates are cumulative for the individual product http://www.adobe.com/downloads/updates/ -
Problem with navigation script
Hi I'm having trouble getting a button work correctly when
pressed it should take user to a particular label on the main
scene. Is there a problem with my script? The button is inside a
movie clip which is inside another movie clip. Thanks in
advance.this quite difficult to explain but here goes. i have a
complex button with a roll in roll out effect. ie. a movie clip
acting as a button that shows different buttons (in another movie
clip) when it is rolled over. I then want the different buttons to
go to other parts in the main timeline. the code works fine when
the buttons are on the main timeline but because it is within
another two movie clips it doesnt work like it should. In fact the
script i have used in the first movie clip also affects the button.
This script is as follows and belongs in the first frame of the
first movie clip. In other words, I need the button not to be
effected by the following script but by the gotoAndPlay script.
Thanks -
having problem with updating to 10.6.6 , my software now is 10.5.8, when the my mac is tellin me that i have already update to the lastest software when i haven`t :/ help !
You need to find a store selling it and purchase it. If you buy it from an online store, it comes in the form of a DVD shipped to you.
Unless Apple or someone with a site license applicable to you says otherwise, you can't download it.
(60044) -
hello. i have a problem with updating illustrator CC 2014. i succeed updating indesign CC 2014 & photoshop CC 2014, but every time i try to update illustrator CC 2014, its failed.
how can i solve this problem?Link for Download & Install & Setup & Activation problems may help
-Online Chat http://www.adobe.com/support/download-install/supportinfo/ -
Y510p and problem with Update Nvidia Driver
Hi everyonei have problem with updating my y510p lenovo laptop nvidia driver ,my current nvidia driver version is 327.62 which i download from lenovo website,Now for better performance in new games like gta v and witcher3 ,i decide to updating nvidia driver,first remove my nvidia graphic driver from add or remove then download nvidia ver 350 from nvidia official web site , which nvidia website confirm it support my graphic card which is Gt755m , then i install new ver and during install i check clean install , after successful install , restart laptop , then there was problem . when i try to open nvidia control panel it wont running and an error showed up and said "You are not currently using a display attached to an NVIDIA GPU" .i try to open a game , game running in really low fps and i find out game run on hd graphic of my laptop and my nvidia graphic wont run .The only way to repair was i install my last nvidia driver 327.62 and run a system restore .guys what is your suggestion and how i can update my y510p nvidia driver ?Thanks
Hi Y510Man,
The video graphics installation order is important. You need to install the Intel Graphics first, and then do the Nvidia. IIRC you should un-install the Nvidia driver, then re-install (or upgrade) the Intel HD Graphics driver. Reboot, and install the new Nvidia driver.
I don't know why, but every time I upgraded my Y470 Nvidia driver, I had to use this procedure. First install, or re-install, the Intel driver, then install the Nvidia. You can't just upgrade the Nvidia driver without a re-install of the Intel. I think it has to do with the Optimus setting, and the automatic switching.
Let us know how it goes.
Cheers
DragonRider
Maybe you are looking for
-
i got the iphone 5, got some pics and msgs and contacts on it, and when i connected to my PC to restore my previous info from the old iphone, all the new stuff are gone, how can i get it back, thanks for help.
-
Hi, I am working on a xslt transformation and I am finding it difficult to implement the transformation. The scenario is as below. Input format :- A B B B 4 5 A B B A B B B Output format :- A B B B (since after A there were 3 B's before the next A)
-
Cancel items from CRM order using CRMXIF_ORDER_SAVE
Hi All, My requirement is to modify an existing crm order through 'CRMXIF_ORDER_SAVE'. I need to copy this FM and modify so that whenever it is called from XI all the existing items are cancelled and new items from the xml are added. Can anyone give
-
I'm trying to save an service with tModelInstanceInfo informations. It works fine while i not include instanceDetails informations. when i try to include instanceDetails structure, i receive an error message. The instanceDetails structure and error m
-
Hello, i have 2 tables called EMWP and DPT EMWP holds distinct data, and the other holds all those distinct values a 1 row in DPT table. I wrote a procedure to get all the data from emwp to dpt table. when i add new row here is EMWP TABLE EMWP data c