Searching for documents following the creation of a Lookup Table

Hello

Please excuse my ignorance, but I just created a table of choice by using the wizard in SQL Studio. Fine text has been replaced by numbers. My problem is that when I do a search now using a drop-down list based on a query that that returns records based on other numbers as well. It's so "2" refers to an element research takes something that contains a 2: 2,21,22, etc. How can I get the query to return a value for the selected number and not anything that contains this number?

and)
InStr (upper ("MODEL_ID"), upper (nvl (: P40_REPORT_SEARCH, "MODEL_ID"))) > 0
)

Kind regards

Swelch

Published by: Steve Welch on March 9, 2012 12:03

Here are two possible solutions

and (instr(upper('~'||"MODEL_ID"||'~'),upper(nvl('~'||:P40_REPORT_SEARCH||'~',"MODEL_ID"))) > 0)

or

AND model_id = NVL(:P40_REPORT_SEARCH, model_id)

The first is often used for components such as shuttles. I think I added the special characters in the right place - not tested/verified against my previous example
The second is perhaps more appropriate for your scenario, based on your data.

Scott

Tags: Database

Similar Questions

  • Performance Comparison of search for documents on the Complutense University of MADRID

    Hi team,

    Please let us know what is the difference between documents stored on contribution records and not placed inside the contribution files?

    Are there considerations of performance for documents placed in folders of contribution?

    Concept of contribution files were introduced and why it's the only part that is visible all create a connection with the developer content on J server?

    In seeking a document with its metadata on a repository that contains millions of records, what is the best practice, it is to store files of contribution or contribution files?

    If it's on Contribution records, will be nesting records cause performance degradation and how we can overcome the disadvantage of having only 1000 folders inside the contribution files?

    Kindly help us on this

    Thank you

    S. Andy

    RIDC can be used with folders_g records and the frame (FF). Note that the current service manual lists only services of FF - Records Services - 11 g Release 1 (11.1.1)

    I don't think that FF has no limitation on the number of subfolders (I've heard many times that this has been resolved, do not know if this is documented somewhere). Whatever it is, as the main goal is the Organization of the content subfolders should follow the logical organization of content that users are accustomed. In this perspective, such a large number of records is rarely necessary - a use case could be personal folders of the users, and even this can be solved by other means.

    Indexes for searches are created mainly in Configuration Manager. Only a few very large systems may require optimization of performance by a DBA directly in the database.

  • Search for documents of the University Complutense of MADRID of sites webcenter

    Hi all

    We explore the options of integration of wc with UCM sites only.

    Assets will be created something like article white paper contributor interface and documents will be extracted from the existing UCM server.

    are there options available?

    Help appreciated.

    Kind regards

    GP

    Implementation the same using the RIDC API...

  • How to activate the search function.  I get no match found when I search for words on the scanned PDF document

    How to activate the search function.  I get no match found when I search for words on the scanned PDF document

    A scanned document is just an image; even if it contains text, it is not searchable.

    Put text in a scanned image available, you will need to perform the recognition of text (OCR), which can be made with Acrobat, but not the free player.

  • Search for text in the option in Windows Search 4.0 Preview pane doesn't work do not

    I use XP SP3.  I recently downloaded Windows Search 4.0.

    When the Windows search results window opens, I noticed that it is possible to search for text in the preview pane.  I click on a file and go to OPTIONS > COMPONENT of VISUALIZATION, but see that FIND is grayed out and unavailable.

    This function worked before, when I loaded Windows Search first; now, it no longer works.  My files have been fully indexed; and I made no changes to the computer since then.  I tried to restart the computer, but there was no change.

    Any ideas? Matthew W. I. Dunn

    Hello Matthew w. I. Dunn, welcome.

    I recommend trying a system restore to see if that solves the problem. Try this:
    1. click on START
    2. click on "all programs".
    3. click on "Accessories".
    4. click on "system tools."
    5. click on "system restore."
    6 follow the prompts shown to restore your system to a date before the problem started. Although the system restore does not target the personal data, it is recommended that you back up all data such as music, photos and documents in case something is not bad.
    Let us know what happens
    Thank you!

    Ryan Thieman
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • If Google is my default search, can I go and change it if I want to do a search for GMaps; only the default is in the search drop-down list.

    If Google is my default search, can I go and change it if I want to do a search for GMaps; only the default is in the search drop-down list.
    So I have to change the default to Google Maps then back to Google to search for one.

    I have it! It's the topic: config "hiddenoneoffs" where the 3 elements of google, maps and mcafee have been included. There was no space between Google and maps. I put one in from Google Maps. She appeared in the first box-ff, but not sure about the search in the second time zone. I went back to the subject: one-offs. Safe search was shown with a space after Secure. I took out the space. Safe search arose in the 2nd single search box!
    Weird! This is contrary to how they show in the search parameters.
    Can I have messed that when Firefox has been reset all the search engines on an update, but I do not.
    Either incidentally, I tried to re-installation characteristic but the file comes down as a .dmg that I'm not familiar with and don't apparently is 8.0 to win because he couldn't open it. Thank you once again.

  • in previous versions of firefox (I'm currently on beta 6.0), you can search for updates of the add-on... This seems to be is no longer possible. Where can I get the latest updates for my Add-ons?

    I saw that you can right click on each module in the Add-ons Manager to search for an update on this specific point, but does not search the updates on the whole as before 4? (at least I remember in 3.x I could search for updates on the whole...)

    In the view of the modules, click on the symbol "gear" to the left of the search box.

  • How can I search for files on the Web in CC?

    How can I search for files on the Web in CC? I can't find a field or research action.

    Thank you

    Search the site of property to https://assets.adobe.com is coming.

    For now if you have a "ton of files" you are probably also using the synchronization file that comes with the creative Cloud desktop application. You can search the creative Cloud Files folder on your local computer using the Mac OS X Finder or Windows Explorer.

  • How we can search for files in the Webcenter 11.1.1.6 content?

    Hello

    I have a requirement for a client where they want to use the advanced search of the AAU to search for files (not articles).

    Version: Webcenter content 11.1.1.6

    Contribution using folder_g files

    I founded a model pre-built for searching for files. The name is COLLECTION_GET_SEARCH_FORM


    Here is an example of this model and it works

    http://euedocs.emersonprocess.co.UK/idcplg?IdcService=COLLECTION_GET_SEARCH_FORM

    When I try this service on my own content instance Webcenter, the model is loaded. But when I click on search, nothing happens.

    The drop-down lists containing ' Contains/pairing /...» "they are also not responsible.

    I did some research on the Support of Oracle and I created this article:

    Limits for fast searching of the Collaboration of records(1071778.1)

    https://support.Oracle.com/epmos/faces/UI/km/SearchDocDisplay.JSPX?returnToSrId= & srnum = & _afrLoop = 418199051953706 & type = c...

    I'm still stuck on this issue. What configurations are absent?

    Is someone can help me?

    Thank you very much.

    I contacted support. Here's the answer:

    Hello

    The feature you're looking for is something that is not currently present out-of-box.

    He used to work in the classic configuration only, the way back.

    And 11 g, classic layout no longer exists.

    This is a request for development with our development team.

    Bug 6488476 - INCLUDE "SEARCH FOLDER of HIERARCHY" AS SEARCH OPTION

    Thank you

    Fatima zahra

    Thank you SrinathMenon for your reply also.

  • IHAVE a header in a document in the header, I made a table to insert relevant information, that information is an image, but the table will not accept word 2007

    I have a header in a document in the header, I made a table to insert relevant information includes a picture, but the picture it does not accept word 2007

    Edit your message and change the WORD forum forum - you have posted in forum for Windows Desktop 7 and customization - nothing to do with WORD...

  • Ask about the creation and filling I$ table on different condition

    Hello
    I have a question about the creation and filling I$ table on a different condition. In which condition the I$ table creation? And these conditions are given below:

    (1) * source and transit area * are on the same server (that is to say target is located on another server)
    (2) * gathering and target area * are on the same server (IE source is on another server)
    (3) * source, transit area and target * are * different 3 * Server
    Source 4), area transit and target are on the same server
    Thank you

    I'm not quite clear to your question. Always try my best to erase it.

    In your all over requirement I$ table will be created.
    If the same staging as target (a database, a user) then all temporary tables are created in this user
    If the scaffolding is different from the target (a database, two users (A, B)), then all temporary tables will be created under that user A (lets consider) and the data will be inserted into the target table that is present to user B

    Staging is different from the target (two database, two users (A1, A2), architecture not recommended) if all temporary tables will be created under that user A1 (A1 of the databases) and the data will be inserted into the target table which is present in user A2 (A2 data base)

    If the source, staging, the target will be under a database then no. LKM is required, IKM is sufficient to load the data into the target. Especially for this, you can see an example given by Craig.
    http://S3.amazonaws.com/ora/ODI-Simple_SELECT_and_INSERT-interface.swf

    Thank you.

  • My attempts to search for files and folders in My Documents, following the instructions on the Microsoft Web site, do not have (no 'result' list appears). Can anyone help?

    The site says to type the name of a file or folder in the box search to start or the libraries search box.  Produces no result.  Is there something I can do?

    Hello

    See if the solutions posted in this thread will help.
    Windows 7 in the Explorer search function does not work - Microsoft Community
    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-files/Windows-7-search-function-in-Explorer-does-not/515c9769-6aa8-4F33-8d05-6286d6770b1d
    "Windows 7 search will always return no results"
    http://social.technet.Microsoft.com/forums/en-us/w7itprogeneral/thread/a7e6c315-bfa6-4e7d-888d-a2c7d8de560c/
  • Search for content when the State is not released

    I would like to know how to search for content items that do not have a value of dStatus of appeared.

    Our use case, is that we have a few users who generate most of our content. At the present time they put the release Date to a value in the distant future, if the documents are not being released. However, when they want to edit or review the documents, they must go to work in progress screen that exposes none of the search functionalities of the AAU. We are looking at workflow, but that does not necessarily easier to find the documents they need, because so many documents will be in the workflow at any given time. Any ideas on how I can help my user documents that have not been released? Thank you.

    I had a similar request. The solution is the following:

    Use the GET_DATARESULTSET Service that executes a query that retrieves data revisions, Documents, and the DocMeta table.
    Build a custom service similar to GET_DATARESULTSET, which can be run by any user (currently this service has access admin only)
    Build a page similar to serach screen, in which the user selects the search criteria.
    Note that the parameter to this service is a database where clause (dDocType = 'XXX') against a content server search query (dDocType "XXX").
    The content button Search/retireve should run the service to return a result set.
    Build a similar model or use the form of search results to display the results.

    I used the service to retrieve results (released and unreleased) but executed with api cis. Therefore, I did not the serach, component of a page of search results page.

    Good luck with your stuff.

    Thank you
    Aparna

  • Months of searching for numbers on the sheet

    Hello all and thanks in advance.

    I have tabs at the top. DATA (sheet 1), JAN (sheet 2), FEB (record 3), etc. until the end of the year.

    Data sheet will be the months on the left now I want care to go to the form to correct month and takes the total of the column relative to the other leaves and place in the correct cell line. (I've been copy paste, but I know there is an easier way to do this, so I turn to the people who know the numbers unlike my lack of knowledge.)

    On the leaves of the month, I would also like to highlight the line that are sat and Sun.

    Thanks again everyone for their help.

    Rich

    In the material master

    Hi, NN,.

    You will have a Table for each month. Each Table must have a different name. Your summary table lists more than 12 months, then I would say the table name from each month is named with the name of the month AND the year.

    The monthly tables may appear on separate sheets, or the same sheet. The key, as far as the formulae are concerned, is that each Table can be identified by its name.

    The following example includes only the table for April 2016, named "APR 2016", I assumed that the total line will be row 33 on each table of data collection, but wrote the formula to allow the placement of the line totals in other places. The lines for most of the actual days have been hidden and has not been designated, as these labels have no role in the operation of the formula.

    The TOTALS is defined as a footer line. The formula, in the columns showing a value is SUM (a) where 'a' is the letter of the column to be added. (The two values of zero have been entered manually for example).

    The table has a unique formula, entered in cell B3 and filled with right and until the last line for which there is a Table whose name corresponds to the label in column A. For example, the formula has been met only 3 online.

    B3: = INDEX (APRIL 2016: $A$ 1: $ 33, MATCH $N ("TOTALS", APRIL 2016: $A, 0), GAME ($ 1 B, APRIL 2016: $1: $1.0),)

    Syntax:

    INSTRUCTION (range,-l'index of the line, column-index, index of the surface)

    range: all of the cells in the source table

    the index of the line: the number of the start line to get the value. This is provided by the first statement of the GAME.

    the index of the column: the number of the column from which to get the value. This is provided by the second statement to MATCH.

    the index of the surface: omis. By default, 1. There is only 1 area of application of this INDEX, all of the source table.

    MATCH (image search-search for, - where - method)

    EQUIV function returns the position in the list of the search for value.

    First case:

    search for: TOTALS text

    search - where: column A of table source

    method): 0 means finding the exact value.

    Second case:

    search for: the text contained in the cell of line 1 of the specified column. That form is completed on the right, the increments of the column by one for each stage.

    search - where: line 1 of table source

    method): 0 means finding the exact value.

    The formula should be changed for each new line. Three references to "APR 2016" should be changed to match the name of the table to collect this row grand totals. Once edited in column A, the formula can be filled right and automatically adapts to his new position.

    Note: The duration value in column F of the table of the month wouldn't transfer and keep the same formula in column C of the summary table. Any attempt to restore the format to match your example resulted in a triangle of error.

    Kind regards

    Barry

  • Search for text in the file Excel, Explorer, does not.

    Have a workbook (.xlsm).  In a cell, there is a simple text value (not the result of a formula).  The value is "Homestreet. I type Homestreet in the search box on Windows Explorer.  By the Explorer, the file is not found.  Many users report similar complaints, and so I found several suggested solutions that sounded quite peremptorily declared. So, I have and have done or checked all of the following items, but still the file is not found when I search for it using Windows Explorer.

    o that I have rebuilt the index (which was like 24 hours or more).
    o in the Explorer. Search folder options, I chose "always search file names and contents", "include subfolders" and "find partial matches."
    o in the Panel. Indexing Options. Advanced | Types of files, the file of type "xlsm", it is checked and the option for "Properties Index and contents of the file" button is selected for that file type.
    o checking attributes advanced in each folder to the folder containing the file, 'allow files in this folder to have content indexed in addition to the properties' is checked.
    I have no idea why should have to do all these things simply to find text in an excel file, but I have them all.  Seems to be a very poor design something that should just be simple. Seems more reliable to find something on the internet, with a simple and direct search by typing text into a search box, to find something on my local C drive! But, beyond this comment... the result of all the above is effort... still, the search does not find the file!
    So is there any other suggestions to get the Search Explorer to work? (Or, if you have any suggestions for a good a third-party tool efficiently search my local disc C, which can actually search the contents of Excel files, this suggestion would be appreciated, too).
    Thank you!
    Tom

    Hi Tom,

    Thanks for choosing Microsoft Community Forums.

    According to the description, it seems that you are having problems to find a file using search in Windows Explorer and in the Excel file. I'll be happy to help you with this problem.

    (1) is confined to a specific file?

    (2) you receive an error message?

    (3) have you made changes on the computer before this problem?

    Method 1: I suggest you follow the steps to run the troubleshooter from the link and if it helps.

    Open the troubleshooter for search and indexing

    http://Windows.Microsoft.com/en-us/Windows7/open-the-search-and-indexing-Troubleshooter

    Method 2: I have run the Microsoft FIXIT for the link, and also suggests.

    Difficulty of Windows Desktop Search when it hangs or no display of results

    http://support.Microsoft.com/mats/windows_search/en-us

    See also:

    http://Windows.Microsoft.com/en-us/Windows7/improve-Windows-searches-using-the-index-frequently-asked-questions

    http://Windows.Microsoft.com/en-us/Windows7/change-advanced-indexing-options

    I hope it helps. If you have any questions about Windows in the future, please let us know. We will be happy to help you.

Maybe you are looking for

  • I don't want to continue the abs app

    I don't want to continue the CBS app

  • Weird space on the URL bar

    Their is a strange space on the URL bar between the URL itself and the back button Here is a screenshot: http://prntscr.com/1x5zuz Its really annoying... Help, please

  • update to itunes 12.3.3 fails

    My system is Windows 7 Professional 64-bit with all latest updates. Also have another computer with Windows professional 10 64-bit with the same problem. On both computers, the error message reads: "The feature you are trying to use is on a network r

  • Skype number applied discount for the next cycle billing (after Skype subscription)?

    I realize that you must purchase a subscription before you buy a Skype number so that the discount applied, but I did not. My question is, the discount will come into force at the next renewal of the "Skype number" function, now that I have the Skype

  • MacBook Pro 13 inch: Mac Pro does not connect to 5510 e printer

    I have problems connecting with one of my printers. My iMac will connect with my printer (an HP Photosmart 5510e and Photosmart 7280) wireless without any problem.  My 13 inch (2009) MacBook Pro connects to the 7280 wireless but does not connect to t