Change the background color in sql

Could someone tell me what is the problem with this sql query. The part of changing color does not work:

Select the desktop,
FINANCING case
When 'Y' can span style = "" background-color: #0000FF; ' > ' | " FUNDING | »
end
of temp_ms_vv



This is the error I got:

Failed to parse the SQL query:
ORA-00905: lack of keyword

Thank you
Yivon

Yivon, if it still does not then try this...

case
when FUNDING = 'Y'
then '' ||FUNDING||''
end funding
from temp_ms_vv

-Chris

Tags: Database

Similar Questions

  • Change the background color of the text box for the required field

    Guys,

    I want to change the background color of textfield required when the user is in data entry Mode. And when the record is validated successfully the background color should be back to the default.

    That's what I've done so far.

    Created a Visual attribute that contains the background color.

    In the record of the creation of the data block added the code below.

    IF: SYSTEM. BLOCK_STATUS = 'NEW' THEN

    SET_ITEM_PROPERTY ('MASTER_APM_INVOICE.) BATCH ', VISUAL_ATTRIBUTE, 'ENABLE_COLOR');

    SET_ITEM_PROPERTY ('MASTER_APM_INVOICE.) VENDOR', VISUAL_ATTRIBUTE, 'ENABLE_COLOR');

    SET_ITEM_PROPERTY ('MASTER_APM_INVOICE.) AMOUNT ', VISUAL_ATTRIBUTE, 'ENABLE_COLOR');

    SET_ITEM_PROPERTY ('MASTER_APM_INVOICE.) ACCOUNTING_DATE', VISUAL_ATTRIBUTE, 'ENABLE_COLOR');

    SET_ITEM_PROPERTY ('MASTER_APM_INVOICE.) INVOICE_DATE', VISUAL_ATTRIBUTE, 'ENABLE_COLOR');

    ON THE OTHER

    SET_ITEM_PROPERTY ('MASTER_APM_INVOICE.) BATCH ', VISUAL_ATTRIBUTE, ");

    SET_ITEM_PROPERTY ('MASTER_APM_INVOICE.) VENDOR', VISUAL_ATTRIBUTE, ");

    SET_ITEM_PROPERTY ('MASTER_APM_INVOICE.) AMOUNT ', VISUAL_ATTRIBUTE, ");

    SET_ITEM_PROPERTY ('MASTER_APM_INVOICE.) ACCOUNTING_DATE', VISUAL_ATTRIBUTE, ");

    SET_ITEM_PROPERTY ('MASTER_APM_INVOICE.) INVOICE_DATE', VISUAL_ATTRIBUTE, ");

    END IF;


    And in the key to commit the following code is added

    SET_ITEM_PROPERTY ('MASTER_APM_INVOICE.) BATCH ', VISUAL_ATTRIBUTE, ");

    SET_ITEM_PROPERTY ('MASTER_APM_INVOICE.) VENDOR', VISUAL_ATTRIBUTE, ");

    SET_ITEM_PROPERTY ('MASTER_APM_INVOICE.) AMOUNT ', VISUAL_ATTRIBUTE, ");

    SET_ITEM_PROPERTY ('MASTER_APM_INVOICE.) ACCOUNTING_DATE', VISUAL_ATTRIBUTE, ");

    SET_ITEM_PROPERTY ('MASTER_APM_INVOICE.) INVOICE_DATE', VISUAL_ATTRIBUTE, ");



    The problem is, form opens in the mode of data entry, so mandatory fields have changed background color, and mode query and run the query, background colors are changed in accordance with a.


    Any help how to solve this problem?


    Also, what tag should I use to highlight the code in my post, the FAQ forum says its {code: sql} but his does not and the code is not formatted.



    Concerning



    Dear Faisal Niazi,

    Write code to set the normal Visual attribute in the trigger WE POPULATE DETAILS or after REQUEST of the block trigger.

    Manu.

  • Is it possible to change the background color of apex_application.g_print_success_message?

    I have a process of application the button create: -.

    DECLARE

    Start

    IF PACKAGENAME. FUNCTIONNAME (PARAMETERS) = 1 THEN

    apex_application.g_print_success_message: = 'Record already exists for a same schedule. "

    ON THE OTHER

    INSERT PROCESSES

    END IF;

    END;

    With apex_application.g_print_success_message, everything works fine but

    If I use apex_application.g_print_error_message

    giving following error

    ORA-06550: line 10, column 20: PLS-00302: component 'G_PRINT_ERROR_MESSAGE' must be declared ORA-06550: line 10, column 3: PL/SQL: statement ignored

    Selection_002.png

    Because

    apex_application.g_print_error_message is a variable,

    but you can't run it as an "order".

    But my question is can we change the background color of apex_application.g_print_success_message

    not only red text? is it possible.

    Hi Reema,

    Modified your sample application to change the color of the success message.

    This is the change of background color

    Change the Page-> Css-> - Inline. Insert the code below

    #success-message {
        background: none no-repeat scroll 0 0 #99CCFF !important;
    }
    

    You can replace the color code you want.

    hope this helps you,

    Kind regards

    Jitendra

  • Change the background color of the table rows af of those who have a larger date today

    Greetings,

    I have a table of af of insurance of the person which show details for each insurance policy. I have change the sql query table to show only those that the insurance is still active ('end_date' variable is greater than today).

    Everything works fine, but on doubts, I want to show all the records, but change the background color red of those lines which have expired ('end_date' variable less today).

    Can you help me please?

    Thanks in advance.

    Using Jdeveloper v11.1.2.4.0 (JSF - components of the ADF)

    This example shows how to do this http://andrejusb.blogspot.de/2010/04/changed-row-highlighting-in-oracle-adf.html

    Timo

  • How can I change the background color for the bar 'help file edit view history bookmark tools' in Firefox 29,0

    How can I change the background color for the bar 'help file edit view history bookmark tools' in Firefox 29,0

    You can add a theme of solid color to change the color of the top of the browser window, which contains the Menu bar.

    https://addons.Mozilla.org/en-us/Firefox/themes/solid

  • How I change the background color?

    This has been answered before, but for older versions of Pages with settings that no longer exist, and I can't seem to understand. How can I change the background color in the Pages?

    I inserted one rectangle and size for the cover page. I can't send to back, despite clicking on the button to do it, nor can I scroll with me instead of having to insert a new for each page, which would be much too tedious, even if I clicked "move with the text." What Miss me?

    Hi shockvaluecola,

    This rectangle selected, Menu > reorder > Section Masters > move object of Section Master.

    This context is displayed on each page of this Section.

    To remove the object of Section Master Menu > reorder > Section Masters > make Master objects selectable.

    Select (by clicking in the margin of page for me works), then delete.

    Kind regards

    Ian.

  • How can I change the background color of my iPad

    How can I change the background color of my iPad 1 5.1.1

    You can change the wallpaper via settings > brightness and wallpaper

  • First HP: Change the background color of a cell in the spreadsheet app (program)

    I created a very simple program to change the background color of two cells in the speradsheet application:

    First version of HP 2015 6 17. 8151 Rev

    1. EXPORT BGCOLORCHANGE()

    2. START TO

    3 STARTAPP("Spreadsheet");    Application of the open worksheet

    4 STARTVIEW (2,3);    in the symbolic view

    5 Cell (1,1,7): = RGB (0,255,0);    cell A1 green paint

    6 cell (1,2,7): = 31744;    red paint A2 cell

    7. END;

    PROBLEM: instruction 6 works, but section 5 only. Why?

    Thank you!

    The background color of worksheet uses 5 bits per color channel, then the function RGB() expects 8 bits per channel.

    The background color of worksheet can be calculated by: R * 32 ^ 2 + G * 32 + B where R, G and B are between 0 and 31 inclusive.

  • Change the background color of comments in numbers?

    Is it possible to change the background color of comments in a document of numbers?

    I couldn't find a way to do it on my iMac, but I managed to change the color of comments in a document of iCloud numbers, and now he's changed the background color of comments on the document of numbers on my iMac.

    You may have found the only access to the color of the note

  • How to change the background color of a text indicator?

    I have an ASCII/text indicator on my FP. FP uses a .png file as the background, with a block diagram. The diagram is a white background with lines black, figures, etc. I wish I could change the background color of the indicator of ASCII text / to white, so that it better matches the white background of the block diagram.

    LabView 2009 SP1 running.

    Thank you

    Have you tried the brush in the tool palette?

  • change the background color of specific table cell

    Hello

    I'm trying to highlight the cell when the max value occurs in the attached VI.

    In addition, as it is a secondary function, possible to change the background color of this specific cell?

    Thank you

    hiNi

    This?

  • How to change the background color of string programmatically?

    How to change the background color of string programmatically?

    Are you talking about string indicator and control chain? If so, right-click on a control/indicator of string and select Create-> property Node-> text-> text-> BG Color colors. Change to write and a number of the color you want to use phone.

  • How can I change the background color of the indicator

    Hello

    I want to change the background color of an indicator. (Yellow in the image as an attachment).  I would like to know, what property node manages this value so that I can wire a box of color to it.

    Thank you

    Jason

    Digital text > text colors > BG color

  • You can change the background color vi with a property node?

    I was wondering if it was possible in Labview to use a property node to change the background color of façade for an iteration, then back to an original color later. I don't think it's possible, but I would like to know for sure.

    Thank you

    Jody

    You can get the property pane directly node by right-clicking the scroll bar on the front panel and create-> property Node-> color pane.  Useful with multiple panes.  You can also click the property pane node in example of (imstuck) and choose link and then select the pane.

  • Change the background color based on the value

    I'm sure that this is a trivial question, but I can't seem to find the method to do it.

    I want to change the background color of an indicator according to its value.

    For example: if I have a set of say 123degF, I would like to the color of background color green if the value is either 1% or +/-2degF.

    Otherwise the color could be if above red and blue if under.

    I was able to schedule a psychic acomplishes, but with more than 50 indicators the interface gets quite busy.

    Santosh is correct. Here is a small example of the implementation of this code:

    I've also attached a copy of this VI, with the connected devices, so you can use it as a subvi if you wish.

    He takes input of temperature limit lower and upper limit. It then returns the value of the temperature, with the color of the indicator of change.

Maybe you are looking for