How to have a variable the function "return" have more than one value

@using the Sub function how can user_id accepts the values 0 and 6?

create or replace function xxactive_user_test)

p_schema in varchar2,

p_object in varchar2)

return varchar2

as

Start

return 'user_id = 0';

end;

/

Post edited by: 880492

The question or needs is not clear, to me at least.

> How user_id can take the values 0 and 6

How the function is used.

You mean like this:

return 'user_id IN (0,6)';

Tags: Database

Similar Questions

  • How to use photoshop with the same account on more than one laptop?

    How to use photoshop with the same account on more than one laptop?

    a single user license entitles you to two facilities simultaneous/activations.  so, what's the problem?

  • I can't have more than one value of function?

    I hope all of you can point me to some introductory articles/documents on function.

    I know the function is used to calculate a value and it always returns a single value.

    I want to know I can get more than one value of function? If so please share a few lines of code

    Hello

    Certainly, you CAN define functions with OUT parameters. It is generally not advisable to do so, however. Working with settings, for example, can be called from SQL, among other useful things.

    If you are wanting a function that returns multiple values, you would generally be

    -create a procedure that has several OUT parameters

    -create a function that returns a type of object that encapsulates the values that you want to return

    How to make FUNCTION returns several columns and several outputs line

    can functions return multiple values?

    oracle function to return more than one value

    You must give several values of function that can be found in Sql

  • How to have more than one alignment inside the div fluid grid?

    My fluid grid div tag is defined for alignment to the left, but I want to center the last sentence. How?

    Sure.  Use a CSS class.

    . Center {text-align: center}

    HTML

    class = "center"> This is a centered paragraph.

    Nancy O.

  • How do I know if I have more than one of the same song in my library, and if I do how do I remove it without deleting both copies?

    Original title: Windows 7 Media Player

    How do I know if I have more than one of the same song in my library, and if I do how do I remove it without deleting both copies?

    Hello

    Duplicates would be revealed by the observation. If found you are probably followed the same
    record twice.

    Add items to the Windows Media Player library - see the monitoring records - and delete a folder
    controlled by the player.
    http://Windows.Microsoft.com/en-us/Windows7/add-items-to-the-Windows-Media-Player-library

    Remove items from the Windows Media Player library
    http://Windows.Microsoft.com/en-us/Windows7/remove-items-from-the-Windows-Media-Player-library

    Add or edit media information in Windows Media Player
    http://Windows.Microsoft.com/en-us/Windows7/add-or-edit-media-information-in-Windows-Media-Player

    The Windows Media Player library: frequently asked questions
    http://Windows.Microsoft.com/en-us/Windows7/Windows-Media-Player-library-frequently-asked-questions

    Getting started with Windows Media Player
    http://Windows.Microsoft.com/en-us/Windows7/getting-started-with-Windows-Media-Player#section_4

    --------------------------------------------------------

    The library may be corrupted if necessary, after the media library - advanced - restore tools above...
    Reset the library will result in the loss of all of the counties of game and probably both sides.

    ================================================================

    If you think there is duplicate in separate folders files:

    Here are a few utilities to help, be sure to remove duplicates once and good
    folder. If If doubt copy the file to another folder, delete and then check WMP.

    Here are several free utilities and they have all their benefits and their methods.

    Auslogics Duplicate File Finder is the MD5 search engine that allows you to find duplicate
    files content, without worrying other matching criteria. It would be useful, for example, when two identical
    MP3 tracks or video files
    have different names
    http://www.Auslogics.com/en/software/duplicate-file-Finder

    Easy Duplicate Finder - find and delete the duplicate - free
    http://www.easyduplicatefinder.com/

    AntiTwin - Installer and Portable versions - search files in double or similar-
    same binary - free
    http://www.Joerg-Rosenthal.com/en/antitwin/

    Fast Duplicate File Finder-Free - quickly find all the files in a folder and its subfolders duplicate
    http://www.Mindgems.com/products/fast-duplicate-file-Finder/fast-duplicate-file-Finder-about.htm

    Duplicate File Finder - Smart Port Forwarding - TCP Port Scanner - TCP Tunnel Port-
    Multi-minuterie-free
    http://www.brooksyounce.com/

    Duplicate File Finder software (pictures, mp3, iTunes)
    http://www.Moleskinsoft.com/

    SearchMyFiles - free - an alternative to the "Search for files and folders" module standard
    Windows. It allows you to easily search files in your system by wildcard, by last modification/creation/last accessed: time, by file attributes, by the content of a file (text or binary search),
    and by the size of the file. SearchMyFiles allows you to make a very specific search that cannot be
    done with Windows search.
    http://www.NirSoft.NET/utils/search_my_files.html

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" experience :="" bicycle="" -="" mark="" twain="" said="" it="">

  • I have more than one firewall installed product. How I can for deleete all and keep only the MSN Firewall?

    I got like Norman antivirus programs and now I move to Msn essintials. but the computer turned out to be very slow. I scanned the computer with the MacAfee Scan more and I got a message that I have more than one firewall installed, product that could create problems on my Pc I have bleive that I only have widows Firewall now. but the analysis said the contrarey.

    (1) using a router?  They usually have a firewall.

    2) go to control panel and click on security.  Click the down arrow next to firewall and windows will tell you what is running

    (3) you could also look in Control Panel > programs and features for the firewall software like McAfee, ZoneAlarm, or any that you have previously installed.  You can uninstall then from there.  Use the Norton uninstaller to remove the software and/or the traces that were left during uninstall.

    http://us.Norton.com/support/kb/web_view.jsp?wv_type=public_web&docURL=20080710133834EN&LN=en_US

    If the computer is slow, check programs and features for applications that are installed but you never or rarely use.  Uninstalling those who help you in speed.  And if you go in program files, search for files left behind from applications already installed.  If more than six months, it is safe to remove them.  Remove temporary files, run disk cleaner, empty the trash, defrag your unit.

  • How to uninstall security programs I don't have, I have more than one and do not know which to use. they clean too many files when uninstalled!

    How to uninstall security programs I don't have, I have more than one and do not know which to use.  they clean too many files when uninstalled

    Hello jillmarsden,

    It is not recommended to have multiple Antivirus or firewall installed at the same time because they can cause conflicts as PaulAuckNZ said. However, instead of remove antivirus in programs and features, you must go to the Antivirus website and use the removal tool which is produced by the manufacturer of the antivirus program.

    Microsoft has a free Antivirus called Microsoft Security Essentials. It provides protection for your PC in real time at home that protects against software viruses, spyware and other malicious software. It is simple to install, easy to use and always up-to-date with protection.
    You can download from the link below:

    http://www.Microsoft.com/securevista

    Be very careful on the acceptance of direct assistance to another user. If this user suggests that he use Remote Assistance to help you, be aware that it will have access to your computer and that your computer could be hacked.

    Please let us know if you have any other questions.

    Sincerely,

    Marilyn

  • When the Portfolio officially be released? And when that happens, I can have more than one portfolio?

    When the Portfolio officially be released? And when that happens, I can have more than one portfolio?

    We will announce the release later today.  Each AdobeID can only be connected to a portfolio Adobe/CC membership account.  Hope that helps!

  • Is it possible to have more than one location in the Google Maps widget?

    Hey people,


    Lets say, you design a website for a client with multiple banks, you just want to tell them everything, no?

    I just want to know if it is possible to have more than one location in the Google Maps widget. I guess it shouldn't be that hard, but I can't understand it...


    any help would be much appreciated!


    Thank you

    Thom

    It seems that you can only use one address for this widget.

    To do this you will need create map in Google Maps with all your points, and then copy the Google embed .html into Muse.

    Example of a google map embed with several points imported into the Muse:

    (Object/Insert HTML)

  • can we have more than one type of topology for a rule?

    Hello

    5.6.4 can we have more than one type of topology for a rule? How insert and separate?

    Thank you.

    Try something like this, but be very careful that you understand the implications of the scope of the rule to a very large number of objects:

    $objectsbytype(/Host|) VMWVirtualMachine | VMWESXServer | VMWCluster | VMWDatastore /) If you do not need to check each type separately

    or

    the ((hôte où name like 'a%') Union (VMWVirtualMachine where name like would be %')) If you need condition the type of each object separately, and then join the results)

  • I replaced a HP with an Epson Stylus all-in-one printer and cannot get the printer to print more than one page when printing from the computer.

    Original title: new printer

    I replaced a HP with an Epson Stylus all-in-one printer and cannot get the printer to print more than one page when printing from the computer.  The printer works fine when printing from a laptop or ipad!

    Start by going here--> http://www.epson.com/cgi-bin/Store/support/supDetail.jsp?UseCookie=yes&oid=232591&prodoid=63099059&infoType=Downloads&platform=nodetect

    If the web page has not correctly detected your operating system, select it by using the drop-down list.  Rather than using the "Combo package" recommended but huge, expand the "Drivers" section and download driver printer v2.32 to a location that you will remember later.

    • Click on the ORB start and go into devices and printers.
    • Select (click) the icon of your Epson printer.
    • Once you have selected the printer, a button labeled "Print server properties" will appear in the toolbar.  Click on this button.
    • Click the "Drivers" tab on the print server properties dialog box.
    • Select the Epson printer in the list of installed printer drivers, and then click 'remove '.
    • In the context menu, select "Remove driver and driver package" and click OK
    • Click Yes, and then delete
    • Once the removal process is complete, restart the computer (probably not really necessary, but can't hurt)
    • Install the driver and the software using the file that you downloaded earlier

    At this point, your printer should work fine.  However, if you want the ability to print by emailing a file to your printer, you may need to install both 'Remote Printer Driver v1.65' in the category 'Pilot' and "v1.30 utility Configuration of printer Epson Connect" in the "Utilities" category

  • Remote Desktop RDG cannot have more than one remote gateway server.

    Original title: Remote Desktop RDG

    The app works very well except that you can not have more than one remote gateway server.  I have two different infrastructures that I connect and they have different configurations of RDG.  You cannot change the advanced options when you create a new connection.  You can't modify it until you connect once.  I can not connect because the RDG are for another server.  Check connection options during the installation of the initial connection.

    OK, never mind.  I figured this out.  When you are on the home screen see you the bar charms and select settings.  From there, you can change the default RDG server machines new use.  Exactly what I needed.  Works fine now.

  • How can I get my receipt of purchase for more than one year?

    How can I get my receipt of purchase for more than one year?

    Hi thomasfonality,

    Please see to manage your membership and your payment. Creative cloud. You will find the instructions to print your receipt in the payments section & credit card.

    Please let us know if you need additional assistance.

    Best,

    Sara

  • Possible to have more than one UI language in a deployment of Connect?

    You can have more than one language of the user interface in a Connect deployment? For example, we would like to have English to be our basic UI, but for Japanese users have Japanese be the user interface. We do not want to create a separate instance for each required language. Is it possible, or anyone found a way to do this?

    1. all supported languages are installed when you install the server.

    2. when a user selects a language, this language file is used as reference for all connect related text. However, meeting rooms and individual content items will appear in the language that they were created with.

    3. Yes, if you really want to dig for what text is displayed in each language, you can go to {install directory} \appserv\apps\lang\ and there will be an XML for each language on the server.

    4. not all supported languages come with the server.

    Screenshot of the user's specific language setting:

  • Query to retrieve records that have more than one assignment_id

    Hello

    I'm writing a query to extract all records in the table per_all_assignments_f that has more than one different assignment_id for each person_id. Here's the query I wrote, it retrieves the records, even if a person_id assignment_id duplicate, but I need records that have more than one assignement_id without duplicate for each person_id

    Select assignment_id, person_id, assignment_id
    Of per_all_assignments_f
    Having count (assignment_id) > 1
    Person_id group, assignment_id

    Thank you.
    PK

    Maybe something like that?

    select *
    From   per_all_assignments_f f1
    where  exists (select 1
                   from   per_all_assignments_f f2
                   where  f2.person_id = f1.person_id
                   and    f2.assignment_id != f1.assignment_id
                  );
    

    Published by: SomeoneElse on May 7, 2010 14:23

    (you can add a SEPARATE from the outer query if you wish)

Maybe you are looking for

  • Playlists created using iMusic on device OS not updated by IMatch in iTunes

    If I create a playlist on my ipad, is not completely sync'd by iMatch in my iTunes library. The title of the Playlist is here but the content is grey and each track shows the icloud waiting icon. No matter how long you wait and no matter how many tim

  • Air iPad server functions do not but works on the iPad 3

    I wrote a Word document and my iPad Air lost the connection.  3 iPad for my husband is still connected to the server, and has no problem.  I tried to stop the iPad, restart the router, reset the network, lease renewal, forgetting the network, disabli

  • PhotoSmart C4180: HP Solution Center

    The "HP Solutions Center" will not be open. When I double click on the desktop icon, it blinks but turns off immediately. I used it successfully on Wndows 10 since I upgraded to win 8 to 8.1, and then to 10. Should I remove all the HP printer and rei

  • The storage control blocks were destroyed

    Tonight I was check my Microsoft color management system and made a demonstration of calibration results. I run a laptop. I do this in preparation to rework some of my photographic images in preparation for printing from a site selling products onlin

  • getPreferredHeight() and getPreferredWidth()

    So, can someone please explain how these functions? Whenever I read an article or howto on custom layout managers is the only way that these features are specified "returns the height of favorite." OH! That's what the name of the function has already