Cannot use if with forall - updated
version Oracle 11 g Express Edition Release 11.2.0.2.0 - Production database
Hi gurus
I'm back certain values in the collection, and now I want to run the update based on a condition by using the collection. The collection my name is l_rtnvalues and my collectibles are group_id, sct_id., feat_pk
Now, what I want is I want to perform an update in one of the table, something like below:
ForAll idx_1 l_rtnvalues.first... l_rtnvalues. Last exception
If l_rtnvalues.sct_id is NULL then
abc update
Set feat_pk = l_rtnvalues.feat_pk
where group_id = l_rtnvalues.group_id;
ON THE OTHER
abc update
Set feat_pk = l_rtnvalues.feat_pk
where group_id = l_rtnvalues.group_id
and sct_id = l_rtnvalues.sct_id
End if;
but I get the error message, it looks like I can't use if with update. Please suggest
Your statement has an incorrect syntax.
Better to try something like this:
FORALL Idx_1 IN L_Rtnvalues.FIRST... L_Rtnvalues.last EXCEPTIONS
ABC of the UPDATE
SET Feat_Pk = L_Rtnvalues (Idx_1). Feat_Pk
WHERE GROUP_ID = L_Rtnvalues (Idx_1). GROUP_ID
AND Sct_Id = NVL (L_Rtnvalues (Idx_1). Sct_Id, Sct_Id);
Tags: Database
Similar Questions
-
Cannot use airdrop after OS update to el capitan
I've updated OS to el capitan, then I can't use airdrop to share files, and I have tried many ways to activate once again, but without success.
Please advise.
Is your Mac Pro at least a beginning model 2009 (model # A1289) with an AirPort Extreme card? You try to use AirDrop with a different Mac or an iOS (iPhone, iPad, or iPad Touch) device? If, on another Mac, which version of Mac OS X if it running?
-
Cannot use RDP with Windows server 2008
Original title: a user cannot RDP
Hello
I have a windows 2008 R2 server with 5 licenses of Terminal Server. I set it up so that users can RDP to the server using RDP and access other machines via VNC, it's not connetced to a domain or whatever it is.All users can connect using any OS - Win XP, Win 7, but a user cannot get to their place of work - I can connect from home, of Germany, etc. using the same user name and password, but they can get on the server but their access is denied.They can telnet to the IP address but can't.Hello
Thanks for posting the question in the Microsoft Community!
You have any question using RDP with Windows server 2008.
The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the Forum TechNet site:
http://social.technet.Microsoft.com/forums/en/category/w7itpro
If you need any other assistance, let us know and we would be happy to help you.
-
Hi all.
I use Forms 11 g 11.1.2.1 and updating JRE 7 45.
I have create a jar file containing gif icons files using this procedure:
(1) create the jar file:
set path = % path %; C:\Oracle\Middleware\Oracle_FRHome1\jdk\bin (my ORACLE_HOME/jdk)
jar - cvf webfigolos.jar *.gif
(2) self sign the file:
c:\Oracle\Middleware\asinst_1\bin > sign_webutil.bat c:\Oracle\Middleware\Oracle_FRHome1\forms\java\webfigoicons.jar
Jars is signed but with a warning:
Generate a signature key certificate aaosa2015 = auto...
keytool error: java.lang.Exception: key pair not generated, al alias < aaosa2015 >
loan is
.
There are errors or warnings while generating a self signed certificate. Pleas
e revisiting.
.
Backup as c: C:\Oracle\Middleware\Oracle_FRHome1\forms\java\webfigoicons.jar
\Oracle\Middleware\Oracle_FRHome1\forms\java\webfigoicons.jar.old...
1 file (s) copied.
Signature using ke c:\Oracle\Middleware\Oracle_FRHome1\forms\java\webfigoicons.jar
y = aaosa2015...
.. own made.
But I can use this file. The application crashes and get this error from the java console:
network: connection http://myluism-pc:7001/forms/lservlet; jsessionid = p98GTL5Fh6XnQcykySBhLWq2823HwHlPGZ16TYHVv93006N4mmdl!-947562687 with proxy = LIVE
network: connection http://myluism-PC:7001 / with proxy = LIVE
Exception in thread "AWT-EventQueue-3" java.lang.NoClassDefFoundError: oracle/ewt/laf/basic/SelColorChange
at oracle.ewt.laf.oracle.OracleTreeUI.createItemPainter (unknown Source)
at oracle.ewt.laf.basic.BasicTreeUI._getItemPainter (unknown Source)
at oracle.ewt.laf.basic.BasicTreeUI.getItemPainter (unknown Source)
at oracle.ewt.dTree.DTreeBaseItem.getSize (unknown Source)
at oracle.ewt.dTree.DTree.paintCanvasInterior (unknown Source)
at oracle.ewt.EwtComponent.paintInterior (unknown Source)
at oracle.ewt.lwAWT.SharedPainter._paintInterior (unknown Source)
at oracle.ewt.lwAWT.SharedPainter.paintExtents (unknown Source)
at oracle.ewt.lwAWT.LWComponent._paintComponent (unknown Source)
at oracle.ewt.lwAWT.LWComponent.paint (unknown Source)
at oracle.ewt.EwtComponent.paint (unknown Source)
at oracle.ewt.lwAWT.SharedPainter.paintExtents (unknown Source)
at oracle.ewt.lwAWT.LWComponent._paintComponent (unknown Source)
This used to be a very simple procedure, but it has stopped working...!
Don't know if the jar file is well born, or if it is corrupt.
I can't start my application.
Help, please!
Best regards, Luis.
Try again with the JRE 7 10 update, I get a problem with the update of JRE 7 45, but when I tried the update of JRE 7 10, it works fine.
For the objective test, disable the check
Java Panel-> advance-> mixed Code-> disable verification (unchecked)
-
Webcam on Satego X 200 - cannot use it with ICQ
Hello
Webcam works fine - with CAM software but not with ICQ.
When I take a glance in the Panel of configuration/Scanner/cameras it isn´t
in the list.Can someone help me please?
Please, I beg you!
Hello
One of my friends told me that he has disabled the software of the Webcam at MSCONFIG startup and after that he has no problem using cam with other applications. You can try to test it.
> Hm, most PC problems sit befor 30cm screen. :)
I agree with you! ;)
-
I tried to create a new profile, the problem remains the same.
None of the 3 accounts on this desktop computer can use Firefox. This has never been a problem. Today (14.11.11) I've updated Firefox to 8 and nothing more. Via Safari, I downloaded Firefox 7 to reinstall, same error message.
From Firefox 4, Mac must have an Intel x 86 processor (which you do not have) and OSX 10.5 or higher (version OSX 10.4).
The good news is that Firefox 3.6.24 still support OSX 10.4 and Mac with the PPC Mac architecture. The bad news is that the support for Firefox 3.6.x series is likely to end in the first quarter of 2012.
- System requirements: Firefox 3.6.x
- Download Firefox 3.6.24: https://www.mozilla.org/en-US/firefox/all-older.html
- Also see-> http://support.mozilla.com/en-US/kb/Installing+Firefox+on+Mac
If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.
-
Cannot use fuse + with Rhapsody
I bought the fuse + this winter with my Rhapsody subscription and it worked for the most part although I can't stand the touch screen. When you try to move to the left or to the right, he wants to "shimmy".
Sham-wow, martini, bikini. Now the thing has just left for the second time, in the middle of the road and track the license problem. Here is the message error after I have authorized, re-authorized and attempted to update track licenses...
Report compatibility device for Sansa Fuze +:
This PC reports that it is running "Microsoft Windows 7, 32 - bit"
This device is optimized Rhapsody (RhapPFS)
This device supports the management of digital rights Windows Media (WMDRM)
This device supports the communication protocol 'WMDM_MTP '.
MTP stands for Media Transfer Protocol.
This device should be compatible with the first Rhapsody or Rhapsody first Plus subscriptions as it is currently configured.
This device is allowed to the current user ' _.
_ has a subscription to Rhapsody first or first Rhapsody Plus.
Depending on configuration, this device should work with first Rhapsody or Rhapsody first more subscriptions.
Rhapsody subscription first Rhapsody or Rhapsody first Plus users can transfer Rhapsody secure content to their authorized devices.
You should be able to transfer securities from subscription to this device.
You should be able to transfer the securities purchased or imported for this device.
This unit must have updated track licenses.
Click on the button "update track Licenses" below.
Secure internal clock of the camera is updated.
Cannot synchronize licenses of track on the device. Error codes: 0x1, 0 x 80030002.
Cannot synchronize licenses of track on the device. Error codes: 0x1, 0 x 80030002.
Cannot synchronize licenses of track on the device. Error codes: 0x1, 0 x 80030002.
Cannot synchronize licenses of track on the device. Error codes: 0x1, 0 x 80030002.
Cannot synchronize licenses of track on the device. Error codes: 0x1, 0 x 80030002.
Cannot synchronize licenses of track on the device. Error codes: 0x1, 0 x 80030002.
Cannot synchronize licenses of track on the device. Error codes: 0x1, 0 x 80030002.
Cannot synchronize licenses of track on the device. Error codes: 0x1, 0 x 80030002.
Cannot synchronize licenses of track on the device. Error codes: 0x1, 0 x 80030002.
Cannot synchronize licenses of track on the device. Error codes: 0x1, 0 x 80030002.
Cannot synchronize licenses of track on the device. Error codes: 0x1, 0 x 80030002.
Cannot synchronize licenses of track on the device. Error codes: 0x1, 0 x 80030002.
Cannot synchronize licenses of track on the device. Error codes: 0x1, 0 x 80030002.
Cannot synchronize licenses of track on the device. Error codes: 0x1, 0 x 80030002.
Cannot synchronize licenses of track on the device. Error codes: 0x1, 0 x 80030002.
Cannot synchronize licenses of track on the device. Error codes: 0x1, 0 x 80030002.
Cannot synchronize licenses of track on the device. Error codes: 0x1, 0 x 80030002.
Cannot synchronize licenses of track on the device. Error codes: 0x1, 0 x 80030002.
Cannot synchronize licenses of track on the device. Error codes: 0x1, 0 x 80030002.There was a bug fixed with rhapsody in the latest firmware. format the device by using the settings menu, upgrade to the latest firmware using the post at the top of this map and reload your content.
-
Hello
I have a mac mini end of 2012, air2 Ipad, mini iPad and iPhone 5. I have a problem: while I can use airdrop between iPad and iPhone, I can't use airdrop
between mini mac and other devices that I own and vice versa. Can someone help me?
Thanks Vincenzo
Mini PS mac is updated with OSX El Capitan
The Mac sees the iOS devices in AirDrop?
IOS devices see the mac in AirDrop?
It worked before?
Have you put off, then back on your router?
-
Satellite Pro 4320: cannot use PCMCIA card after update BIOS 2.70
Hello!
I'm using the Toshiba Satellite Pro 4320 (SP 4320). With the very old BIOS (first) version 1.0, the system has worked well on LINUX (Ubuntu) and Windows XP. So I found the update of the BIOS (latest version on the toshiba Web site). I did update the BIOS version 1.0 BIOS version 2.7.
Now, I can't use any PCMCIA card.
Everything works fine, but I can't use two PCMCIA slots.
The cards will be recognized, but the system says that there is a resource conflict.
(WLAN/WiFi adapter) PCMCIA cards worked very well with the old BIOS version 1.0, but now it does not work.Windows XP says: 'conflict resource' and Ubuntu/Linux said after typing dmesg: "pccard gives wrong answer, for example."
Please, help me!
Someone got an older version of BIOS?
My idea is to 'downgrade' the BIOS BIOS version 1.0 or version 1.x.I have to downgrade the BIOS to at least 2. 6.
Bye,.
MartinHave you tried installing WXP again using Toshiba Recovery CD?
I mean it's so old model of laptop and I can't imagine that Toshiba will offer this update of the BIOS so long if there is a serious problem with it. -
question using box with the update statement
Hi all
I have a region that uses a collection as its source and it has a check box. The intention is to check some lines and then use a PL/SQL block to update a table based on the audited lines. My problem is the table, I'm trying to update includes two primary keys.
I need to find a way to get both keys on the checked lines. How can I do this? I can get the first of the box, but when I try to refer to something like apex_application.g_f08 I get only the value in the first line and NOT the lines checked.
Here is my collection C007 represents ONE of the primary keys (header_id)
SELECT APEX_ITEM. CHECKBOX(7,C007,'UNCHECKED') ""
C001
C002
C003
C004
C005
C006
c007
c008
Of apex_collections
WHERE collection_name = "UNGROUPED_SETS."
order by C001, C002
Here are the PL/SQL that performs the update...
DECLARE
vRowNumber PLS_INTEGER;
l_rows_updated PLS_INTEGER: = 0;
BEGIN
-loop for checkboxs checkees
If NVL (apex_application.g_f07. COUNTY, 0) > 0 THEN
Start
because me in 1... apex_application.g_f07. COUNTING loop
-Updated forx_oe_line_partials with the data entered by the user in the region
Update forx_oe_line_partials_mlob
Set last_update_date = sysdate
, last_updated_by =: P6_CREATED_BY
, last_update_login =: P6_LAST_UPDATE_LOGIN
, comment_for_invoice =: P6_INVOICE_COMMENTS
where header_id = apex_application.g_f07 (i); -It works very well, but...
- AND set_id =? -put the second primary key here!
l_rows_updated: = l_rows_updated + sql rowcount %;
end loop; -Box loop
: P6_UPDATE_COUNT: = l_rows_updated;
end;
on the other
raise_application_error (-20001, 'Check box unchecked.');
end if;
END; -End main;Check {message identifier: = 9430142}
-
Satellite M30: Cannot use COM with the Modem port
Hello
I have a satellite m30. I have problems with the com port to use with the modem. I get an error code saying 12 resources etc. There is no i/o or IRQ conflict IRQ 04 and e/s beach is 03F8 - 03FF. I tried to uninstall various things to free resources, but still the same error.
Any help would be greatly appreciated.
This problem when you use the Toshiba Recovery CD?
Try to disconnect all the external devices and install Windows from the Toshiba restore CD.Additional please check several comments here in the forum area Modem. I found several threads with similar issues
-
Cannot use scanner with WLan with printer ADVENT AW10
I have a Satellite L500D-11R using Windows Vista.
I bought an ADVENT AW10 printer with wi - fi functionality.I am able to print documents and photos without problem, but I can't use the scanner with a wi - fi connection.
After that several long interviews with the advent of support, not very helpful, asked me if I had Twain_32 on my laptop.I searched on my machine, and there is no trace of Twain.
I need to download the current version of Twain_32 and were advised to obtain from the supplier of my laptop.The web, I learned, is not the safest way to download Twain_32 because of security concerns.
I looked for a Toshiba and Microsoft Download with no luck.Can anyone help?
Hi mate
I think that it is not a question of Toshiba, but this question should be directed to the support of the manufacturer of the printer.
However, our community is trying to help everybody as much as possible
I searched a bit and found this video youtube how to fix error TWAIN_32.DLLhttp://www.YouTube.com/watch?v=H6nLWR9TLgY
Otherwise you will need assistance from the manufacturer of the printer
-
Satellite C660-13R - cannot use microphone with Skype
Try to use Skype. Webcam fine but no microphone. No sign of one anywhere in the Control Panel etc. I tried to install driver from the Toshiba site. Still no sign of an available microphone. I used to work in PC support, so I should be able to resolve this but really stumped!
I want to Skype with my grandson. My husband is sick and I am getting really fed up!
Any help really appreciated.
If please click with the right button of the mouse on the speaker symbol in the taskbar and choose the devices to record option.
Microphone is listed here? -
Cannot use game with vista which uses xp or 98
I have vista and am trying to use a game that uses xp or 98.
Try right click on the program you are trying to run, and choose Properties from the menu. Then, go to the Compatibility tab and check run this program in compatibility mode. Then choose the desired mode that it runs. It's kind of hit and Miss... works with some games but not all.
-
Developer SQL 4.0 ai2 - cannot use OpenLDAP with LDAP connect option
Hello
I have OpenLDAP installation to work with my Oracle customers to use the TNS connection, instead of having scattered files tnsnames.ora strings about hundreds of servers.
It works very well with 10g / 11g, customers complete and instantaneous, no problem.
Now, I am trying configure SQL Developer 4.0 ai2 working with her, as well.
When I try to do, I am able to select the 'LDAP' option in 'Connection Type', and the drop-down list "LDAP server" is correctly filled with my LDAP server of ldap.ora.
However, when I select it, I get the following error:
Status: Failed-[LDAP: error 32 - No Such Object code]
Now, I did some research and I followed the slapd.log file, which shows me the following:
Sep 18 02:43:35 slapd einstein [2779]: conn = ACCEPT 1034 fd = 16 = 192.168.125.1:63781 (IP = 0.0.0.0:389) IP address
Sep 18 02:43:35 slapd einstein [2779]: conn = 1034 op = 0 BIND dn = "" method = 128 "
Sep 18 02:43:35 slapd einstein [2779]: conn = 1034 op = 0 RESULT tag = 97 err = 0 text =
"Sep 18 02:43:35 slapd einstein [2779]: conn = 1034 op = base SRCH = 1" "scope = 2 deref = 0"(objectClass=orclContext) = filter. "
Sep 18 02:43:35 slapd einstein [2779]: conn = 1034 op = 1 tag = 101 err = 32 nentries SEARCH RESULTS = 0 text =
Sep 18 02:43:35 slapd einstein [2779]: conn = 1034 op = 2 UNBIND
Sep 18 02:43:35 slapd einstein [2779]: conn = 1034 fd = 16 closed
That is a lot more detail, but reflects the corresponding error code (32 - No Such Object).
After doing some tests with ldapsearch, I was able to reproduce this only developer SQL is done and get the same exact error.
The ldapsearch command is:
ldapsearch einstein Pei 389 - c - x d h "" b "" "(objectClass=orclContext)" "
Research in the slapd.log file, I find a mistake similar to what is produced from SQL Developer.
In addition, the query SQL Developer wants can be done successfully with the following ldapsearch:
ldapsearch h einstein Pei 389 - c - x d ' "b"dc = proquest, dc = com""(objectClass=orclContext) ""
Thus, it seems that the problem is the fact that the SQL Developer does not provide a research base.
I'm not expert LDAP, and I really don't know where to turn next.
Is there a SQL Developer option that allows me to put this basic research? Is there a setting I'm missing on the LDAP server configuration?
Thank you
-Mark
Well, that didn't take long. I managed to find a solution to the problem.
It boils down to the fact that the SQL Developer does not provide a research base, and my LDAP server had a defined default search base.
When I edited slapd.conf (OpenLDAP configuration file) and add a parameter "defaultsearchbase" and bounced the LDAP, everything started working.
I now have a working with OpenLDAP and Developer SQL configuration.
I'll mark this discussion as closed.
-Mark
Maybe you are looking for
-
Which one should I use? I have both on my computer. I use OS X El Capitan 10.11.3 Some of my photos (in each program) I can't edit. I click on edit and all the editing options are grayed out. I have also a large NUMBER of photos that are not displaye
-
Satellite L670-1KZ - 3 TB external hard drive use - transfer rate.
Hello world This thread is a complement of my previous thread on 'Partition for 3 TB HD'.http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=67275 As I said previously, I managed to merge the partition into one and I started the ba
-
A few weeks ago, I got the BSOD and could only reformat without saving. After a data recovery service ravaged my hard drive, I bought a new drive. My recovery disk is not found (my guess is the woman she pitched in one of his fits of cleaning). Of co
-
I have a popup that says windows must reactive br because my hardware has changed. What I have to do this, or it's just a scam?
-
What kind of virus won't prevent you to connect to the internet and how do I get rid of him?
Having been on my computer for hours very well, I left to pick up my girls from school, and my window was open to yahoo. When I came back, the computer was off. I tried to turn it back on and it wouldn't do anything. the fire came, but it never ca