Copied table does not match the original

Hello world

I'm using Oracle 10 g XE. I have a table with 20078 lines. There are so many duplicate rows and I want to keep only one of. So I did a "separate query" with all the columns, but the ID (primary key). I got 11781 lines of this query, which makes sense. I created a copy of the blank from the original table by using the functionalilty of 10 g XE, because I didn't want to create the new table from scratch. I used this "separate query' to insert 11781 lines in the copied table.

Because I need to keep track of the ID in the original table, I made a request to correspond to each ID of the table with the ID of the original table that had the same values of column (except the ID). I tried to create the 1-to-many relationship between the copy and the original paintings.

I surprised when I did get no result (no data found) this query. I played with commenting some columns in the WHERE clause, but the results vary a lot depending on the column that I comment. This request must obtain an accurate result of 20078 lines (the size of the original table). How is that possible? I have found a bug? :-)

Thanks in advance.


SELECT 'EMPRESAS_ORGANISMOS' ID_E_O 'EMPRESAS_REVISADAS' ID_E_R USER.USER USER.USER OF
EMPRESAS_ORGANISMOS, EMPRESAS_REVISADAS
WHERE
"EMPRESAS_ORGANISMOS".ID_FUENTE = "EMPRESAS_REVISADAS".ID_FUENTE
AND "EMPRESAS_ORGANISMOS". COMPILADOR = "EMPRESAS_REVISADAS." COMPILADOR
AND "EMPRESAS_ORGANISMOS". SECTOR_BURSATIL = "EMPRESAS_REVISADAS". SECTOR_BURSATIL
AND "EMPRESAS_ORGANISMOS". PAGE = "EMPRESAS_REVISADAS." PAGINA
AND "EMPRESAS_ORGANISMOS". ADDRESS = "EMPRESAS_REVISADAS". DIRECCION
AND "EMPRESAS_ORGANISMOS". CP = "EMPRESAS_REVISADAS." CP
AND "EMPRESAS_ORGANISMOS". ANO_FUNDACION = "EMPRESAS_REVISADAS". ANO_FUNDACION
AND "EMPRESAS_ORGANISMOS". CAPITAL_NOMINAL = "EMPRESAS_REVISADAS". CAPITAL_NOMINAL
AND "EMPRESAS_ORGANISMOS". CAPITAL_DESEMBOLSADO = "EMPRESAS_REVISADAS". CAPITAL_DESEMBOLSADO
AND "EMPRESAS_ORGANISMOS". OBLIGACIONES = "EMPRESAS_REVISADAS." OBLIGACIONES
AND "EMPRESAS_ORGANISMOS". IMPORTE_CUENTAS_PENDIENTES = "EMPRESAS_REVISADAS". IMPORTE_CUENTAS_PENDIENTES
AND "EMPRESAS_ORGANISMOS". OBSERVACIONES = "EMPRESAS_REVISADAS." OBSERVACIONES
AND "EMPRESAS_ORGANISMOS". APALANCAMIENTO = "EMPRESAS_REVISADAS." APALANCAMIENTO
AND "EMPRESAS_ORGANISMOS". NUMBER = "EMPRESAS_REVISADAS". NUMBER
AND "EMPRESAS_ORGANISMOS". NOMBRE_MUNICIPIO = "EMPRESAS_REVISADAS". NOMBRE_MUNICIPIO;

Possibly, you have made a mistake when filling with the SEPARATE application (put data from column 2 in column 1 by mistake for example). Without seeing exactly what you did, it is rather difficult to say.

For example a simple query, I would look to the error of the user before the Oracle bug error :)

Tags: Database

