How to make simple "search" on the object Table or VARRAY?
I do a simple bulk collect into a local table type and need a way to determine whether an item exists in this type of local table inside an if condition. I can't understand the syntax. Here is the code:DECLARE
type emp_roles is table of the varchar2 (10);
v_emp_roles emp_roles;
BEGIN
-Determine the role of the current employee
Select ef.emp_function_code bulk collect
in v_emp_roles
of emplyee_function ef
where ef.emp_no = 1234;
If 'HOMEMRKT' in (v_emp_roles) then
null;
elsif "IMMIGRAT" then in (v_emp_roles)
null;
"INVENTOR" elsif then in (v_emp_roles)
null;
elsif 'TEMPHOUS' in (v_emp_roles) then
null;
end if;
Any ideas how to proceed?
Thank you
'Member ':
DECLARE
type emp_roles is table of varchar2(10);
v_emp_roles emp_roles;
BEGIN
select * bulk collect
into v_emp_roles
from table(sys.ku$_vcnt('IMMIGRAT','TEMPHOUS'));
if 'HOMEMRKT' member of (v_emp_roles) then
dbms_output.put_line('HOMEMRKT');
end if;
if 'IMMIGRAT' member of (v_emp_roles) then
dbms_output.put_line('IMMIGRAT');
end if;
if 'INVENTOR' member of (v_emp_roles) then
dbms_output.put_line('INVENTOR');
end if;
if 'TEMPHOUS' member of (v_emp_roles) then
dbms_output.put_line('TEMPHOUS');
end if;
end;
Best regards
Sayan Malakshinov
Tags: Database
Similar Questions
-
the friends hyii UA HUD need help how to make a backup of the files from his deleted with (shift + delete) memory card
Hello
It seems that you want to restore the files removed from the memory card.
I will definitely help you with this.
I would say you can search the Internet for data recovery software by using your favorite search engine.
Warning: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.
It will be useful. If you have any other questions, feel free to let us know. We will be happy to help you.
Thank you.
-
How to make a folder shows the number of files in there?
How to make a folder shows the number of files in there?
You have not indicated what OS you are using.
Yosemite
Action > View Options: Select to display the item of information
-
I'm trying to connect on Apple TV. It keeps generating a 6-digit verification code, sent to another device. I need a 4 digit or need to know how to make a space on the verification code entry screen
Read this noting the last two paragraphs:
For Apple ID - Apple Support two-factor authentication
You can try to add on your suggested such password or disable the service and then connect.
-
How to make an arch on the topic title?
How to make an arch on the topic title?
You can do the following entirely in any version of Pages because the text on a path is not supported. The News Gothic 'gate' in one area of text Pages. The arc of text was done in HTML5 Canvas with Javascript, then saved as a .png image, which was dragged/dropped into Pages v5.6.1. Normal means to create text curvilinear (CRA) is done by an application chart non-Apple.
-
How to make a lock off the internet so I can have another WiFi computer using the internet
How to make a lock off the internet so I can have another WiFi computer using the internet
you do not take the lock itself.
Instead, you configure another computer with security information to access the connection Wireless secure.
Unfortunately, we cannot help you with this, because we cannot tell if you are the owner of the wireless connection or someone trying to hack it via another computer.
However, what you can try is to contact technical support that provides your internet service. they will be well to validate your identity and then provide help or more detailed instructions.
-
How to make a backup of the system files?
I want to just back up the filesystem in the case where.
Hello
You can save your own personal files (documents, photos, etc.) or do a complete PC backup that contains the system files.
If you want to make a complete PC Backup or a backup file only, buy an external hard drive.
Only Vista professional, comprehensive and company have the opportunity to make complete backups of PC.
All editions of Vista can do backups of files.
Here's how to back up and restore your files:
"How to back up your data.
http://www.wintuts.com/how-to-backup-your-data
http://www.home-PC-help.com/windowsvistabackup.html
"How to restore your files.
http://www.wintuts.com/how-to-restore-files
This is how to do a full backup of the computer and how to restore it (for Vista Business, Ultimate and Enterprise only):
«How to make a backup of the computer in Vista»
http://www.bleepingcomputer.com/tutorials/how-to-use-Vista-complete-PC-Backup/
"How to restore a full backup of the computer.
http://www.bleepingcomputer.com/tutorials/Windows-Vista-complete-PC-Restore/
FAQ from Microsoft about backup and restore:
"Back up and restore: frequently asked questions.
http://Windows.Microsoft.com/en-us/Windows-Vista/back-up-and-restore-frequently-asked-questions
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
There are a number of 3rd party programs available for a full backup of the computer; others, you must pay for, some are free.
This program must be purchased:
"Acronis True Image".
http://www.Acronis.com/homecomputing/products/TrueImage/index_gwo.html?utm_expid=4274314-6
These are free programs for the protection of the computer:
"EaseUS Todo Backup free"
http://www.TODO-backup.com/products/home/free-backup-software.htm
"Download Backup & Recovery 2012 free FREE!
http://www.Paragon-Software.com/home/BR-free/download.html
«Macrium Reflect FREE Edition»
http://www.Macrium.com/reflectfree.aspx
___________________________________________________
And if you do not score a manufacturer of recovery on your hard drive, you should be able to make your own recovery discs that are system files in order to reinstall the operating system.
Go to programs > name of the manufacturer of your computer > then their system or recovery tools software topics for them, depending on how it is formulated.
If you can't find any reference to it, contact the manufacturer for advice on how to make these recovery disks.
See you soon.
-
How to make a backup of the Windows BACKUP DELL?
I have a Dell 0ptiplex 3010 with windows 7 pro 32 bit 10 units.
How to make a backup of the Windows BACKUP DELL?
Please help, I'm still confused with BACKUP DELL.Hi rahar_satriyo,
Only the version complete Dell backup and restore will give you an option to backup computer image which is a paid version. The default Basic that comes with the system version will have only the restore factory in image.
-
How to make a CC off the power of a laptop so I can put it on a second desktop computer
How to make a CC off the power of a laptop so I can put it on a second desktop computer
You can simply disconnect from the Adobe Creative cloud to disable subscription:
https://helpx.Adobe.com/creative-cloud/help/sign-in-out-activate-apps.html
No need to uninstall to disable CC apps on a particular computer, but if you want you can uninstall it.
-
How to make navigation that pushes the page to the side while revealing the links?
How to make navigation that pushes the page to the side while revealing the links?
There is currently no way to call JS in reflow, or add some CSS Transitions. You can export the code
and then open it in a code editor of your choice and add the script necessary to do this. An example is available here: wide canvas Show Menu for Bootstrap model
-
How to make someone to sign the document within my documents in the tasks that I specify?
How to make someone to sign the document within my documents in the tasks that I specify?
Hello form signature,.
Yes, you can place the signature to a particular position field in the document as follows:
1. connect to EchoSign account.
2. Enter the e-mail address of the recipient.
3. download the document.
4. check "Preview, the Signatures of Position or add form fields" and click Next.
5. in the preview page, drag and drop the signature and other fields of the form if necessary in the document.
6. once the fields are placed, press Send.
Here is the link:
Let me know if you need more information.
Kind regards
-Usman
-
How to make a link in the scene as an anchor?
How to make a link in the scene as an anchor?
I mean, for example, create a button with a link to go to the top or the bottom or other parts of the page. Thank you
In the same example I have on this page illustrates this functionaility
http://forums.Adobe.com/thread/1084037
Darrell
-
How to make subtitles appear in the organizer of 11 items?
I just converted 10 elements to 11. My legends always presented to 10 items. How to make this happen in the 11 items. Thanks for help.
Title of the message was edited by: Brett N
Default details are off in PSE11, with the intention of keeping the cleaner user interface. You can activate them in view > Details.
Your preference is sticky, so be remembered through launches
I hope this helps.
Thank you
Catherine
-
How to make an impression at the option of the PDF from the word and PP?
I have windows vista. How to make an impression at the option of the PDF from the word and PP?
You have Acrobat? If so what version? If not what version of Word and PP have you? The most recent versions contain no Adobe software to create PDF files. If you do not have Acrobat, it would be best to check in a Microsoft forum on how to use Word to create PDF files.
-
How to make a GRANT previliage on a table in a different database?
How to make a GRANT previliage on a table that is in a different database (different host)?
Published by: user10980630 on April 6, 2009 05:18Create the link of database between databases and give GRANT to any table on the database
- - - - - - - - - - - - - - - - - - - - -
Kamran Agayev a. (10g OCP)
http://kamranagayev.WordPress.com
Maybe you are looking for
-
express error airport; No DNS server address
OSX El Capitan 10.11.6 MacBook Pro mid-2009 Coupled with Airport Express Airport Extreme. Time Warner Cable improved the internet in our area and it took a new modem. At the new modem and Airport Extreme works with it, having to put the modem in Brid
-
Portege Z30-A-1E1 - blue screen and reboot
Hello I have a model A-Z30-1E1 with 8.1 for Windows Pro 64-bit. I have the problem of ad, randomly, I got a blue screen and restarting the laptop, without giving error messages.In the event log windows that I can't find anything that clearly led to a
-
Satellite Pro A60 (PSA65E) - compatible with SP2?
Documentation, I don't think it's - Satellite A60 is but isn't a Pro A60 - can someone confirm for me be it? Thank you!
-
Tecra M7: Various errors after upgrading the BIOS version 3.30
After that I updated my bios to 3.30 I have the following problem: -A edge wireless turns off after a while and can not be activated until I restart.-Battery information is wrong. I tested the system, I can use 1 hour after he said that my battery is
-
How to make a vertical scrolling graphic?
I need to create a chart that contains data flowing vertically from top to bottom. I know I can do a work-around by creating a chart with a buffer that behaves like a chart, but I wonder if there isn't an easier way. The only modes graphic I see ar