different results for the same statement 9i / 10g why?

Hi all

I have problem in the SQL statement that it worked very well in oracle 9i, once I upgrade to 10g, this statement does not work

I create a table:
create table TEST_TAB (colA tank (6));

insert into TEST_TAB values ('A');

now when I run the following statement in oracle 9i

Select count (*)
of TEST_TAB
where colA as "A";


Count (*)
---------------
1

But in oracle 10g

It gives
Count (*)
-----------
0

I know I can fix education by adding % at the end to bring data or triming CLC, but I can't because that statement use frequently in the application source

My question, how can I solve this problem, what the related setting for this I check all the nls_... setting, it's the same in oracle 9i


all boards

Yes, it's Bug 2883715 possible bad results of AS against a column of type CHAR with no wildcard

[Bug 2883715| https://metalink.oracle.com/metalink/plsql/showdoc?db=NOT&id=2883715.8]

If you have everything you need to tell the developers what needs to be done.

Tags: Database

Similar Questions

  • Why do I get different results for the same resolution but different boxes of Windows, Windows 7 and XP

    I use an .exe on two different windows boxes, in Windows 7 and XP.  I put both for resolution 1024 x 768.

    Win 7 (old laptop and Dell desktop computer) I have a large application to watch.  On the WIn XP boxes all fonts to big.  It doesn't make sense for me as all PC's have the same resolution.

    Has anyone go through this before?

    System for XP and Vista/Win7 fonts are different.

    See

    http://forums.NI.com/T5/LabVIEW/elements-have-moved-when-opening-VI-with-F3-patch/m-p/1054817

    http://forums.NI.com/T5/LabVIEW/what-can-affect-the-size-of-a-front-panel-object-between/m-p/1058607...

    http://forums.NI.com/T5/LabVIEW/font-size-on-Windows-7-with-LabVIEW-2009/m-p/1055114/highlight/true#...

    and several other similar topics.

  • SimpleDateFormat giving different results for the same string in the form

    I use http://www.blackberry.com/developers/docs/7.1.0api/net/rim/device/api/i18n/SimpleDateFormat.html for formatting my date and time fields.

    I got a bug report that a device on English (UK) has a problem where the time turns off the screen, and I was able to reproduce this on device and Simulator.

    It's the pattern string that I use: hh:mma

    (hour 2 digits, colon, minute 2-digit and one letter for 'a' or 'p')

    English or r I get the result you want, for example 12: 12 p '

    "On English (UK), I get two letters for one / p marker, for example ' 12:12.

    (as if I had used 'hh:mmaa').

    What is the desired behavior? My client doesn't like it and wants a look and feel unique, with only one letter for 'a' or 'p', and I'm a little hesitatant to use aubstring...

    I usually do so, but our customer asked specifically localized to the date and time formatting.
    I have the model in my resource files, as the requested values are not easy to manage with the dateformat standard.

    Well, I have submitted comments on the entry of doc API, the doc is fake or the OS has a bug.
    I use substring if the string endsWith (am or pm) now...

  • Set a style different cases for the same placeholder (data fusion) used two times in the same text

    Hello.

    I have a document with some parties updated with the fusion of data (via placeholders). Is it possible to set a style of different cases for the same placeholder in the same text. See the example:

    Mike runs its < < vehicule_placeholder > > in the city. But its < < VEHICULE_PLACEHOLDER > > is meant to be shared.

    If the value of this placeholder in the file merger is 'bike', the sentence should be:

    Mike runs his bike in the city. But his BIKE is meant to be shared.

    Is this possible? How?

    Thank you.

    You can do it. A character style for this configuration placeholder text, set in all caps.

  • Why can I get two different results from the same coefficients?

    I get two different results of the evaluation of the polynomial function.

    For the first, I get the coefficients of a polynomial function to adapt.  I feed the coefficients of the function made the function Eval Poly and get the correct 12.8582 result when I evaluate 49940.

    For the second, I create constant array of values that have been returned by the polynomial Fit function (I typed in).  However, I get an incorrect result of - 120.7913 when I feed the constant table the function Eval Poly when I evauate 49940.

    How this can happen when I use the same values in table?

    A picture of what I explained is attached.

    Hi Altran,

    are you sure about using the 'same '?

    You compare them? Do you have (at least) set them to 17 digits display properties?

    Please attach a VI instead of an image...

  • Both inputs of printer with different names for the same printer

    I try to add a new printer in Windows 7 64 bit laptop.  I chose to add a printer in printers and peripherals and selected add a network, wireless or Bluetooth printer.  I have two tickets for the same printer

    Why are there 2 inputs and one which should I use?

    These entries are actually at the same network address (192.168.1.10).  The second address Specifies a particular port (3910).  Software print server HP Jetadmin 'web-based' uses the 3910 port to receive the print requests.  See http://h20564.www2.hp.com/hpsc/doc/public/display?docId=emr_na-c03975926

    The second is probably 'discovery of Web Services' (see http://en.wikipedia.org/wiki/WS-Discovery).  You probably don't want to use it from the "Add printer" Wizard

    I suggest to select the first entry.  This is the normal way to network printers appear in the add a Printer Wizard.  For example:

    If you have any problems with printing, post back and I'll see if I can diagnose the things for you.

  • Different results from the same calculations between SQL and PL/SQL

    This SQL statement:
    select 1074 * (4 / 48) from dual;
    Gives the 89.5 result.
    However this PL/SQL block
    declare
        tmp     NUMBER;
    begin
        SELECT 1074 * (4 / 48) into tmp from dual;
        dbms_output.put_line('Result '||tmp);
    end;
    Gives a different result:
    Result 89.49999999999999999999999999999999999996

    If I change and give my variable tmp, a precision and scale, (38.36) say the result is 89.5.

    Ed. I did about 10g (10.2.0.4.0) and 11g (11.1.0.7.0) with the same result in both.

    Published by: kendenny on July 9, 2010 10:19 for more information

    What is your current value of NUMLARGEUR in SQL * more (I assume that you use as your tool)?

    SQL> set numwidth 50
    SQL> select 1074 * (4 / 48) from dual;
    
                                           1074*(4/48)
    --------------------------------------------------
             89.49999999999999999999999999999999999996
    
  • Different users calling different numbers for the same account

    Hello

    As a society, we have a single account which allows us to make phone calls. We know that more than one user, we can access the same account at the same time, however, could both users make calls at the same time? I mean the different calls.

    Example:

    The user has call + 39 02xxxxxxx

    User B calls + 44 95xxxxxx

    (both at the same time)

    Thanks in advance!

    Simone

    Hi, Simone1984, and welcome to the community,

    I recommend a careful review of the conditions of use of Skype and the policies of fair use for subscriptions, according to these apply to your business:

    If I were an anti-fraud filter and I detected mulitple calls taking place at the same time, I would immediately take action, thinking that the account has been abused...

    Kind regards

    Elaine

    __________________________________________________________________________________________________
    Your question has been answered? Please click on the link to accept as a Solutionfor everyone can quickly find what works! As a post or want to say, 'Thank You ' -? Click on the button of congratulations!
    Reliable information: Brian Krebs: 3 basic rules for online safety

  • Two different front for the same VI?

    Hello world!

    For a project in my school, I need to use labview to project a grid on a projector and a camera to capture this control grid. I know it is possible to 'send' of frontage on a second screen (the projector in my case), but is it still possible to have a different front panel on the main screen? Do I need to use a Subvi for this?

    Thanks in advance!

    Lionel Schmied

    I did something similar to this from LV 5.  The 'projection' VI can be a Subvi, which runs in parallel with the main VI or a regular Subvi which is called in a loop in the Main VI whenever the value on the screen should be updated. The Subvi contains a hidden control for main entries and an indicator of picture for the image to be projected - no code is running inside the Subvi.  The main Panel VI is on the computer screen and may be sued for control or monitor, which is expected.  I have also written a 'Slide Show' program that behaves in the same way.

    Lynn

  • PPID different BBM for the same user

    Hello! I found that my app is having a weird behavior when I get the ppid of the user. I try to use the ppid as a key into a table of users in a database for my application, and I noticed that I have two different ppid, even thoug I am the only one using my app (it is still in development).

    What I find weird is that I have 2 versions of my application, I can dounload the store (it is in draft mode) and one I directly load on my camera on my development machine. These 2 apps get the ppid 2 different to the same user BBM.

    PPID does has something to do with my application being downloaded from the store or loaded directly? Has anyone dealt a similar problem?

    Thanks in advance!

    Reedd.

    What is expected.  PPID is unique user ID of BBM in the context of the application, which means same user PPID will be different for each application stored on the device.

    The identifiers used to register with BBM are different depending on whether you load the application or install the application for the BlackBerry World.  When you side load application name UUID / provider are used.  When you install BlackBerry World the application ID and SKUS are used.  This will give you two groups of users (two sets of PPID), one for testing and one for production.

    Also, if you change an item as your UUID or SKU you will also cause a new PPID to create.

  • Problem of USB ports: remove the material does not work. It works on different computers for the same USB devices

    Original title: problem of USB ports:

    I have a computer dell laptop inspiron d1420 provided with Windows vista and I have upgraded to Windows 7 ultimate, I noticed that when I plug in a USB mass storage, when I try to remove it, I don't get the safe delete the message and lately when I try to remove it, I keep getting the message He's busy and I can't remove it. I tried the same USB on another PC and I have no problem at all. I connected a printer, USB cable and wondows llok have not the driver or didn't install the printer, he left as a device not specified with the name of the printer, but I can't print. I tried with another PC that is also running Windows 7 ultimate and I have no problem, windows has installed the driver, because I used the same printer and the same cable. What is the problem with my USB 4 ports and how to fix?

    Hello

    When you get this message while trying to remove a USB, it's basically a lock for this USB device by some process running on the computer. If we know which process is this locking mechanism, we could also find which Service is associated with this problem in the computer.

    To check this, you can use a program called Process Explorer. You can download this program from the following link. Once downloaded, extract the contents of the zip downloaded to a folder on your desktop. Inside this folder, you will see a file by the name of procexp , which is the executable for Process Explorer. The download link is:

    http://TechNet.Microsoft.com/en-us/Sysinternals/bb896653

    First, plug the USB to one of the USB ports. Then, once you have the executable to Process Explorer, right-click on it and then click run as administrator. Please allow all guests UAC can occur. Once the Process Explorer is running, please follow these steps to search for processes using the USB at the moment:

    1. click on Searchand then click on manage to find them or DLL on the options menu at the top.

    2. then in the pop - up which will turn up next, type the drive letter for the USB drive connected to the computer (for example G: or H:) right now and click on Search.

    3. he should then display all instances of the process that is using this USB at the moment with the corresponding process ID (PID).

    Now, once you have the names of processes using the USB at this time, you can terminate them by clicking on them and then clicking on Manage close. Once this is done, you should be able to eject the USB safely.

    I would like to ask the names of processes lock the drive in your computer. This should give us an idea of what we might have to take the next.

    In addition, for the other issue that you mentioned, in which the computer does not automatically and correctly detects the printer when it is connected to the computer, I suggest you to check whether or not your computer Plug-and-Play service is set to automatic. Here's how you can do this:

    1. press the Windows and the R on your keyboard to get to the top of the run box.

    2. type Services.msc in the run box and press enter on the keyboard. Allow all UAC prompts that may coming up next.

    3. once it opens the window of the Services for you, scroll down to the Plug-and-Play service and double-click it.

    4. in the properties box that will come next, the Startup type should be set to Auto and the Status of the Service must be started. If this isn't the case, please put these values.

    5. click on apply then OK, close all windows in the computer and restart the computer once.

    Once these steps was performed, please check if the problem remains the same. We know the results.

    I hope that these steps raises you in the right direction in order to solve this problem. Don't answer if you still need assistance, we will be happy to be of assistance.

  • Different encryption data on different machines for the same input data

    Hello
    I have 2 windows 64-bit machines and I run an application on two of them exporting an Excel with encrypted data. I am using the same data is encrypted in application that gets encrypted, but differs from the (encrypted) encryption algorithm occurs on these 2 machines.
    Can anyone help identify the root cause?
    Version of the application, the version of windows etc. are all the same on both machines.
    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)

    If you give us a link to the new thread we can point to some resources it
  • FDMEE - different target for the same target application options

    Hi FDMEE - Experts.

    We run FDMEE 11.1.2.4 to load data to a single application of HFM and are faced with a special request of the company.

    We have a place to load their data to HFM, even if the report of Validation of Intersection is pointing to one or more errors.

    With FDMEE we just copied the TargetAdapter (changed the parameters of Validation of the Intersection) and used for the precise location of the adapter copied with the changed settings. (its perfect it to load the remaining data of HFM and us shows in the log the errormsg).

    As it is not possibel in FDMEE to create a second connection TargetApplication to a HFM Application, which is already used, I want to solve this problem by an EventScript which changes the Intersection 'check' for the specific location.

    Could someone give me a hint on what the correct functioning, I need to call in the script to change the 'YES' to a 'NO '? And if the event: "BefProcMap" would be the right to use?

    I want to make it as easy as possibel.

    If str (fdmContext ["LOCNAME"]) = "LOCATION_WHO_DOES_NOT_NEED_INTERSECTIONCHECK":

    XXXXXXXXXXXXXXXXX

    Thank you all

    In 11.1.2.4 make you to level loading data rule. You now have the possibility of substitution/specify the options of the target State of loading data. If you don't even have somewhere else, just 2 different DLRs to one place - who has the option of validation enabled intersection and the other has not.

  • content of the different session for the same session, CF9

    Two URLS:

    http://domain/zshowsession.cfm

    http://domain/institutes/Office/zshowsession.cfm

    The DOMAIN part is identical.  Same site.  Same server see

    The two files contain this code:

    < cfdump var = "#session #" >

    A poster this:

    session1.png

    The other displays this:

    session2.png

    You can see it's the same cfid and cftoken, but the session content is different.  It causes me problems.

    Someone is aware of any legitimate reason, why this is happening?  Maybe some configurations weird CF in the CFIDE or something?  I already checked the two relevant Application.cfc files (one in /, one in institutes) and there is nothing that changes the session.

    I fixed it.  The problem was that both Application.cfc files have different values for myIdName.  When I made them equal session data becomes synchronized.

  • Different results, running the same Javascript - CC vs CS6

    I am having some problems affecting the font size of a text using Javascript. For some reason, I always get characters of 2.88 points as opposed to what I put it to (in this case, it's 12). Anyone know what is the problem that the PS is not recognizing the command to set the font size here and why?

    #9740928-Pastie

    Line 42 is where I'll put the size.

    Line 27, that's where the variable is defined. I tried just punching in an integer with the same results.

    Thanks for any help.


    So I think that there could be a problem with Adobe CC or maybe some changes in its development with regard to the way he treats the Javascript. I ran several tests today and did some reading. At the end of the line, I decided to try the script on CS6 and I got the correct results. The script works on CS6, but not cc? I made an example of script I did my tests to take a pic to Adobe team. It's the end of this post.


    I'm not the master script by any stretch of the imagination, but I find it odd that this script works correctly on Adobe CS6, but does not change the size of font correctly on Adobe CC. I expect that same results. If any of you come up with anything please let me know. Cheers.

    BEGINNING OF THE SCRIPT

    var defaultRulerUnits = preferences.rulerUnits;

    preferences.rulerUnits = Units.PIXELS;

    var AD = activeDocument;

    Size = 53;

    var TextLayer = AD.artLayers.add ();

    TextLayer.kind = LayerKind.TEXT;

    TextLayer.opacity = 90;

    var txtRef = TextLayer.textItem;

    txtRef.font = "Impact."

    txtRef.contents = size;  The size of 53 is reflected in CS6, but when this script is run on CC, is not. Sometimes 12, sometimes it is 2.88.

    txtRef.size = size;

    END OF SCRIPT

    ^ I save it as a. JS


    Post edited by: Clayton Krause

    The ruin of font size of DOM somewhere in 2014 of the CC is a known problem.

    Re: Do you have CC 2014.2 break textItem.size?

    The alternative would use code AM.

Maybe you are looking for

  • Seller has not reset completely, now I'm stuck on the lock of activation?

    How to bypass activation lock?

  • Cannot pair the BLACKBERRY 9700 with P300 Desktop Manager software

    Hello I hope someone can help. Im running a P300 of Toshiba Bluetooth enabled cell phone. Was there a Nokia N96 which paired no problem with PC Suite but ive tried everything with this Blackberry and the Desktop Manager software and I can't recognize

  • Satellite C650 - 1CP - connection of an its Firewire card

    I want to connect my m audio firewire solo card his (http://www.m-audio.jp/products/en_us/FireWireSolo.html)to my Satellite C650-1CP I googled and I understand I need a slot available for use PCMCIA - this model has a? If so, what 'form factor' is it

  • Cannot install iOS 9.1

    My name is Hamidar Chanzi of Tanzania. I bought my new iPhone more than 5 s about two weeks ago and it was good work. But now the problem to communicate with others (always indicate ' search'). Also required to update.  I was downloading the iOS 9.1

  • XP - cannot install update (KB981832)

    My antivirus/security program just warned me that day of MS10-024 security bulletin is not installed. This newsletter was published on 14 April. I don't know why my antivirus/security program is all the time informing me of the missing update - it ru