Similar Questions

  • total size of the files of Windows 7 does not match the size of partition

    In the D: partition

    total space: 265 GB free space: 59.1 GB

    There is only one visible folder: Daisy, size: 87.4 GB from the Explorer

    Other records hidden three: info Volume system, c:\Windows\Msdownld.tmp, $RECYCLE. BIN takes up almost no space

    Of course free space does not match the file size.

    Do not partition system, no problem to update windows and restoration, sleep or page file.

    Some strange things:

    1. with the help of file size 3.4 correctly see the size of the file

    Daisy file occupies 206GB

    Once I copied the whole file to the other partition Daisy

    and the result is the record more like 2xxGB

    so I guess that 206GB is the right size

    /////////////////////////////////

    may be ignored.

    2 folder being read-only Daisy

    Even uncheck or untick read only box in the properties of the folder does no effect

    After loading, it still shows read only

    3. 'read only' does not work

    2, daisy file is read only

    but I managed to delete files inside

    ////////////////////////////////

    ////////////////////////////////

    Is it a mistake to folder structure?

    It's a newly installed windows, so I guess that windows is clean

    Hope to see the solution and identify the problem

    Thank you very much

    OK, based on your new information, the error is that Daisy is 206 GB but Windows Explorer reports it as 87GB.

    No other information seems more relevant.

    Ideas-

    1 run ChkDsk on the drive - [first of all, make sure you have a backup of Daisy or make a new backup always] in Windows Explorer, right-click on the drive & select Properties, then the Tools tab, then click the check now button, turn off the option to make repairs in first to see if there are errors or not before making any decision as repairs can delete or corrupt files which are reported in the file allocation table.

    2. find another utility that measures the size of record to help you track down all the difference here.  TreeSize Free will be repeated.

    I do not understand your comment "later, I found the reason why I can't locate the"office"is the language of auto change." It's in Chinese at first but watch the 'bureau' cmd"that this had not been mentioned before.

    Denis

  • I tried to run the IE8 downloaded from Microsoft and I got this message: "the version of IE you have installed does not match the update you are trying to install." error no. KB2618444

    I just got my SP3 for my XP machine, I tried to start the download of Microsoft ie8 and I got this message:

    "The version of IE you have installed does not match the update you are trying to install." error no. KB2618444

    I'd appreciate any help that I couldn't solve this problem!

    Thank you!

    E-mail address is removed from the privacy *.

    Original title: error KB2618444setup

    I do not understand your question. Download IE8? Do you mean the installer for IE8? It's here.

    You try to install KB2618444? They make 3. For IE6, IE7, and IE8. You probably download one from a different version of Internet Explorer you have...
    I'm going to guess you really want that for IE8.
    That's it: IE8-WindowsXP-KB2618444 - x 86 - ENU.exe

  • 0xc0000221 error: Windows Boot Manager is possibly corrupt. The header checksum does not match the checksum calculated.

    Just turned laptop on a message saying... Manager of windows startup, the file is possibly corrupted, his header checksum does not match the sum of computer control. ?? File: / windows/system32/win load.exe...

    status: 0xc0000221.

    What help please this meen?

    Original title: help!

    Hi markwiggins,

    Follow these steps:

    Method 1: Run the Startup Repair

     

    For instructions, see the following article:

     

    Startup Repair: frequently asked questions

    If the startup repair does not resolve the problem, follow all the methods of these items:

    What to do if Windows does not start correctly

    How can I fix a startup (startup)?

    Method 2:

    Restore the system in the advanced system to a restore point recovery options menu before the show.

    For more details, see the following article:

    What are the system recovery options in Windows Vista?

    Method 3:

    Use the Bootrec.exe tool in the recovery Windows (WINRE) environment to troubleshoot and repair the Boot Configuration data.

     

    For instructions, see the following article:

    How to use the Bootrec.exe tool in the Windows recovery environment to troubleshoot and repair startup issues in Windows

  • Error: "the file is maybe damaged. the file header does not match the checksum calculated"during the installation of Windows 7/8

    * Original title: Question of re-Installation of operating system.

    I got the message during win 7 / Win 8 installation.

    "the file is maybe damaged. the file header does not match the checksum calculated.

    My config - processor Intel C2D, 2 GB of RAM, Intel motherboard, 500 GB HARD drive

    I have also replace Win 7 DVD and DVD player also replaced.

    I also reinstall my single RAM chip so many times. but the problem still exists.

    During Win XP SP 3 installation, no such message type not displayed. I can install it easily.

    Pls help me Sir, I would like to Win7 in my computer again.

    Hello

    Thanks for posting your query on the Microsoft Community.

    According to the description of the problem, it seems that you are facing the question with the reinstallation of Windows 7 on your computer.

    Because the computer does not recognize the CD - R into the DVD player probably boot order is set to hard drive first. I suggest to change the DVD boot priority in the BIOS and then try to perform the Startup Repair.

    Note: BIOS change / semiconductor (CMOS) to complementary metal oxide settings can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the configuration of the BIOS/CMOS settings can be solved. Changes to settings are at your own risk.

    In order to make changes in the BIOS, I suggest you to contact the manufacturer of the computer.

    Method 1:

    Unplug all external devices connected to the computer with the exception of the keyboard and mouse and check if the problem persists.

    M odes 2:

    If the problem persists try the Startup Repair. It is one of the recovery tools in the System Recovery Options menu. This set of tools is on your computer's hard disk and on the Windows installation disc. To learn more about Startup Repair , you can refer to the below mentioned article:

    http://Windows.Microsoft.com/en-us/Windows7/Startup-Repair-frequently-asked-questions

    Method 3:

    In addition, if startup repair is not enough, you can perform a system restore, check if it helps you to solve the problem. For reference, you can see the article mentioned below.

    What are the system recovery options in Windows 7?

    http://Windows.Microsoft.com/en-us/Windows7/what-are-the-system-recovery-options-in-Windows-7

    Note: when you perform the system restore to restore the computer to a previous state, programs and updates that you have installed are removed.

    Hope it would help. If problem persists always post back with the current state of your computer and the result of the proposed suggestion, we will be happy to help you.

    Kind regards

  • Cannot play bigfish games - your video card setting does not match the minimum system requirements: at least 2048 x 2048 DXT1 & dxt Texture size

    Original title: I have a computer toshiba M30 laptop and I'm on windows7. problem is that I can't play at bigfish games?

    HI the error I get is: your video card setting does not match the system minimum requirements:

    The size of the texture at least 2048 x 2048 DXT1 & dxt5 Texture formats support of the target.

    Thank you Joe

    Hey Joe,

    Thanks for the post.

    We need a few more details to help games play question, please answer the following questions.

    1. is this problem limited to Bigfish?

    2 do you have any problem with other games?

    You will need to install a graphics controller (video card) which can meet these minimum requirements.

    You can go through the following link; who helps update the graphics card, this could solve the problem.

    Update a hardware driver that is not working properly.

    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly

    You can also download and install the latest display driver by downloading from the website of the manufacturer of the computer.

    http://support.Toshiba.com/drivers

    I hope this helps.

  • Could not open install Assistant.  I get this error message: cannot install the application due to a certificate problem.  The certificate does not match the certificate of the installed application, does not support upgrades of the application or is not

    How do I download a trial of 12 items, Adobe?

    I followed the instructions to download assistant... but get this message: the application cannot be installed because of a certificate problem.  The certificate does not match the certificate of the installed application, does not support upgrades of the application or is not valid.  Please contact the author of the application.

    Hi alposer,

    Please delete the copy of Adobe Download Assistant you have installed, and then reinstall Adobe Download Assistant.

    Kind regards

    Rave

  • Question SCCM - "LANG_LIST a certain locale that does not match the regional settings of the serial number.

    I have a problem with the error 'LANG_LIST a certain locale that does not match the regional settings of the serial number' recurring.

    I'm trying to install Acrobat XI Std silently by SCCM.

    I used the Adobe Customization Wizard to create an STD which include the serial number of the volume that we have with our license purchases. Note that I am in Australia. I use the command line in SCCM for installation as "msiexec /i"AcroStan.msi"TRANSFORMS = /'D & B_AcroStd.mst' SB ' fails silently. If I install on a local computer using an admin command prompt and replacing /qb in the end, I get the above error.

    I have a few things to try to solve, after searching the forums adobe and other forums for the solution. The mst is only trying to install U.S. English & I even went up to use the Editor directly in the Customization Wizard and change some values in the property table for this problem. In the property table, I can confirm that LANG_SEL_DEFAULT = FRA, REGIONAL_LIST = FRA, LANG_LIST = en_US, ProductLanguage = 1033

    Is there a way to check the language specified for the ym serial number?

    Linda

    I contacted customer service and a live chat session. It turns out that the problem is to use a key volume license, you must download the installer from portal licenses on the adobe Web site. Once I downloaded from there, extract the msi file and used the same transformation, the installation worked.

    In other words, other downloads probably won't work for the silent installation of volume but works by Manuel installs. You will need to download it from https://licensing2.adobe.com/

  • Error "ORA-01861: literal does not match the format ORA-06512 string.

    Hello
    I am getting error on EBS page when I click on the button

    I wrote the code in CO to insert values in table when the button is clicked

    but when I click the button it gives an error
    ORA-01861: literal does not match the format ORA-06512 string
    I think that his error of date format

    but I tried many styles of formatting but not yet able to fix it

    KAO

    You are right, that this is due to the error in the data type. Share the code that you have coded for button click here.

    Kind regards
    GYAN

  • SQLERRM: ORA-01861: literal does not match the format string

    Here's what I want to do.

    Select to_char (to_date (estimatedshipdate, 'DD-MM-AA'), 'YDDD')
    of cram_stg
    where estimatedshipdate = 14 January 11 ';

    TO_CHAR (TO_DATE(ESTIMATEDSHIPDATE,'MM-DD-YY'), 'YDDD')
    -----------------------------------------------------
    1014


    1 selected lines


    I want to convert the shipping date is DD-MM-AA YDDD, but in my program:

    v_est_ship_date varchar2 (10);

    ESTIMATEDSHIPDATE VARCHAR2 (10) in a TABLE

    v_est_ship_date: = to_char (to_date (CRAM_PTCLICK_REC.estimatedshipdate, 'DD-MM-AA'), 'YDDD');

    I get this problem

    SQLERRM: ORA-01861: literal does not match the format string


    I want to assign the result of the function to_char to v_ext_ship_date. What I am doing wrong? Thank you.

    Hello

    It's just one of the reasons for which the storage of dates as VARCHAR2 columns is a bad idea.
    Apparently, some (maybe just one) this column values is not the right format. To find malformed (the kind that cause the ORA-01861) values, you can do something like this:

    SELECT  primary_key
    ,     estimatedshippingdate
    FROM     cram_stg
    WHERE     TRANSLATE ( estimatedshippingdate
                , '012345678'
                , '999999999'
                ) != '99-99-99'
    ;
    

    It intercepts any mistakes as the 32nd day of the month (let alone ' 02-29-11'). See the next thread of a way to do this:
    Re: How to select valid dates only

  • Harger W530 AC does not match the Jack of the portable power

    I just got my new W530, but I can't load it. Looks like 170W AC/DC charger is just, but somehow the physical connector does not match the power supply of the portable computer. Charger AC/DC 170W is not circular but with two small rectangles, however W530 is completely circular. Someone had the same problem? I try to return W530 that looks like it was made of bad sense but takes to always come back. any recommendations? Technical service told me since it is within 21 days after the delivery, I better return.

    Technical service is great

    But after the sale to get back really really bad!

    It's quad-core, it requires 170W "brick" AC load, which has one taken not circular.

  • the channel guide does not match the actual string

    the channel guide does not match the actual string that is to say PBS should be Channel 13 but is listed as channel 2 on the guide

    Hello James,.

    Welcome to the community of Sony.

    What is the model # of the TV?

    You can locate the model # of the TV from this link.

    You can try the steps mentioned on the underside of the base article of knowledge:

    http://www.KB.Sony.com/selfservice/documentLink.do?externalId=C408137

    Please mark it as "acceptable Solution" If you find this information useful.

    Kind regards

    Colby

  • Certificate error "the name on the security certificate is invalid or does not match the site name.

    When my computer after starting the antivirus and Skype loaded,.

    I recently started to get warning of security box appear. The attachments show you what I see.

    I am told "the name on the security certificate is invalid or does not match the name of the site"

    Whether I click Yes to "do you want to proceed", nothing happens.

    How to make this security alert disappear from the start-up procedure?

    Thanks for your advice

    Marty783

    Thank you PML

    Problem is now solved.
    Was a corrupted version of IE6, which, when updated to IE8, fixed the problem.

  • service pack 3 error loading 'a components file does not match the verification information present in the component manifest ".

    service pack 3 error loading 'a components file does not match the verification information present in the component manifest ".

    I have SP2 with all updates, I have this error message after the failed attempt to load service pack 3.

    Hi Carl_Focus_Phone,

    ·         Is confined with Update Service Pack 3?

    ·         Did you do changes on the computer before the show?

    You can follow the steps in the article in the Microsoft Knowledge Base and check if that helps.

     

    How to troubleshoot an installation fails on Windows XP Service Pack 3

    http://support.Microsoft.com/kb/950718

    You can also see the following articles for more information:

    Steps to take before you install Windows XP Service Pack 3

    http://support.Microsoft.com/kb/950717

     

    Learn how to install Windows XP Service Pack 3 (SP3)

    http://Windows.Microsoft.com/en-us/Windows/help/learn-how-to-install-Windows-XP-Service-Pack-3-SP3

    Let us know if that helps.

  • Possible error with module GWT.xml file. The value of time compilation agent user (ie6) does not match the value of user.agent (ie8) run time

    Hi there... How can I sort this problem as this message looks back constantly on google Account... ERROR POSSIBLE WITH GWT. The value of time compilation agent MODULE XML FILE user (ie6) does not match the value of user.agent (ie8) run time

    Hello nEve Adam,.

    Thanks for the return of the response.  Below, I've added some links Google support on this issue.  I hope this helps.

    ERROR: Problem Possible with your *. GWT.XML file module. The value of compile time user.agent (opera) does not match

    http://www.Google.com/support/forum/p/blogger/thread?TID=2d6d9bd1326a07c4&hl=en

    In addition,

    Message from Web page

    http://social.technet.Microsoft.com/forums/en-us/ieitprocurrentver/thread/53194559-306a-4ffc-a614-4bac817f178d

Maybe you are looking for