How to use like in a prior request

Hello.  I use a query clause in my block. The normal syntax contains several quotes.  But what happens if I want to use in my application, what is the syntax?  Help, please.  I use Forms Builder 10g.  For example, my query looks like this:

DECLARE

VARCHAR2 (1000) MYQUERY;

BEGIN

MYQUERY: = ' (SELECT WBS_NO, DESCRIPTION_PR, PR_NO, PO_NO, ITEM_NO
OF TSD_SO_PROJECTS
WHERE (WBS_NO LIKE "%'|: SEARCH |) "%') OR
(PR_NO LIKE "%'|: SEARCH |) "%') OR
(DESCRIPTION_PR LIKE "%'|: SEARCH |) » %'))';

SET_BLOCK_PROPERTY ('TSD_SO_PROJECTS', QUERY_DATA_SOURCE_NAME, MYQUERY);

END;

Is it useful:

DECLARE

VARCHAR2 (1000) MYQUERY;

BEGIN

MYQUERY: = ' (SELECT WBS_NO, DESCRIPTION_PR, PR_NO, PO_NO, ITEM_NO

OF TSD_SO_PROJECTS

WHERE (WBS_NO LIKE "%'|: SEARCH |) "%'') OR

(PR_NO LIKE "%'|: SEARCH |) "%'') OR

(DESCRIPTION_PR LIKE "%'|: SEARCH |) » %''))';

SET_BLOCK_PROPERTY ('TSD_SO_PROJECTS', QUERY_DATA_SOURCE_NAME, MYQUERY);

END;

Tags: Oracle Development

Similar Questions

  • How to use 'LIKE' operator/substr/instr with if condition?

    Hello

    How to use 'LIKE' operator/substr/instr with if condition?

    I can use the following function:
    <? xdofx:InStr('ssStatus','Open',1) = '0'? >
    which returns true or false depending on ssStatus as Open *.

    But when I try to use <? If: xdofx:instr('ssStatus','Open',1) = '0'? > calculating <? end if? >

    It gives an error.

    Any suggestion? OR a solution?
    Thank you.

    Published by: user12427117 on March 10, 2011 20:42

    Published by: user12427117 on March 10, 2011 20:46

    You can try to use

    0? >

    Use contains to AS

  • How to use animated image?

    Hi guys,.

    How to use photo (Flash photo) my request for animation and is possible to write the listener to that...

    Pls explain with example code if you can...

    Thank you

    PAPI M

    Flash is not supported, with the exception of some of the more recent browsers.
    You can use SVG or animated gifs.

  • I get request to update my Flash Player from Adobe. What is c? Where to find info on how to use it?

    I don't really know how to use this thing, I'm seriously "physically challenged and a slow-learner." and my computer repair man keeps changing computers about me.  (In this I am not sure that it helps me.  Once I have to get used to some programs, there are 'new '.   His "real confusion.  For example, I got a real easy to use-address book that had all my personal and business addresses and telephone #s in there.  The computer got a 'blue screen' several times, so he came and changed my "Dell XPS" computer professional with a 'new' (a ' Dell 7 Ultimate' it was 'better'.    If I could afford it, I buy a new one and start over) so I rarely know 'where' I am, or what to do when I'm 'where I am.  With a full-time job and a serious hobby of computer repair, it doesn't have the time to help me with "operational" issues This put an unfair burden on anyone trying to help me, but I HAD TO GET HELP - SOMEWHERE, so if I'm not a gene with what will be long-term issues (because I don't know much about the computer operations), can I impose to ask what might be the basic questions?  Of course, they cannot be "basic", but what I know.     I read "... for Dummies" books, but they did not answer my questions.  I'll try to be brief, but it's not my nature.          So, let's go...

    Sometimes I get request to "update my Adobe Flash Player."  I have looked under Start programs and everything I find is "Adobe Flash Player";  I do not use reader because I do not know how, or its purpose.  But I feel like I'm missing out on thing, why would he says in the 1st place?  (I don't want to watch videos, and somewhere, I think I remember it may have something to do with it.  If so, I peut have a NEED for him.  And if so, where can I find information on how to use it.  Once again, if so, I also NEED the Flash Player?

    Original title: * e-mail address is removed from the privacy *.

    Flash Player is used by some web sites to improve how their web page or pages are displayed. If you go on a site that uses Adobe Flash and Flash Player is not installed on your computer, you will see a request to install Flash Player. When Flash Player is installed, then you can never know its duration as its transparent you when loading a web page.

    In your case and on my computer I installed Flash Player, and for this purpose, I see the same update request that you see. It is best to install the update to the latest version of bugs or security risks that may currently exist in the old version install on your PC.

    J W Stuart: http://www.pagestart.com

  • How I use a proxy? When all ports are closed. Even Skype has now closed! Like any.

    Hello

    How I use a proxy? When all ports are closed. Even Skype has now closed!

    Like any.

    Unknown Windows & Auto cant detected no connections, the proxy & the so... as; (P or vpn, sucks4 & 5 servers, https)

    I need "full technical assistance" and get expert advice... Because:
    I want to check my emails...!

    But I can't open Skype Support web Page & ~ all networks.

    CONCERNING

    Hello

    Thanks for posting your query in the Microsoft Community Forums.

    According to the description of the problem, it seems that you want to use the proxy to access email and Skype.

    I will certainly help you with this issue.

    I suggest you to refer to the links and check if it helps.

    Change the proxy server settings in Internet Explorer 

    Note: In some corporate environments, network or proxy settings might be solved or disabled by the administrator.

    Can I connect to Skype via a proxy server?

    If the problem persists or you have any other questions about Proxy servers, do not hesitate to let us know. We will be happy to help you.

  • How to use 'not like' operator in BI Publisher

    We build a report using BI publisher and need to put a check where you should see only the lines where the code does not start with S. We are aware of the starts - with operator in BI publisher, but when we try to use it with no, BI publisher generates an error. Can you please let us know how to use the not operator with "starts - with" or "contains" bi publisher?

    Also how to use 'not like' operator in BI Publisher?

    Any help will be really appreciated.

    Thank you

    You can use

    not(starts-with(ELEMENT_NAME, 'A')
    
  • How to pass the variable in the lov using like operator SQL

    Hello.
    I want to use a lov I pass a variable using like operator.
    my query is
    Select empno, name of the table where empno as ': ed %';

    I want to show a % or B empno % so my empno is A001 to A199 AND B001 to B199
    How can I do this?


    regards

    Set the property default_where to the block and run the query

    set_block_property ('myblock ', default_where,' like upper (Ename)' |: mybind |) » %');

  • backup system required a disk... How to use a CD?

    G ' Day, I run XP SP3 and Office 2007. When you run a full backup of the system, I wonder to insert a floppy disk. I have not seen a floppy because Noah wear shorts. How can I change the system to request a CD-ROM. sincerely, Bob

    I don't think it's possible. The program you are using is very old, when all THE PCs have the floppy drives.

    Instead of using the built-in XP Backup program to perform a full backup of the system, do you a favor and use a better program like Acronis True Image or Paragon Backup System.

  • How to use bluetooth BRAVEN BRV-1 on Windows 7 Ultimate speakers

    Nice day

    I would like to request assistance on how to use my speakers BRAVEN BRV-1 on my desktop PC. The specs of my PC are as follows:

    • Name of the OS and Version - Microsoft Windows 7 Ultimate 6.1.7600 Build 7600 32-bit
    • Processor - Interl (R) Core i3 CPU [email protected], 2933 Mhz, 2 Lossnay, 4 logical processors
    • RAM - 4.00 GB
    • Graphics - AMD Radeon HD 6800 Series
    • Motherboard - ECS H55H-M

    Currently, the device is visible in the "devices and printers" (see attachment pic1) but no sound is produced. It was connected via a bluetooth dongle that I recently bought at a hardware store. While they inspected the volume icon in the lower right of the task bar, the speaker does not appear in the list (see attachment Note2). I would appreciate any suggestions really, I've tried a few methods have been proposed by different forums/sites without success.

    pic1

    Pic2

    Thank you very much.

    Hello

    Welcome to the Microsoft community. I apologize for the inconvenience.

    I suggest you to see link below and check if it helps.

    Tips for solving common audio problems

    http://Windows.Microsoft.com/en-us/Windows/tips-fixing-common-sound-problems#tips-fixing-common-sound-problems=Windows-7

    Let us know the status.

    Kind regards

    Guru Kiran

  • How to use the partition instead of group by?

    Hello

    I'm unable to use the partition by clause in the following cases,

    the column with null values other_number contains 10 records in 'une_table '.
    5 records where the date 01/11/2009, item_code = 1
    5 records where the date 01/10/2009, item_code = 2

    This query returns all of the records of 10, (which assume back 2)
    SELECT count (a.anumber) on (partition TO_char(a.some_date,'MM'), a.item_code) AS i_count, a.item_code,.
    TO_char (a.some_date, 'MM')
    Of une_table
    WHERE to_char (a.some_date, 'yyyy') = 2009
    AND a.other_number IS NULL


    Works great if I wrote like this,
    SELECT count (a.anumber) AS i_count, a.item_code,.
    TO_char (a.some_date, 'MM')
    Of une_table
    WHERE to_char (a.some_date, 'yyyy') = 2009
    AND a.other_number IS NULL
    TO_char(a.some_date,'MM') group, a.item_code

    How to use partition of in this case?

    Hello

    Almost all of the aggregate functions (the ones you use in a GROUP BY query) have analytical equivalents.
    You seem to have already discovered that, regardless of the values returned by
    a comprehensive funcition using ' GROUP BY x, y, z "can also be found
    an analytical function by using "PARTITION BY x, y, z".

    Aggregate queries to collapse the result set.
    The COUNT aggregate function:

    SELECT    deptno
    ,         COUNT (*)   AS cnt
    FROM       scott.emp
    GROUP BY  deptno
    ;
    

    indicates how many 14 employees are in each of 3 departments.
    The fact the analytical COUNT function:

    SELECT    deptno
    ,         COUNT (*) OVER (PARTITION BY deptno)   AS cnt
    FROM       scott.emp
    ;
    

    but the first query produces 3 production lines, the second query produced 14.
    You could get 3 rows of output using the analytical function and SELECT SEPARATE , but it is inefficient.

    Which should you use? As with many other things, the answer depends on what data you have and what results you want from this data.
    If you want has collapsed of results (one line per group), it is an indication of striong you'll want features global, not analytical.
    If you want a row of output for each row in the table, it is a strong indication that you'll want to analytical functions.

    If you have a specific question, ask. Post some sample data and the results desired from this data, as Rob has said.

    There is another important difference between the aggreate and analytical functions: analytic functions can easily be restricted to a window , or a subset DataSet. It's something like a WHERE clause and a WHERE clause applies to the entire request: a condition of wondowing applies only to a single line.
    If you need calculate a SUM of lines with a previous of this line order_date , or an average of last 5 lines, then proabably you want to use the analytical function.

  • How to use FaceTime with Siri

    I you would Siri have been able to dial phone numbers using FaceTime, so my question is, is it possible? And if so, how?

    Hey MichaelnAvallone,

    Thank you for reaching out to help through Apple Support communities. Looks like you are wanting to make calls FaceTime with Siri. If so, I'd be happy to explain how to make this happen. First, you'll want to press on and hold the Home button or say "Hey Siri" to activate Siri. Then, for example, you can simply say, "make an audio call FaceTime to MOM" and Siri will only start a FaceTime call audio. If you say 'FaceTime Mom' Siri will begin a FaceTime call with video of this contact.

    The link below shows the ways to learn how to use Siri.

    Use Siri on your iPhone, iPad or iPod touch

    Kind regards.

  • How to use audio only AirPlay on iOS10?

    HI guys, maybe I'm stupid, but I can't find how to use streams of music after upgrade.

    UseCase:

    -listen to music through headphones on my way back

    -When reached on home stereo and activate AirPlay

    iOS9 - low slide menu - AirPlay - Audio sent to Apple TV and stereo, play music (took about 3 seconds)

    iOS10 - slide down menu - AirPlay - there is only activate AirPlay with mirroring. That is originally for my TV to turn on automatically and also phone is drained and you know - I want to use only phone no stream all on television.  (Past 10 minutes, and can not find how to do this)

    Any tips?

    Hello Tomas Vrabec,.

    Thank you for using communities of Apple Support. Information you provided, it looks like you are unable to use AirPlay to play only mirroring content after upgrading to iOS 10. Surely, I understand your concern, especially since it worked as you need on the previous version of the software. I'm happy to help you.

    Looks like you are taking the correct steps. First of all, I recommend you restart. This can solve a lot of unexpected errors. Use the restart below steps if necessary.

    1. Press and hold the sleep/wake button until the Red slider appears.
    2. Drag the slider to turn off your device completely off.
    3. Once the device turns off, press and hold the sleep/wake button again until you see the Apple logo

    Restart your iPhone, iPad or iPod touch

    If the problem persists, please use the steps and pictures in the link below for more information on troubleshooting:

    Get help with AirPlay and AirPlay Mirroring on your iPhone, iPad or iPod touch

    Have a wonderful day!

  • With no headphone jack, how to use the iPhone in my car 7

    Okay, so here's the challenge.  I have a power source and a headphone and not Bluetooth.  It works perfectly with iPhones before 7.  But with 7, it isn't possible to use the same configuration I had for years.  I own my car, and I have no interest in buying a new car just to support a new phone.  And since this will be a problem for the years to come if I stay with Apple, I would like to know what are the solutions are available.

    So, how to use the new iPhone 7 while remaining responsible and using my car speakers?  Dongles Bluetooth that I need to reload, it's probably not.

    Thus, looking for ideas that might have people.  I can't be the only one with this concern.

    It's almost a certainty that a third party adapter will appear quickly. The new Macbook has a single port usb - c and people asked the same question, 'how to load and use USB at the same time." There are today dozens of solutions for the Macbook, and then it will be with the iPhone 7. An adapter with a 3.5 mm jack and a port of loading Lightening would be my guess. Kickstarter entrepreneurs are probably already working on it.

  • How to use and control the tabs?

    Sorry for such a general question, but I use Firefox with older versions of Mac OS x for years and have just been struck by this brand new and I have no idea on your tabs, "new tab page" etc. Can you just send me some documents so I can understand what they are and how to use them?

    All I see on my headers Ff are all sorts of legs that have no relevance to me, like 'how to stop Firefox from... '. "(twice), a few other symbols Ff and other"tabs"I don't know everything." All the do is filling up a bar line.

    Thank you-

    You are welcome.

    If you have any other questions feel free to ask them.

  • How to use Google Fonts in email?

    Hello

    I would like to know how I use the google font in my emails.

    We use ubuntu police and I see the fonts on my computer but after sending an email change fonts.

    I use the SmartTemplate4 addon.

    I hope that all f you know the answer!

    Thanks in advance

    It would be useful if you have linked the articles you found before you write. If I know you already read about it, I would have not spent time looking for you.

    The items I linked to are quite detailed. I doubt that this would trigger the SPAM detection, though - that's just my opinion of many years dealing with SPAM.

    Regarding your last question, well, only you know why you would need it in the first place. It took years for people (and the email clients) even consider using HTML, fonts are another component of this discussion (ie. content vs presentation/container). Personally, I don't receive e-mails with too much formatting.

Maybe you are looking for