Can I use 'like' operator in the column virtaul

Hello

can I use as an operator in the column virtaul as below?
or how can I use it?

----------------------------------------------------------------------------------------------------------------
create table tab1
(
C_N_NUMBER VARCHAR2 (25).
ACE RESET_STS (CASE C_N_NUMBER
WHEN as 'RESET %' THEN 'NO RESET' OTHER END NULL) VIRTUAL
) ;

------------------------------------------------------------------------------------
Rgds,
PC

Hello
you, the correct syntax is

create table tab1
(
C_N_NUMBER VARCHAR2 (25).
ACE RESET_STS (CASE
WHEN C_N_NUMBER like 'RESET %' THEN 'NO RESET' OTHER END NULL) VIRTUAL
) ;

Jirka

Tags: Database

Similar Questions

  • 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 |) » %');

  • How can I use a video for the preview looks like instead of the fixed image?

    How can I use a video for the preview looks like instead of the fixed image? I use android lollipop.

    Hi Ali,

    Video preview for looks is not currently supported on Android. Your feature request was noted by the team.

    In the meantime, there is a video on the device you want to use as an overview, I would recommend taking a perforated CAP and still image as loading preview.

    Best,

    Bronwyn

  • Cannot use mathematical operations on the settings defined in the model

    We use BI Publisher 11.1.1.6

    We have a report that contains a few settings entered by the user.  The model defines variables to parameters like this:

    <? param@begin:loadsch;5? >

    I can see the $loadsch parameter in a field very well, using this code in a domain: <? $loadsch? >

    Note that the parameter is given a default value.  When you use the preview function in Word template designer, things work fine.

    The problem arises when a mathematical operation on the variable $loadsch.

    When previewing in Model Builder, I can display a field with the following formula: <? 1 + $loadsch? >

    But, when you view the report on the BI Publisher server, I get very informative typical error: oracle.xdo.XDOException: java.lang.reflect.InvocationTargetException

    Looking at the server logs, I see the following error information:

    Message from the incomplete xslt._XDONFSEPARATORS: decimal: null, grouping separator: null

    Error XSL:

    Further details < line 74, column 367 >: XML-23002: internal xpath (error)

    @Line 74 == > < / _P > < _Q > < fo:inline XML: Space = "preserve" font-family = "Arial" height = "9.0pt" police-family-generic = "swiss" white-space-collapse = "false" color = "#000000" style-name = the size of the 'Normal' font = "9.0pt" > 3: < xsl: variable xdofo:ctx = xdofo:ctx2 '17' = 'wrapper' name = "fv3" > < xsl: Value-Select = "1 + xdoxslt:one ($loadsch)" xdofo:field - name = '1 + $loadsch' / > < / xsl : variable > < xsl: value-of select = "xdoxslt:ms_format_number ($_XDOXSLTCTX, xdoxslt:one ($fv3), ' #, ##0.0')" / > < / fo:inline >

    Message from oracle.xdo.XDOException: java.lang.reflect.InvocationTargetException

    More details at oracle.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1233)

    at oracle.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:279)

    at oracle.xdo.template.FOProcessor.createFO(FOProcessor.java:1973)

    at oracle.xdo.template.FOProcessor.generate(FOProcessor.java:1143)

    at oracle.xdo.servlet.RTFCoreProcessor.transform(RTFCoreProcessor.java:124)

    at oracle.xdo.servlet.CoreProcessor.process(CoreProcessor.java:494)

    ...

    Caused by: oracle.xdo11g.xqxp.XQException: XPTY0004

    Someone knows how to fix this?  How can I perform mathematical operations on the setting?

    the error may be in operation as (number + string)

    then you can try

    
    

    or

    
    

    Further detail : 23002-XML: xpath internal (mistake)

    @Line 74 ==> <_Q>3:

    sure what error occurred by ""?

    any other code exists in your report?

    Thanks for posting more details

  • 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

  • In numbers, I can't use then "/" operator to divide 2 cell, when I use may 7 does not appear "/", appear.

    In numbers, I can't use then ' / ' operator to divide 2 cell, when I use Shft + 7 does not appear "/", appear ' + '.

    Apple saw fit to replace the ' / ' with the Obelus ("÷") that often resembles a plus.  Look very carefully and you will see the point above and below the line.

    Also if you look at the result, 6/3 is 2 step 8 if the operator acted as the addition operator

  • Filling of LOV using like operator

    Hello...

    IAM trying one fill a LOV using like operator.

    I want a solution to this for the following problem...


    I have a block of text as "inp" and I have a list box with the Name, addr, subject values.
    After entering a substr in text box for example 'BA', and then select the name in the list box
    He must complete a lov having names which appears the BA...
    Like this

    Radha Bai
    Marie Charlotte
    Belot

    As much as BA is present, it must appear in the LOV.

    I have genereated Lov with the following code

    SELECT name from table-name, whose name like ' %: inp.

    so I called the lov in when-item-changed.

    But LOV is not filling.

    I changed the code you select name from table_name where substr (name, 1, 1) as substr(:inp,1,1)
    It displays the names starting with the first letter of the entry.

    I want to fill the lov using %: % inp...
    Someone help me...

    Hai,

    Try

    SELECT NAME FROM TAB_NAME WHERE NAME LIKE '%' || :inp || '%'
    

    Kind regards

    Manu.

    If this answer is useful or appropriate, please mark. Thank you.

  • can I use ipencil to paint the pictures on ipadpro?

    can I use ipencil to paint the pictures on ipadpro?

    If you have an application that supports it, of course.

  • Can I use automator to change the modified time of a file as its content?

    I use automator to rename a series of images.

    The problem is whenever I change a change of time of amending records file.

    Can I use automator to change the modified time of a file as its content?

    I know that I can use the Terminal to change a date but I have no idea how to do to automate this process

    As you say you know the command to use in the Terminal, and then with Automator, use the Action run the Shell Script after the name change.  The new file name will be passed to the Action run a Shell Script, and from there, you can use touch - r to set the time of the file at the time the name of the new file

  • Can I use my iPhone for the load

    Can I use my iPhone for the load?

    Yes

  • How can I use Office Update without the Office CD?

    How can I use Office Update without the Office CD? On the microsoft Web site, I clicked the options which mean that I would not need the CD (which was not provided with the laptop), but poartway through the service pack update, I get a request for the Office 2000 Professional CD.

    Any suggestions?

    Hello

    Did you mean an office or a note?
    As far as I know the a Note is part of the recovery Image and the CD is not supplied with the unit. In addition, Toshiba units are not delivered with the Office 2000 software.

    However, have you checked to aid either in Word update function?

    You will find an option called verification of updates
    http://Office.Microsoft.com/en-us/officeupdate/default.aspx

    Good bye

  • Can I use PC400 RAM with the Tecra A4 (Pentrium 750)

    Can I use PC400 RAM with the Tecra A4 (Pentrium 750), currently PC333 is mounted.

    Thank you

    I put t know if you can use but AFAIK Toshiba recommends using these modules on the Tecra A4:
    PC2700 256 MB (PA3311U - 2M 25)
    PC2700 512 MB (PA3312U - 2M 51)
    1024MO PC2700 (PA3313U-2M1G)

    Here are the modules of single channel 166 MHz DDR333/PC2700, DDR SDRAM, 200-pin SoDIMM.

  • can I use 2 Mac Pro, the old and the other from different locations with the same apple ID?

    can I use 2 Mac Pro, the old and the other from different locations with the same apple ID?

    Yes. The only problem that I see if Macs were different countries. The method of payment in the account/ID must be associated with the country where the unit is located and you can only buy Apps from the store of the country where the computers are located

  • Can I use my name on the account and CC my wife to Fact?

    Can I use my name on the account and CC my wife to Fact?

    N ° your name must match the credit card used.

    Since you are using his credit card, why not to use his name?

  • Required: a portable charger for an iPhone 4 that can be used in Germany and the United States

    Required: a portable charger for an iPhone 4 that can be used in Germany and the United States

    Does anyone have recommendations?

    The original charger is International, all you need is a converter of pin code.

Maybe you are looking for

  • Tecra R840 - need driver for the button control / stop Touchpad

    Which driver supports the switch for the touchpad?

  • 24Upgradecheck

    I have no idea how I chose this place. It only shows up on discussions archived on TheFourChannel, no where else. Where could I get this and how then I remove it? Of course I don't download 'Flash', I simply close the page. It was released three time

  • How select specific channels attached to specific 'create virtual channel '.

    Dear user of LabView, I did a program of acquiring data of an LVDT, a forcecell and a strain gauge. I did so that I can add multiple LVDT and several gauges... So we can task 1 voltage and task 1 strain, but also multiple tasks of tension and the mul

  • want internet explore 8

    I keep getting invited to download IE8 and I don't want... I keep clicking on cancel, but continues to appear again, how to get them to stop asking me to download this update

  • Can I use windows 7 download UPGRADE to boot from USB?

    Hello. If I buy and can download the windows 7 UPGRADE on my USB key, can I then use it to start, after I format my computer? What are the steps? I know I must make a few changes (NTFS) to the USB port and verify that the PC starts in the footsteps o