the image tag select vs tag image through the function

Hello

Why is this work:
 case when function1( p1, p2 ) = 'N' 
    then
      '<img src="#APP_IMAGES#1.jpg" title="1">'
  else
    '<img src="#APP_IMAGES#2.jpg" title="1">'
  end nv 
and it is not:
function2( p1, p2 ) images 
Function1 returns o or N, function2 returns the same img tag as in 'box when' (< img src = "" #APP_IMAGES #1.jpg "title ="1">"). The first statement shows the correct image, that the 2nd way does not show the image (Red Cross).

The report columns are "Standard report column", when I change that to "Display as text", I see the good img tag.


Anyone know why it does not work?

Published by: garcol on February 22, 2013 10:48

This is because SQL is parsed in the first place, as well as chains of substitution. The results were not analysed. If you want to replace in your procedure, you can always pass a string as a parameter substition and then analyze the text returned to be yourself.

Tags: Database

Similar Questions

  • How to select the image through the gallery or the camera on the blackberry torch 9800?

    Hi all

    I developed the web application. In I want to select the image through the camera on the blackberry 9800 torch or Gallery. so I need the code for when I click the button to view the two options which is 1. take a picture of the camera and 2. Take a photo from the gallery... So please me to fact... Thanks in advance...

    With Ragards,

    Marimuthu_P

    Sorry, there is no API available on the old version of WebWorks for this. You must create your own extension "file picker".

  • The Dollar photo: Unique promo on Adobe Stock. 99 ¢ per image through an annual plan of 10 images for 9.99/month. How can I register?

    The Dollar photo: Unique promo on Adobe Stock. 99 ¢ per image through an annual plan of 10 images for 9.99/month. How can I register?

    You get the offer as part of the process of "migration." Be warned, your account of Club Photo Dollar is irrevocably deleted during 'migration', your past purchases, licensing, collections, lights, etc. do NOT migrate. It is simply a transfer of credits.

  • I thought that the watermark to the image, I have a license would go far published whaen.  It does not and is now on Facebook.  I did the image through stock Adobe license and eventually found the version without the stock of Adobe wrote in my cloud of Ad

    I thought that the watermark to the image, I have a license would go far published whaen.  It does not and is now on Facebook.  I did the image through stock Adobe license and eventually found the version without the stock of Adobe wrote in my cloud of Adobe.  Can I leave this one with Adobe stok wrote about it on Facebook?  It would be good publicity for the Adobe stock.

    Hi Mike,.

    This has been answered under article 3.3 social media use additional Adobe stock terms.

    For more details, read

    Adobe Stock FAQ

    Adobe Stock Terms of Use

    ~ David

  • Images through the UDP transmission

    Hello

    I need to capture images from a webcam, convert them into tables 2d pixel values and finally pass via UDP to a code c. I did a test vi, which is based on UDP transmission in the same vi. Table 2d in the receiver part shows nothing when I run the code. What really is the problem?.

    You should not use TCP, UDP. The technique that you try will not work, or at least won't work reliably with UDP. Citing the help, on the maximum size setting: "the default is 548. (Windows) If wire you a different value of 548 to this entry, Windows may return an error because the function is unable to read a number of bytes that are in a package. "Have you checked for an error? Do you know if you receive all the bytes you expect? UDP is not designed for sending important flows of data in which each packet must arrive.

    Also, it is not to solve your problem, but overflow IMAQ create the while loop. IMAQ create creates a reference to a memory location, and you want to only do it once, then reuse the same image memory over and over again.

  • Satellite P300D - no image through S-video output

    Hello!

    I can't image through my S-video output to the TV. VGA and HDMI works fine, but my TV is old and I don't have that kind of input to TV.
    The laptop recognizes TV on cable, but I can't go from a primary and secondary display.

    (satellite P300D - 12L)

    Hi bgjerg,

    Usually you can pass to your TV by using the FN + F5 key combination.
    More if you use the S-video output, you can set parameters in the display driver. There, you can choose between NTSC and PAL. It s on your TV depending on what setting you need.

    Check this box!

  • Of image processing and machine vision do not appear in the function Palette

    Hello

    I have the problem and I can't solve

    Of image processing and machine vision do not appear in the function Palette, although I have implemented NEITHER imaq and NI Vision Acquisition why?

    Can someone help me?

    Vision Development module is the package that contains the entire library of Vision.

    http://www.NI.com/LabVIEW/vision/

  • Color image is not displayed when we call using the function DAL (LOGO)

    Hi all

    To change a picture of the legacy of the new Image in our MRL, the legacy Image is used by a lot of Faps (sections).

    (1) if we create the new article with new Images, the process becomes complex, as we need to check all the triggers and forms associated with it.so, we plan to create a field (with the same position as picture) DAL with functions of LOGO use

    EX:

    If (#process = 1)

    LOGO ("Idea", Fieldx (), Fieldy ())

    on the other

    LOGO ("LegacyImage", Fieldx (), Fieldy ())

    End

    Return("")


    Problem: The new Image is colored but when printed (called using "DAL") that is the impression that 'Black and White')

    We tried to use 'Refresh() '.


    Kindly help me with solutions,


    Thanks in advance

    Try to use the function ChangeLogo DAL instead.

    Change a logo on a section that has the set of attributes "print in color.

    This preserve the parameter "Print in color" and the logo print in color.

    See Re: how to get the graph to print in color when it is added using script

  • I was buy images of Photo of Dollar. I received this offer. Promo.99 by image through an annual plan of 10 images for9.99/month. How can I register for this offer?

    I was buy images of Photo of Dollar. I received this offer. Promo.99 by image through an annual plan of 10 images for9.99/month. How can I register for this offer?

    I forgot to say that this offer is through Adobe Stock.

  • How can I recover the functions drag horizontal and vertical to center the portions of the image being developed? [was: Question]

    How can I recover the functions drag horizontal and vertical to center the portions of the image being developed?

    1 - question double deleted

    2 the name of the program you are using then a moderator may move this message to the correct program forum

    This forum Cloud is not on the program problem... help a program would be Photoshop Lighroom or Muse or?

  • need help on image blob retriving of table... I need to use the function

    I have a single display field and I tried to retrieve a value using the function... The idea of using the BLOB comes from the following example...
    http://dgielis.blogspot.in/2008/07/show-blob-of-other-table-in-apex-form.html

    I created the following function... has only function display.
    "return ' < img src =" "|" APEX_UTIL. GET_BLOB_FILE_SRC('P375_PICTURE',1204,,'inline') | '" />';

    but the output is undesirable character
    The output is the following
    < img src = "" apex_util.get_blob_file? a = 231 & s = 16387884076007 & p = 375 & d = 26249204291254605 & i = 26247831247254566 & p_pk1 = 1204 & p_pk2 = & p_ck = C226897F204BFA329F601AF2ED72ECDA & p_content_disposition = inline "/ >"

    Using apex 4.2 db 11g release 2 xe
    1204 here are a few magazine_id
    Here's my blob table structure
    xxx_picture
    xxx_no number (10),
    BLOB of photo
    picture_filename
    picture_mimetype
    image_last_update
    I am able to recover the data via interactivereport but I will lke to recover their data that show only the BLOB field

    Can someone please guide. . I could hurt
    Thank you

    Published by: zycoz100 on April 28, 2013 01:05

    zycoz100 wrote:
    I have a single display field and I tried to retrieve a value using the function... The idea of using the BLOB comes from the following example...
    http://dgielis.blogspot.in/2008/07/show-blob-of-other-table-in-apex-form.html

    I created the following function... has only function display.
    return '';

    but the output is undesirable character
    The output is the following

    To get a displayed item to render in HTML, in the definition section Security value escape special characters notitem.

    For a column of the report, ensure that the column attribute text to display as report is report Standard column rather than the default display text (escape special characters).

    However in the APEX 4.x, using an element in the Image display and support declarative BLOB is preferable to these manual methods. Images can be formatted using the HTML attributes of the element form of property, or via CSS element.

  • Grant permission to select the function but not executed in a PL/SQL block

    Hello.

    I know that there are only two permissions on procedures/functions - RUN and DEBUG.

    But I want to grant EXECUTE permissions for a user so that the user can Select the function to double or to any other request, but not to run(to prevent the user to trigger the update of LMD - insertion, etc.) inside a BEGIN-END block.

    I know that we can revoke access to tables etc. But that access has to give. The user must be able to perform the DML operation, but just not through a function.

    Can someone please help?

    I know that there are only two permissions on procedures/functions - RUN and DEBUG.

    Fix - so give one or both of those who depend on your use case.

    
    But I want to grant the EXECUTE permission to a user in such a way that the user can select the function using dual or any other query but not execute( to prevent the user from firing DMLs - Insert, update etc) inside any BEGIN-END block.
     
    

    You already know that there is NO "select" privileges for functions. a query such as "select the function of double" RUNS the function. That's all what you can do with the functions is execute them.

    I know that we can revoke access to tables etc. But that access has to be given. The user should be able to do perform DML operation, but just not through a function.
    

    Then revoke execute on the service. Then the user cannot run the service either directly or in the context of a dml statement.

  • When I am inside an application and press on through one of the functions it opens app Sporting Goods of Dick. How do I unpair them?

    When I am inside an application and press on through one of the functions it opens app Sporting Goods of Dick. How do I unpair them?

    What app are you? Offer app purchases?

    Otherwise, you can remove the application

    Restart the phone

    Re install the software?

  • InDesign CS5 for windows only allow me to scroll through the functions with the mouse wheel

    Nice day

    InDesign CS5 for Windows only allow me to scroll through the functions with the mouse wheel and for example not allow me to access drop down menus, any help will be much appreciated

    https://helpx.Adobe.com/InDesign/KB/InDesign-tools-panels-Don ' t - respond.html

  • Select Into statement in the function db - query issued schema table

    problem with "select into" in the function db to point 10.2


    There are two schemas. "mdbdev" is the master database, and 'devusr' is granted SELECT access table to run queries in the mdbdev schema.


    with devusr, in SQL, I am able to run the following query

    Select wm_concat (strConcatedCountryList)
    from (select country_name as mdbdev.country_master mdbcm strConcatedCountryList
    where mdbcm.country_ship_status = < param? >
    order of country_name)



    but when I use the same procedure/function with 'select into' motion, failed to compile with error * "table or view does not exist."


    FUNCTION GETCOUNTRYLISTTOSHIP (SHIP_STATUS NUMBER)
    RETURN VARCHAR2
    IS
    var2CountryList VARCHAR2 (1000);
    BEGIN
    Select wm_concat INTO var2CountryList (strConcatedCountryList)
    from (select country_name as mdbdev.country_master mdbcm strConcatedCountryList
    where mdbcm.country_ship_status = value < SHIP_STATUS >
    order of country_name);
    Return var2CountryList;
    END;


    Please advise/help/suggestion :)

    You don't have to ask for the DBA, you can run a query to find out:

    select *
    from  all_tab_privs_recd
    where owner = 'MDBDEV'
    and table_name = 'COUNTRY_MASTER'
    

    What give you?

  • How to pass parameter in the function using the select statement?

    Hello

    I had a problem. I can't pass as parameter to the function by using the select statement. But it can pass as a parameter using the "code". How can I solve this problem?

    For example,.
    Select * from table (SplitFunction ('HS750020, HS750021')) < < < this work.

    but

    Select * from table (SplitFunction (select LOT_NO in the TRACER_SEARCH_SCHEDULE where JOB_ID = '36')) < < < do not work.

    Thank you for trying to help him. Thank you.

    Select * from table (SplitFunction (select LOT_NO in the TRACER_SEARCH_SCHEDULE where JOB_ID = '36'))< do="" not="">

    Try like this

    select * from table(select splitfunction(lot_no) from tracer_search_schedule where job_id='36')
    

    Just make sure that your subquery returns only 1 row.

Maybe you are looking for