Problem with instruction box (order by case expression)

Hi friends, I'm stuck in a strange problem. My query is like below

OPEN FOR Cursor_prnt_req
SELECT
LTRIM (to_char (sprq.stit_numb)). ' - ' || substr (IH. (Name, 1, 35).
sprq.event_key,
sprq.planogram_key,
TO_CHAR (sprq.request_date, 'HH12:MI:SS') requested_time,-asked on time
TO_CHAR (plano2.desc2) desc2,-department
TO_CHAR (plano2. Desc4) desc4,-in subcategory
CASE)
SELECT sp.status
OF v1sprq01 sp
WHERE sp.event_key = sprq.event_key
AND sp.planogram_key = sprq.planogram_key
AND to_char (sp.request_date, 'YYYYMMDD') = to_char (sprq.request_date, 'YYYYMMDD')
AND ROWNUM = 1
ORDER BY sp.status ASC
)
WHEN 'R '.
THEN "ready."
WHEN 'P '.
THEN 'print '.
WHEN THE A '
And THEN "pattern".
Status of END,
CASE)
SELECT count (DISTINCT planogram_key)
OF v1sprq01
WHERE stit_numb = sprq.stit_numb
AND to_char (request_date, 'YYYYMMDD') = to_char (sprq.request_date, 'YYYYMMDD')
)
WHEN 1
THEN "N".
ELSE 'Y '.
END dual_sited
(
SELECT MAX (request_date)
OF v1sprq01
WHERE event_key = sprq.event_key
AND planogram_key = sprq.planogram_key
) latest_requested_time,.
CASE sprq.status
WHEN THE A '
THEN "N".
ELSE 'Y '.
Printable END
Of
v1sprq01 sprq,
dplapro1.ix_spc_planogram plano2,
dplapro1.ix_spc_product ih - Ver 1.1
WHERE sprq.event_key = plano2.dbkey5
AND sprq.planogram_key = plano2.dbkey
AND sprq.status IN ('R', 'P', the from ')
AND sprq.stit_numb = ih.ID
AND sprq.store_key = p_dbstorekey
AND to_char (sprq.request_date, 'YYYYMMDD') = to_char (SYSDATE, 'YYYYMMDD')

UNION

SELECT
LTRIM (to_char (sprq.stit_numb)). ' - ' || NVL (substr (IH. ((Name, 1, 35), cm).
sprq.event_key,
sprq.planogram_key,
TO_CHAR (sprq.request_date, 'HH12:MI:SS') requested_time,-asked on time
"& nbsp" desc2,-Department
"& nbsp" desc4,-in subcategory
"No direct Plan."
N AS dual_sited,
(
SELECT MAX (request_date)
OF v1sprq01
WHERE event_key = sprq.event_key
AND planogram_key = sprq.planogram_key
) AS latest_requested_time,
"N" AS printable
Of
v1sprq01 sprq
LEFT OUTER JOIN dplapro1.ix_spc_product ih - Ver 1.2
WE (sprq.stit_numb = ih.ID)
WHERE sprq.status = ' don't
AND sprq.store_key = p_dbstorekey
AND to_char (sprq.request_date, 'YYYYMMDD') = to_char (SYSDATE, 'YYYYMMDD')

ORDER BY
requested_time DESC,
desc2 CSA,
Desc4 CSA,
latest_requested_time / / DESC
;

When I compile my inner... I get an error ORA-00936: lack of expression (it points to the first case statement) but when I take the ORDER BY clause, it works very well.

Can ne1 plz help (I tried google, but which did not help at all)

Hey Suman,

Order preference allows for the display of your need, or to access the data in a cursor in your SQL, a sort order is not necessary in cases and case statement does not support order them by in anyway.

* 009 *.

Tags: Database

Similar Questions

  • Resovle 00904 with instruction box

    Hello

    Maybe a stupid question, but I got the following situation. I have an update query, and I tried to solve a message 00904 with a case statement. Would this be possible?

    I use a case because in a version a specific field cannot exist.

    Query

    UPDATE xp table

    SET of xp. ATTRIBUTE =

    CASE

    ((select version from_parameters) = 1') THEN "//FIELD IS NOT EXISTING

    WHEN ((version select à partir de paramètres) = '2') THEN

    SELECT THE EXISTING FIELD

    ELSE "

    END

    However the request always fails with 00904 even when version = "1". It could be possible that I ask or is there just no solution for this?

    Best regards

    Richard

    Hello

    user12235295 wrote:

    Hi Frank,.

    Thnak you for your comments, will keep in mind the next time.

    My question is more general. For example, if you have an application that communicates with Oracle Financials R11 or R12 it can be diffence in the fields in the tables. R12 was generally more fields.

    My question is if you use a case statement, do all the fields must be present in order to compile the query, even if these fields are not used in this specific version.

    It seems that, even when you use a case statement, every field must be present must be present.

    Exactly!  The SQL statements are compiled first; then, if there is no error in compilation, they are executed.  Verify that all the columns exist is part of the compilation, so there is nothing you can do in the exercise of the against (an expression BOX, for example) which can avoid the error: the error prevents the CASE expression (and the rest of the statement) still running.

    If a column exists in some versions of your software, you need dynamic SQL statements.  There are so many problems with dynamic SQL that most people find that this isn't punishment; they write different different code for different versions.

    PL/SQL has a feature of conditional compilation; in other words, you can put the precompilation directives in your code that say some sections are made only in certain circumstances (for example, you have a certain version) and ignored otherwise.  SQL and SQL * more no feature of this

  • Problems with the help of control Edit Expression with tab control

    Hi all

    I am facing a strange problem when using Expression Edit Control with a tab control.

    When I put the Expression of the RichEdit controls on several tabs in a tab control, and when I run the application, the Expression Edit controls in a single tab are visible, others get invisible! I do NOTHING with them, but they do not simply show upward!

    I first faced this problem using Expr editing controls in Visual Studio c#. NET - with tab controls. For verification, I created a simple VI is LabVIEW to see if the problem is with my request / problem with Expression Edit controls in c#, etc. But voila!  A similar behavior in LabVIEW too! 

    I'm doing something wrong? OR do not do something right? Ask someone for help please ASAP!

    Thanks a ton in advance!

    DASI

    PS: Attached the VI here (LabVIEW 8.5) just download and run it, and you will see probably what I'm talking about!


  • Problem with Cisco requested orders IOS CLI

    So I try to reload the router with EEM.  However, I want it done via the cli action statement, so I can delay the cooldown to 10.  However, I have problems with the model keyword.  Here's my applet and debugging.  It seems that the declaration of model does not meet what is asked.  I've tried several different combinations, but this one made the most sense to me.

    Event Manager applet

    event no

    message from syslog to action 1.0 "router Reload."

    command action 1.1 cli 'enable '.

    model "reload in 10" action 1.3 cli command 'yes '.

    command action 1.5 cli "confirm".

    action syslog 1.7 msg "it worked!"

    * 1 Mar 00:37:18.831: % HA_EM-6-LOG: TEST: reload router

    * 00:37:18.839 Mar 1: % HA_EM-6-LOG: TEST: DEBUG (cli_lib): CTL: called cli_open.

    * 1 Mar 00:37:18.939: % HA_EM-6-LOG: TEST: DEBUG (cli_lib): OUTSIDE:

    * 1 Mar 00:37:18.939: % HA_EM-6-LOG: TEST: DEBUG (cli_lib): OUT: R2 >

    * 00:37:18.939 Mar 1: % HA_EM-6-LOG: TEST: DEBUG (cli_lib): IN: R2 > activate

    * 1 Mar 00:37:18.955: % HA_EM-6-LOG: TEST: DEBUG (cli_lib): OUTSIDE:

    * 1 Mar 00:37:18.955: % HA_EM-6-LOG: TEST: DEBUG (cli_lib): OUT: R2 #.

    * 00:37:18.955 Mar 1: % HA_EM-6-LOG: TEST: DEBUG (cli_lib): IN: R2 #reload in 10

    * 00:37:18.967 Mar 1: % HA_EM-6-LOG: TEST: DEBUG (cli_lib): IN: confirm

    R2 #.

    R2 #.

    * 1 Mar 00:37:38.879: % HA_EM-6-LOG: TEST: DEBUG (cli_lib): OUTSIDE:

    * 00:37:38.879 Mar 1: % HA_EM-6-LOG: TEST: DEBUG (cli_lib): OUT: % If please answer 'yes' or 'no '.

    * 1 Mar 00:37:38.879: % HA_EM-6-LOG: TEST: DEBUG (cli_lib): OUTSIDE:

    * 00:37:38.879 Mar 1: % HA_EM-6-LOG: TEST: DEBUG (cli_lib): OUT: the system configuration has changed. Save? [Yes/No]:

    * 00:37:38.879 Mar 1: % HA_EM-6-LOG: TEST: DEBUG (cli_lib): CTL: called cli_close.

    The manual way:

    R2 #reload in 10

    The system configuration has changed. Save? [Yes/No]: Yes
    Building configuration...
    [OK]
    Recharge regular in 10 minutes by the console
    Reload reason: reload command
    Proceed to recharge? [confirm]
    R2 #.
    * 00:56:27.083 Mar 1: % SYS-5-SCHEDULED_RELOAD: Reload asked at 01:06:22 UTC Friday, March 1, 2002 at 00:56:22 UTC Friday, March 1, 2002 by the console. Reason for reload: reload the command.

    I tried this:

    Event Manager applet
    event no
    message from syslog to action 1.0 "router Reload."
    command action 1.1 cli 'enable '.
    Action 1.2 cli command "wr".
    model "reload in 10" action 1.3 cli command "confirm".
    action syslog 1.7 msg "it worked!"
    !
    end

    R2 #.
    R2 #.
    #event R2 Manager run TEST

    * 1 Mar 00:54:52.855: % HA_EM-6-LOG: TEST: reload router
    R2 #.
    * 00:54:52.863 Mar 1: % HA_EM-6-LOG: TEST: DEBUG (cli_lib): CTL: called cli_open.
    * 1 Mar 00:54:52.963: % HA_EM-6-LOG: TEST: DEBUG (cli_lib): OUTSIDE:
    * 1 Mar 00:54:52.963: % HA_EM-6-LOG: TEST: DEBUG (cli_lib): OUT: R2 >
    * 00:54:52.963 Mar 1: % HA_EM-6-LOG: TEST: DEBUG (cli_lib): IN: R2 > activate
    * 1 Mar 00:54:52.979: % HA_EM-6-LOG: TEST: DEBUG (cli_lib): OUTSIDE:
    * 1 Mar 00:54:52.979: % HA_EM-6-LOG: TEST: DEBUG (cli_lib): OUT: R2 #.
    * 00:54:52.979 Mar 1: % HA_EM-6-LOG: TEST: DEBUG (cli_lib): IN: R2 #wr
    * 1 Mar 00:54:53.895: % HA_EM-6-LOG: TEST: DEBUG (cli_lib): OUTSIDE:
    * 00:54:53.899 Mar 1: % HA_EM-6-LOG: TEST: DEBUG (cli_lib): OUT: building configuration...
    * 1 Mar 00:54:53.899: % HA_EM-6-LOG: TEST: DEBUG (cli_lib): OUT: [OK]
    * 1 Mar 00:54:53.899: % HA_EM-6-LOG: TEST: DEBUG (cli_lib): OUT: R2 #.
    * 00:54:53.903 Mar 1: % HA_EM-6-LOG: TEST: DEBUG (cli_lib): IN: R2 #reload in 10
    * 00:54:54.015 Mar 1: % HA_EM-6-LOG: TEST: it worked!
    R2 #.
    * 00:54:54.015 Mar 1: % HA_EM-6-LOG: TEST: DEBUG (cli_lib): CTL: called cli_close.

    Your second approach is good, but you aren't answer the prompt.  Add:

    Action 1.8 cli command 'y '.

  • Problem with Oracle Sales Order form customization

    Hi all

    We have a problem in the sales order form customization. Here we try to customize three field based on the type of order

    Scenario:

    NAV-> Oredr management type Super User-> commands, returns-> sales orders-> order-> standard

    In this type if we are sailing to the lines, he should ask the following fields as required
    (Nav-> Oredr management form Super User-> commands, returns-> sales orders-> others)

    1. mode of delivery
    2. conditions related to the transport
    3. priority shipping of


    NAV-> Oredr management Super user-commands, returns-> sales > orders-> order-> Bill only & internal RMA type


    then he must navigate to line items without asking these three fields.

    For this, we have made the following customization grace-> Diagnostics-> Custom Code-> customize

    Level-> shape
    Activated-> Yes

    Condition

    Triggering event: When-validate-registration
    Trigger object: order
    Condition: (: ORDER.) ORDER_TYPE not like '% INTERNAL') and (: ORDER.) ORDER_TYPE do not like ' % BILL %') and (: ORDER.) ORDER_TYPE not like '% RMA')

    Processing mode: both
    level: site


    Actions

    SEQ:10
    type: property
    Description: Make required field
    language: all
    activated: Yes

    object: article type
    target object: ORDER. SHIPPING_METHOD
    property name: REQUIRED
    value: TRUE

    Actions

    SEQ:10
    type: property
    Description: Make required field
    language: all
    activated: Yes

    object: article type
    target object: ORDER. Terms of freight
    property name: REQUIRED
    value: TRUE



    Actions

    SEQ:10
    type: property
    Description: Make required field
    language: all
    activated: Yes

    object: article type
    target object: priority ORDER.shipment
    property name: REQUIRED
    value: TRUE


    Problem

    If the order type is standard the following fields should be mandatory without these fields, that it shouldn't navigate to line items

    1. mode of delivery
    2. conditions related to the transport
    3. priority shipping of

    If the ordar enter as the Bill only or internal or RMA

    1. mode of delivery
    2. conditions related to the transport
    3. priority shipping of

    not required must navigate to line items

    to do this, we made three customization for these three fields as mentioned above

    but the problem is

    When we first select the type of ordar like Bill only or internal or RMA, he works as expected the gall sare not obligatory the without closing the form, if we choose the command type as standard so if I try to navigate lines it is not afford without going into the three areas. But incase we first select the standard type order then we navigiting to the lines is not allowing us without going into these three fields as expected. Therefore, the problem is without closing the form now we changed the command type as Bill alone or internal or RMA now also these fields stay as mandatory is the question.

    Hope, the problem is clear to you all.

    If somone can help to solve this as soon as POSSIBLE, we would be grateful to you.

    Thanks in advance

    Kind regards
    CSK

    Rather than make the fields required, why not you just popup a message of error if the shipping_method is empty.

    If the personalization will look like this
    => trigger when-validate-record
    condition => (: ORDER.) ORDER_TYPE not like '% INTERNAL') and (: ORDER.) ORDER_TYPE do not like ' % BILL %') and (: ORDER.) ORDER_TYPE not like '% RMA') and (: order.shipping_method is null)

    action-online error-online you cannot save this record mode of delivery is not met.

    You repeat this customization for priority, but also the conditions related to the transport.

    Hope this helps,
    Sandeep Gandhi

    PS: Another option is to use two times-news-registration-Forum customizations. The first is the required fields if the order type = STANDARD.
    And the second customization if required fields is not the order type! = STANDARD. Since you do not have this second customization, the fields remain necessary even when you select a type of STANDARD command.

  • Problem with combo box properties

    I'm not sure if this is a recurring event, but I have a list of items in the list of items in a drop-down list box. They each have a different export value. I have not had any problems to make the list, but when I try to come back to edit an item on the list, that he refuses to answer. When I click on an item, it automatically brings me bang on the first element: s. it's really frustrating when you made a mistake and you have to redo several lists with more than 30 items + export values. No one knows why this is happening or even a solution to this problem. I use adobe acrobat 9 pro Presentation If that's any help.

    This happens because you have set up two (or more) elements with the same

    value of exports, which is not a valid situation. A solution would be to change

    the list so that it is no longer the case.

  • Problem with several sub-groups through case structure Enum: 'the VI isn't in a State compatible with this operation.

    Hello

    I'm using LabVIEW 8.0 and I'm trying to create a subgroup of experts which shows the façade of a subvi according to the choice made by the user via the menu drop down Enum.  I wired the Enum to a case structure and apply a coding identical to each structure of individual cases with the exception of course change the source of sub - vi.  However, you receive an error "The VI isn't in a State compatible with this operation."  I have managed to make a single sub - vi work within a subgroup of experts using a true/false case structure and the same exact coding.  However, now that I use an Enum box connected to a structure of the case, I get this error.  I enclose my diagram as well.  Could someone help me as to where it is that I am wrong?

    Thanks in advance!

    If your VI runs already, when you try to run it? Which returns the error you get.

    Check the State of VI before trying to run or make an error handling.

  • Problem with the event and the case of Structure

    Hi all,

    I get the problem in my program, I'm using the two structure one is the same and other structure box.

    In the structure of the case, I had the button as an entry to the SPL and the case structure as the output of the structure of the case.

    And in the same, then I had the two text box (num control A and B) in that I had put the event changes its value. Then, even I put the value has

    num or num B control control control this corrosponding num value will save seeing num C. Now the problem is when I click on

    the theLEB button does not blink until or if you don't put the value of one of the corrosponding num control.i didn't post my file in version 8.5 and 8.6 Please find tha.

    Hello

    It should work like that or I misunderstood what you want to do.

    If Boolean is true, boolean 2 is true, at the same time, you can change the value of A so C or B then C.

    See attachment

  • problem with changing the order of tab on tab control

    Hello

    I am aware that the same question has been asked over three years - but I can't yet find the problem in what I'm doing...

    Description: I have two controls tab, A tab with three tab and tab B with two controls on a Panel. For the following discussion, tab B is of no interest. Each tab control has several numerical indicators, of type integer and double. Now, I want to add a fourth tab control to A tab. This method works.

    Following and problematic stage, in the Publisher of the IUR I select the new tab (most right) and move two positions to the left. It's still ok until I try to display a numeric value of order of tab 3 (the new tab control is left to it). I get an error in calls to SetCtrlAttribute, complain about an invalid control ID... However, I didn't touch any control over the tabs, or add a new control. In addition, I did not touch the generated include file... Visual inspection did not show any changes in the include file (the new tab control is listed only when certain controls are added)

    Posting numbers on the first/far left tab control work only on 3 and 4 which are suitable for the new (and still empty) new tab will generate this error. Adding a control to the new label does not change the bahavior.

    Help is appreciated!

    Wolfgang

    Wolfgang,

    When you get the handle for your tab using GetPanelHandleFromTabPage:

    GetPanelHandleFromTabPage (MainPanelHandle, PANEL_TAB, 0, & TabHandle);

    the third parameter is an index for the specific tab you want to address.  If you change the order of the tabs, you can change the index, too.  For example, assume that you have a digital control on the third tab from left to right.  You want to assign some value, so this, you:

    GetPanelHandleFromTabPage (MainPanelHandle, PANEL_TAB, 2, & TabHandle);

    SetCtrlVal (TabHandle, TAB_numMyNumeric, 1);

    Now, you add a new tab to the left of the tab with the digital contorl.  The new tab is now index 2 and the original tab is index 3.  When you call:

    GetPanelHandleFromTabPage (MainPanelHandle, PANEL_TAB, 2, & TabHandle);

    you get the handle to the new tab.  There is a control with the same ID as TAB_numMyNumeric, so that you get a runtime error.

    Personally, I like to use an enumeration to my tabs so I can keep the lines:

    enum {MY_FIRST_TAB, MY_SECOND_TAB, MY_THIRD_TAB,...};

    So if I redesign the tabs or add a new one I just re - order enums and everything works fine.  Also, I used the same names in my constants of tab, to help keep things straight:

    GetPanelHandleFromTabPage (MainPanelHandle, PANEL_FIRST_TAB, MY_FIRST_TAB, & TabHandle);

    Tony G.

  • Problem with Council box using VMWare-KVM

    I asked this question in the player forum of work stations, but there doesn't seem to be anyone there know about VMWare-KVM, so I hope for more luck here.

    Re: VMWare Workstation 12.1 player when I start a virtual machine using VMWare-KVM I am constantly presented with the message box "press pause to switch between virtual machines and the host - show no suspicion again." I tried to check "do not show again suspicion" but this has no effect. I tried the deselection of VMWare-KVM - preferences. Once again no effect. I imagine that there is a line that I can add a...\roaming\vmware\preferences.ini which will disable it. Does anyone know what would be the format for this?

    Thanks PBreeze

    Hello

    Welcome to community work station!

    I'm sorry. I think it's a bug in vmware-kvm on Windows 7. I can reproduce the problem on Windows 7 with 12.1.0 Workstation. But it works well on Windows 8.1.

    Temporary workaround configures it in the preferences file you mentioned. Add below line to % APPDATA%\VMware\preferences.ini:

    hint.vmkvm.usageHint = "FALSE"
    

    I'll report a bug of product for it. Thank you for bringing This problem to us!

    Kind regards

    Shawn

  • Problem with IE box put white behind the spry navigation bar

    IE is also distort menu nav bar boxes in a different random order as well as to a white box behind the spry navigation bar.

    All works fine in Chrome, Safari, and Firefox.

    Does anyone know how to solve these problems?

    The site is http://www.phonicsfaster.com

    I would really appreciate help.

    Thank you

    FM

    Do you want to say just do a div boxes style line as I want them to look in a row? What method would you use to make the color change and also enable it to have a direct link? In DW I usually use image swap behavior for a change on mouse over.

  • Problems with joker PreparedStatement and underscore in EXPRESSION

    Hello

    I use Kodo JDO on top of the Oracle 10 G JDBC Thin driver. I have a problem, using underscore in search queries cause unexpected result sets, I can't explain, but maybe some gurus of Oracle you are. I used to draw the problem down next follow-up:

    Java-> Kodo Journal-> JDBC driver trace (we are also on how to configure a trace on the side Orcle, but is not yet ready)

    We are queriying a table with a like to filter some of the entries. Similar contains underscore traits, which are not escaped by KODO. In any case the worst case should be to provide more values than expected, but it also provides other results.

    We have following values in column NAME0 (without the quotes):
    'MD_HAFL_OAHU '.
    'MD_HAFL_BIGISLAND '.
    "MD_HAFL_BIGISLAND" #copy #.

    Using queriying like '% MD_HAFL_ %' he works very well and returned all three masses.
    When using queriying like '% MD_HAFL_O %' he returns ' MD_HAFL_BIGISLAND #copy # ' only!

    I would be grateful for any suggestion, because there could be something between the JDBC Thin driver and the database. The application and SQLDeveloper running ion the same machine, but I aleready had some problems wehre SQLDeveloper replaced some NLS_Settings, so the JDBC environment seems not to be equal. I guess that's some NLS parameter or something similar. I don't really know where to look first! Thank you!

    Newspapers/traces are all for the query '% MD_HAFL_O %' EXTID fields are filled in "#EMPTY #" for all entries, so this may not be the cause.

    ------------------------------------------------------------
    Journal KODO (unexpected)
    ------------------------------------------------------------

    I have the following statement in the KODO newspaper, that is a statement prepared with? as parameters. The parameters are in the parenthesis at the end. It returns 'MD_HAFL_BIGISLAND' #copy #.

    SELECT t0.ID,
    T0. NAME0
    BETWEEN t0 and H.CAMPAIGN
    WHERE ((t0. ISTEMPLATE =?
    OR t0. NATURETYPE =?)
    AND t0.NETWORKID =?
    AND t0. SUBNETWORKID =?
    AND t0. ARCHIVESTATUS =?
    AND t0. STATUSTYPEID <>?
    AND t0. NATURETYPE <>?
    AND (t0. NAME0 AS?
    OR t0. EXTID =?))
    AND ROWNUM < =? [params = (INT) 0,
    (INT) 40.
    (LONG) 5111
    1 (LONG),
    (INT) 0,.
    (INT) 20,.
    (INT) 40.
    (String) MD_HAFL_O %,
    (String) MD_HAFL_O,
    (LONG) [80] [reused = 1]

    ------------------------------------------------------------
    SQLDeveloper (expected result)
    ------------------------------------------------------------
    I have inserted values overlap SQLDeveloper and waited to see if the same result. But I get entry expected to 'MD_HAFL_OAHU '!

    SELECT t0.ID,
    T0. NAME0
    OF HELIOSIQ. CAMPAIGN t0
    WHERE ((t0. ISTEMPLATE = 0
    OR t0. NATURETYPE = 40)
    AND t0.NETWORKID = 5111
    AND t0. SUBNETWORKID = 1
    AND t0. ARCHIVESTATUS = 0
    AND t0. STATUSTYPEID <>20
    AND t0. NATURETYPE <>40
    AND (t0. NAME0 LIKE '% MD_HAFL_O % '.
    OR t0. EXTID = "MD_HAFL_O"))
    AND ROWNUM < = 80;

    ------------------------------------------------------------
    trace level of pilot ojdbc
    ------------------------------------------------------------

    26.03.2009 10:44:37 oracle.jdbc.driver.OraclePreparedStatementWrapper setString
    TRACE_16: Enter: 8, '% MD_HAFL_O % '.
    26.03.2009 10:44:37 oracle.jdbc.driver.OraclePreparedStatement setString
    Enter TRACE_16: Public: 8, '% MD_HAFL_O % '.
    26.03.2009 10:44:37 oracle.jdbc.driver.OraclePreparedStatement setStringInternal
    TRACE_16: Enter: 8, '% MD_HAFL_O % '.
    26.03.2009 10:44:37 oracle.jdbc.driver.OraclePreparedStatement basicBindString
    TRACE_16: Enter: 8, '% MD_HAFL_O % '.
    26.03.2009 10:44:37 oracle.jdbc.driver.OraclePreparedStatement basicBindString
    TRACE_16: output
    26.03.2009 10:44:37 oracle.jdbc.driver.OraclePreparedStatement setStringInternal
    TRACE_16: output
    26.03.2009 10:44:37 oracle.jdbc.driver.OraclePreparedStatement setString
    TRACE_16: output
    26.03.2009 10:44:37 oracle.jdbc.driver.OraclePreparedStatementWrapper setString
    TRACE_16: Enter: 9, 'MD_HAFL_O '.
    26.03.2009 10:44:37 oracle.jdbc.driver.OraclePreparedStatement setString
    TRACE_16: Public type: 9, 'MD_HAFL_O '.
    26.03.2009 10:44:37 oracle.jdbc.driver.OraclePreparedStatement setStringInternal
    TRACE_16: Enter: 9, 'MD_HAFL_O '.
    26.03.2009 10:44:37 oracle.jdbc.driver.OraclePreparedStatement basicBindString
    TRACE_16: Enter: 9, 'MD_HAFL_O '.
    26.03.2009 10:44:37 oracle.jdbc.driver.OraclePreparedStatement basicBindString
    ...
    26.03.2009 10:44:38 oracle.jdbc.driver.OraclePreparedStatementWrapper setString
    TRACE_16: Enter: 8, '% MD_HAFL_O % '.
    26.03.2009 10:44:38 oracle.jdbc.driver.OraclePreparedStatement setString
    Enter TRACE_16: Public: 8, '% MD_HAFL_O % '.
    26.03.2009 10:44:38 oracle.jdbc.driver.OraclePreparedStatement setStringInternal
    TRACE_16: Enter: 8, '% MD_HAFL_O % '.
    26.03.2009 10:44:38 oracle.jdbc.driver.OraclePreparedStatement basicBindString
    TRACE_16: Enter: 8, '% MD_HAFL_O % '.
    26.03.2009 10:44:38 oracle.jdbc.driver.OraclePreparedStatement basicBindString
    TRACE_16: output
    26.03.2009 10:44:38 oracle.jdbc.driver.OraclePreparedStatement setStringInternal
    TRACE_16: output
    26.03.2009 10:44:38 oracle.jdbc.driver.OraclePreparedStatement setString
    TRACE_16: output
    26.03.2009 10:44:38 oracle.jdbc.driver.OraclePreparedStatementWrapper setString
    TRACE_16: Enter: 9, 'MD_HAFL_O '.
    26.03.2009 10:44:38 oracle.jdbc.driver.OraclePreparedStatement setString
    TRACE_16: Public type: 9, 'MD_HAFL_O '.
    26.03.2009 10:44:38 oracle.jdbc.driver.OraclePreparedStatement setStringInternal
    TRACE_16: Enter: 9, 'MD_HAFL_O '.
    26.03.2009 10:44:38 oracle.jdbc.driver.OraclePreparedStatement basicBindString
    TRACE_16: Enter: 9, 'MD_HAFL_O '.
    26.03.2009 10:44:38 oracle.jdbc.driver.OraclePreparedStatement basicBindString

    Published by: supernova on 30.03.2009 02:55

    Published by: supernova on 30.03.2009 02:56

    Published by: supernova on 30.03.2009 03:00

    Published by: supernova on 30.03.2009 03:10

    Hi durchgedreht,.

    Keep definitely the NLS_COMP = LINGUISTIC parameter when performing a case-insensitive search.

    You the problem seems to lie with do not escape the '_' (underscore) which itself, is a wild-card character. Consider this:

    SQL> create table names (name0)
    as
       select 'MD_HAFL_OAHU' from dual
       union all
       select 'MD_HAFL_BIGISLAND' from dual
       union all
       select 'MD_HAFL_BIGISLAND #copy#' from dual
    Table created.
    SQL> select * from names
    
    NAME0
    ------------------------
    MD_HAFL_OAHU
    MD_HAFL_BIGISLAND
    MD_HAFL_BIGISLAND #copy#
    
    3 rows selected.
    SQL> alter session set NLS_SORT = WEST_EUROPEAN_CI
    Session altered.
    SQL> alter session set NLS_COMP = LINGUISTIC
    Session altered.
    SQL> select *
      from names
     where name0 LIKE '%MD_HAFL_%'
    
    NAME0
    ------------------------
    MD_HAFL_OAHU
    MD_HAFL_BIGISLAND
    MD_HAFL_BIGISLAND #copy#
    
    3 rows selected.
    SQL> select *
      from names
     where name0 LIKE '%MD\_HAFL\_O%'
    no rows selected.
    SQL> select *
      from names
     where name0 LIKE '%MD\_hafl_O%'
    no rows selected.
    SQL> select *
      from names
     where name0 LIKE '%MD\_HAFL\_O%' ESCAPE '\'
    
    NAME0
    ------------------------
    MD_HAFL_OAHU
    1 row selected.
    SQL> select *
      from names
     where name0 LIKE '%MD\_hafl\_O%'  ESCAPE '\'
    
    NAME0
    ------------------------
    MD_HAFL_OAHU
    1 row selected.
    SQL> select *from v$version
    
    BANNER
    ----------------------------------------------------------------
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE     10.2.0.4.0     Production
    TNS for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - Productio
    NLSRTL Version 10.2.0.4.0 - Production                          
    
    5 rows selected.
    

    Concerning
    Peter

  • Problem with the Structure of the case

    Hello

    I added a new structure of matter in my VI. However, once added, there is an error that I have really no idea how fix it.

    The error message:

    "Business Structure: selector values are not unique.

    "A value of the selector is used by more than one case.  "It can be in the middle of a beach in one of the cases".

    Could someone help me please.

    Thank you.

    Floret

    Please your zip code as an attachment. See your code will make it much easier for us to understand your problem.

    The error relates to the distinction between each image of the structure of your business. You can have two business executives who launch for the same input selector case.

    For example, if I had three managers of cases that have been '0..', '1', 'Default', then frame 1 & 2 times would launch if the entry is 1 (this is not allowed). Check you definitions of statement.

  • problems with transient attributes using the Groovy Expressions on MySQL db

    Hello

    I m using jdev 11.1.2.4 and DB MySqll.

    Ive created the city and country of two tables.

    In the city of the table, there are foregin touch to amalgamate it at the table of the country.

    JDevelper have created associations and viewlinks of these paintings that I tested with ADF Model Tester and they are looking good.

    I created a transitional CountryName column and set the default (as Expression) Country1.CountryName.

    Now when I run the tester of ADF model once again, I get below error

    oracle.jbo.JboException: Houston-29000: Unexpected exception caught: java.lang.NullPointerException, msg = cannot get the "CountryName" null object property

    at oracle.jbo.ExprEval.internalEvaluateGroovyScript(ExprEval.java:1218)

    at oracle.jbo.ExprEval.doEvaluate(ExprEval.java:1253)

    at oracle.jbo.ExprEval.evaluateForRow(ExprEval.java:1075)

    any ideas?

    Thank you

    RESET query cache with RESET QUERY CACHE statement.

    http://dev.MySQL.com/doc/refman/5.0/en/query-cache-status-and-maintenance.html

    Clear the cache JDeveloper.

    Jdevloper clear cache and weblogic server

  • RH2015 problem with text box placed remaining in Place on the Image

    Using RH2015 I find a text box placed over an image and set a trigger of the text in the content to the top of the image page to display / hide the (effect) positioned text box when you click on. The issue I see is that the text box is not positioned compared to the image on which are superimposed. Is the placement of a text box positioned compared to the outbreak, in this case, rather than the image you like? I use a reagent HTML5 output would therefore have a solution that would elapse from the position of the image and the changes in scale, remaining anchored.

    Hello

    What is the ultimate goal? Click on the image and see the text?

    I ask because there may be a better way to achieve the goal.

    Personally, I have never had anything but bad using positioned text boxes.

    See you soon... Rick

Maybe you are looking for