table or view does not exist error when you try to generate tables of database online.

Hello

I use Jdeveloper 12 c and is trying to generate tables of a database in offline mode, I created, for a connection of database online. The error message that appears is:

java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist.

More information:

The database I use is Oracle11g Database Release 2. And I get a warning saying that the 12 c functionality will be lost when generating an 11 g database.

In addition, the problem occurs only when I have foreign key constraints in my table. All the other tables that have no foreign key constraints generates very well.

Any ideas why this happens?

Thank you!

Instead of directly generating the DB, generate a sql script. Then, you see the generated statement and can run the script using a db sql worksheet.

If you get the error, you can view the script here.

Timo

Tags: Java

Similar Questions

  • ORA-00942: table or view does not exist error

    We use the database to Oracle 10 g on Linux platform.

    When executing the following code, I get the following error:
    DECLARE
       v_result   NUMBER := NULL;
    BEGIN
       SELECT 1
         INTO v_result
         FROM ALL_TABLES
        WHERE TABLE_NAME = 'ERROR_AUDIT' AND OWNER = 'TEST_OWNER';
    
        DELETE FROM error_audit;
        COMMIT;
    Exception when no_data_found then 
          EXECUTE IMMEDIATE ('CREATE TABLE error_audit
                              (
                                 SID NUMBER NOT NULL,
                                 ID NUMBER NOT NULL,
                                 ora_number VARCHAR2(30 CHAR),
                                 description VARCHAR2(1000 CHAR),
                                 status VARCHAR2(1 CHAR),
                                 created_by_user VARCHAR2(30 CHAR),
                                 created_on_date DATE,
                                 modified_by_user VARCHAR2(30 CHAR),
                                 modified_on_date DATE,
                                 remarks VARCHAR2(2000 CHAR)
                              )'
                            );
    END;
    /
    Error:
        DELETE FROM error_audit;
                    *
    ERROR at line 9:
    ORA-06550: line 9, column 17:
    PL/SQL: ORA-00942: table or view does not exist
    ORA-06550: line 9, column 5:
    PL/SQL: SQL Statement ignored
    But if I comment out the Delete statement, and the code works correctly.
    --DELETE FROM error_audit;
    I don't understand the reason for this error. Kindly help.

    Your code will be get compiled before running...

    You can try the code below... But what is your real need?

    DECLARE
       v_result   NUMBER := NULL;
    BEGIN
       SELECT 1
         INTO v_result
         FROM ALL_TABLES
        WHERE TABLE_NAME = 'ERROR_AUDIT' AND OWNER = 'TEST_OWNER';
    
         EXECUTE IMMEDIATE 'DELETE FROM error_audit';
        COMMIT;
    Exception when no_data_found then
          EXECUTE IMMEDIATE ('CREATE TABLE error_audit
                              (
                                 SID NUMBER NOT NULL,
                                 ID NUMBER NOT NULL,
                                 ora_number VARCHAR2(30 CHAR),
                                 description VARCHAR2(1000 CHAR),
                                 status VARCHAR2(1 CHAR),
                                 created_by_user VARCHAR2(30 CHAR),
                                 created_on_date DATE,
                                 modified_by_user VARCHAR2(30 CHAR),
                                 modified_on_date DATE,
                                 remarks VARCHAR2(2000 CHAR)
                              )'
                            );
    END;
    / 
    

    Published by: JAC on Sep 4, 2012 11:39

  • Taskmgr.exe does not work. error when you run gpedit.msc: "one or more activex controls could not be displayed either...". "- old deleted restore points.

    Dear all, Hello, hope you are doing well.


    My thinkpad t42 machine with xp sp3 OEM has a problem, unfortunately.

    Task Manager is not running.  A small timer appears when ctrl + alt + delete is pressed. nothing happens.  Taskmgr.exe fact exists in the system folder.  This has been verified.  The same thing happens when you try to start the program via a double-click; nothing.

    When checking to see that the Task Manager was not blocked under the administrator account, there was an error in the gpedit.msc program - namely:

    internet Explorer: "(one or more ActiveX controls could not be displayed because either (1) your current internet security settings prohibit running ActiveX controls on this page, or 2) you blocked an editor of one of the controls." As a result this page may not display correctly. "It is a double popup as well.  When you press ok, the same error message box appears again.  Reset all settings of security of IE8.  Made no difference.

    the same error message is produced with the software lenovo "thinkpad update" - once again in the framework-



    Someone (not me) downloaded a program called "personal internet security ' on the machine and also a"registry fix"program that has an icon of similar colors to the windows logo icon, but the colors were reversed (the name of it escapes me) - these programs pourrait the root of the problems and why the machine does well.

    To solve; First, Avast has been run on boot to the top, and about 8 programs have been removed.  (Some of these programs may have been dependent on or related to another...)

    Then, microsoft's free antivirus has been downloaded - but - it wouldn't install, giving a general error.  The same error was given, for Microsoft security program, when Avast was uninstalled.

    A Microsoft security scan is run from the Web site then, and he says that the computer is virus free, even if it has changed some previous registry changes.

    To fix the Task Manager, difficulty in registration of Microsoft was found to be proposed here -http://support.microsoft.com/kb/907343 - but then there was a '0' already in the field.

    Having become frustrated with all hacking around records etc, it was decided to go to an older Restore Point.  The last of them visible was in December, and it would not actually go to these old restore points.  The error said: Please try a different restore point.  Having received updates xp at the same time to that, these restore Points have unfortunately disappeared and no restore points exist where the system is stable.

    If someone like me that the machine still has something?

    If someone could suggest a solution for me that would be great and would really make my life less busy in trying to solve this problem - my area of expertese is certainly not it if someone could help me it would be very much appreciated...

    Sincerely,

    D

    The process of deletion for Personal Internet Security 2011 is well documented.

    It is not some ' try it or try things "and see if it works the kind of process.

    You won't fix with Avast, and a large number of malware just laugh at all Microsoft malware detection and removal products.  There is little to fear Microsoft analysis tools.  I can get my system on purpose infected two dozen ways and Microsoft will tell me that there is no problem.

    Removal and detection of malicious software is not Microsoft expertise area.  There are businesses where malware detection and removal, it is their area of expertise, and that's all they do throughout the day, so you better stick with them for the easy stuff.

    You will not fix your system and try things or any amount of piracy.  It will fix you knowing what you're doing and using methods that other people have already understood by the practice and the real real world situations.

    If you want to remove it and do not have to reinstall your XP, you should consider going to a forum where malware removal experts hang out.  You know... people who really know how to actually remove the stuff and did it successfully.

    This means that people have got their systems infected by the malware on goal several times and practical detached until they understand the malware and how it works well enough to write a removal procedure.  They did try them all things for you.

    You can mess around with other things to try that perhaps sometimes could work, or you can follow the procedure who already figured that will work all the time.

    If you faithfully follow the removal instructions and you still have questions, there is link at the bottom of the instructions for further help.  Although everything that has already happened or attempted to apply may have complicated your situation beyond the reasonable expectations of repair.

    Here is the link with the instructions to get started:

    http://www.bleepingcomputer.com/virus-removal/remove-personal-Internet-Security-2011

    It's my contention that, once your system gets afflicted by malware of this magnitude, you should not trust any of current Restore Point.  When finished remove malicious software, all your Restore Points are not trustworthy and you must knock out all and start over with new Restore Points.

    If you want to get your task manager will, navigate to c:\windows\system32 and make a taskmgr.exe and call the copy something like jose.exe.

    Then you will be able to launch jose.exe (double click), and the Task Manager opens.  The malware will not allow taskmgr.exe to be a running process, because he knows that's what you use to try to remove it.  So far, malware knows no jose.exe (this may change).

    You will probably like Process Explorer better when even when you get the hang of it, but you can get your task manager go.

    Do, or do not. There is no test.

    I decided to implement the points for a new puppy instead of a pony!

  • sys.dba_constraints question, table or view does not exist error

    Hi all

    I am a 'rahul' on a user database "MR12DEV" with a lot of privileges, one of which is 'SELECT ANY TABLE' and I'm trying to return a table IE 'sys.dba_constraints', the question is when I am trying to compile my code, oracle is back throwing an error indicating that the table or view exists However, I'm using Toad and when I select "sys.dba_constraints" and do a F4 on it, I'm able to get a pop up that contains the column names and the pop-up displays sys.dba_constraints and when I click on the data tab, I am able to see its data, could any1 further suggests what could be the reason why I'm not able to see the table of sys.dba_constraints Please help.

    Thank you
    Rahul

    Hello Rahul,

    When you refer to a table or view in a procedure, function or a package, you must have a direct grant to the user and not by a role.

    In your case:

    GRANT SELECT ON sys.dba_constraints TO rahul;
    

    should work.

    Kind regards.
    Al

    Published by: Alberto Faenza November 14, 2012 10:16

  • "IR hardware not detected" error when you try to configure the TV signal in Windows XP Media Center 2005 with Service Pack 3

    I have an HP dv6000t. He came with Yuan EC680 ExpressCard analog TV
    Tuner. When I upgraded to Vista, the IR receiver seemed to be detected,
    but after downgrading to XP MCE 2005. XP MCE 2005 was the ORIGINAL OS
    on the system (bought in November 2006). I've updated the drivers for the TWO
    the tuner card AND who do not HAVE the nVidia GeForce Go 7400 video card
    address this problem. Any suggestion on how to solve this problem would be greatly
    appreciated. What HP had try me, including Sofpaq fixes are not
    address my problem. It does not give the error "IR hardware not detected".
    overnight, it correctly detects the signal from my digital cable box.
    The main problem could partly be the we FINALLY converted to digital television
    signal and I always try to use the analog tuner ExpressCard? Once again
    any help is greatly appreciated.

    I found this fix on another site.  We're supposed to plug the IR cable to the TV box at the back of the first port on the remote sensor Windows Media (the ' antenna' of the Windows Media Center remote control) and then to put the tip of the probe of the IR cable to the cable TV box distance near the sensor on the cable box (it can be seen by a light in the glass) and then complete the configuration of the channels in Windows Media.  The problem is, it does not work unless there is also something connected to Port 2 of the medial distance sensor Windows as well (a head set will do).  With the sensor box IR cable company cable plugged into the first port in the back of the remote Windows Media sensor and headphones plugged into Port 2 of the remote sensor, Windows Media, and the end of the probe of the sensor cable box IR cable near the cable box remote sensor box, Window Media channel setup "found" the cable of the IR sensor and allow me to complete the installation.  I could not bind the Windows Media remote sensor with the remote for the cable box, but said that I managed.  I use the remote cable box to change channels and have box IR cable connected on the decoder cable TV and put the cable box IR receiver cable on top of my desk.

  • The name already exists error when you try to add the host to the cluster

    I created a cluster that currently has no inside host. When I try to add a host I get an error that says: "the name"ip address of the host, I add"already exists. I don't understand why I get this error if there is no showing on the cluster host. See below for the screenshot.

    Your screen shot shows hosts is already part of the inventory - if the host is already part of the theinventory have not need to add it again - simply drag and drop it into the cluster

  • "Gateway router not found" error when you try to connect the TiVO DVR with DLink router.

    Original title: gateway router not found

    try to connect the tivo series 2 to the internet with dlink router that he used to work with previous tivo but not with tivo now, it says gateway router not found
    However, my laptop works fine with the router, I tried tivo support nothing helps, too, if I use the phone line works of tivo, but do not store a lot and is running out of room so it will not work fo rme, helllpppppppp thanks

    Hello

    Where exactly you get this error message?

    See the troubleshooting suggested in "Network error message N07 or C107" steps from this link.

    If you try to connect the tivo series 2 to the internet with dlink router then check out the link below:

    http://support.TiVo.com/app/answers/detail/A_ID/400

    Please contact the manufacturer.

  • Blank DVDs does not get recognized when you try to burn DVDs.

    Original title: CD/DVD/player burner needs help

    My laptop cd/dvd drive / burner, he is no acknolwedge a blank dvd, but it will be a blank cd, it will also play both, im trying to burn a dvd, but it is not acknowling that one is in the burner, it was working fine yesterday... Please help

    Hi PatriciaKnight,

    ·         You get the error message?

    ·         What application are you using to burn on DVD?

    ·         Remember to make changes to the computer, after which the issue started?

    I suggest you try the following Microsoft Fixit and/or the steps from the following links in the article and see if it helps:

    Your CD or DVD drive cannot read or write media

    Your CD or DVD drive is missing or is not recognized by Windows or other programs

    I hope this helps.

  • I get an "information not found" error when you try to install Photoshop CC

    FATAL: Payload "Camera profiles Installer_8.6_AdobeCameraRawProfile8.0All 9.0.0.6 {5CD475F2-DDA0-4173-9FF5-206331209813} ' not found in Media_db information

    When I try to install it again, it starts at 42% installed, then past at 43% and then stops immediately with a message «Impossible Installation - learn more»  Follows the message above.

    Thanks... that did not work, but it lead me to what worked: https://forums.adobe.com/message/4834213#4834213#4834213

  • I get a page not found error when you try to access the files of creative cloud with a browser?

    The page will load and then get a page not found error. I can still access files using the office program and saying that they have synchronized. I tried to erase the cache, cookies and others, I've used other computers, browsers, and different browsers on different computers, clear the caches and data on establishments. I tried to change my password and log out, then log.

    Nothing works, my guess is that it has a file corrupted in my archives or it's a server problem. (an admin may permanently delete all my files?, nothing to important there)

    Anything to help.

    Thank you

    Marc Kubischta responded to you here http://forums.adobe.com/message/6338690#6338690.

    It service is not down for everyone.

  • 672PCI 6723 error when you try to generate a signal with the sample of 20 kHz clock

    I have a piece of code that worked successfully on the PCI-6224 map, but when I tried to implement the same code on the card PCI-6723 I ran into problems.

    Here is the code I use:

    ManchConversion6723();//produces SendIt array of series of 1s/0s
    
    // DAQmx Configure Clock
    DAQmxErrChk (DAQmxCreateTask("",&taskHandleFRQ));
    DAQmxErrChk (DAQmxCreateCOPulseChanFreq(taskHandleFRQ,"Dev3/ctr0","",DAQmx_Val_Hz,DAQmx_Val_Low,0,20000,0.5));
    DAQmxErrChk (DAQmxCfgImplicitTiming(taskHandleFRQ,DAQmx_Val_ContSamps,72));
    
    // DAQmx Configure Digital Output
    DAQmxErrChk (DAQmxCreateTask("",&taskHandle));MessageBox("D");//vj
    DAQmxErrChk (DAQmxCreateDOChan(taskHandle,"Dev3/port0/line0","",DAQmx_Val_ChanPerLine));MessageBox("E");//vj
    DAQmxErrChk (DAQmxCfgSampClkTiming(taskHandle,"/Dev3/Ctr0InternalOutput",20000,DAQmx_Val_Rising,DAQmx_Val_ContSamps,72));
    
    // DAQmx Write Code
    DAQmxErrChk (DAQmxWriteDigitalLines(taskHandle,72,0,10.0,DAQmx_Val_GroupByChannel,SendIt6723,NULL,NULL));
    
    // DAQmx Start Code
    DAQmxErrChk (DAQmxStartTask(taskHandleFRQ));
    DAQmxErrChk (DAQmxStartTask(taskHandle));
    

    When I get on the DAQmxCfgSampClkTiming line, I get an error stating:

    DAQmx error: measurements: request the value is not supported for this property value.

    PropertyAQmx_SampTimingType

    You asked: DAQmx_Val_SampClk

    You can select: DAQmx_Val_OnDemand

    Task name: _unnamedTask<0>

    State code:-200077

    I think that the problem comes from the variable of the source of the function. I'm just tring to send the data to the frequency of 20 kHz.

    Any help would be greatly appreciated. Thanks in advance!

    Too bad. The impression that the PCI-6723 does not contain correlated DIO channels. In other words, examples of clock cannot be linked to the DIO channels allowing the generation of digital waveforms. According to the AO Series user manual, this applies to the NI 6731/6733 only. The mistake was trying to tell me that only a single issue or receive channel has been authorized.

    For this reason, I'll stick right with my card PCI-6224.

    Sorry for the confusion.

  • Extended analytics. Error when you try to connect to the database

    Hi all
    We created the UDL file to the star schema database, and configure the DSN on EPM System Configurator (11.1.1.3)
    UDL file is connected correctly, but when we try to 'Create star schema' we get an "Error occurred whil connection to the database" error.

    Any ideas? are we missing something?

    Concerning

    Have you given the grant of rights 'connect' to the database or schema?

    Varun

  • HP envy 5532: message key not valid error when you try to download the software

    I can't download my desire 5532 keep getting error message (key not valid for use in specified state).

    This problem is related to Microsoft Update KB2918614

    The solution is to remove this update.

    How to remove an update for Windows Vista

    If the fix works, I recommend that you 'hide' it so that it not be reinstalled automatically.

    Instructions below:

    If you don't want Windows to install an update, you need to hide.

    1. Open Windows Update by clicking on the button start . In the search box, type Update, and then in the list of results, click Windows Update.

    2. In the left pane, click Find updates.

    3. When Windows finds updates for your computer, do one of the following:

      • Click the link that tells you important updates are available if you have some updates to hide.

      • Click the link that tells you optional updates are available if you have optional updates to hide.

    4. Do right click the update you want to install, and then click Hide update. The next time you check the updates, the update will not be automatically selected or installed. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

  • Unable to save file... "file name" as a file not found error when you try to save in Photoshop CC

    I am trying to create a new action in photoshop cc who takes a picture and replace the color and then saves it in a new file.  Once completed the action will convert the image in 21 files each a different color.  Ideally, I would like to save it as a jpg for each file and then the psd, but I got the error "file... cannot be saved to the file is not found" on the third file in.  I did some research and found that changing the psd to jpg could cause the problem, so I decided to create two different actions to achieve this.  In creating the action steps to create just the multi color of psd files, I got about 6 files in and got the same error.  After doing research a little more I found out that it might be my naming convention, so I've simplified that out of dashes, spaces, etc. and only could get 12 files in the next time, before I got the error.  So, I decided that I would split the colors in two series of different actions, but now I have this error each time even if just trying to apply to a single file and record do not.  Any idea on what's happened and how I can fix this problem?

    One recourse would be difficult to create for a bit as it for actions cannot use logic. It would be difficult for an action in the name of the output file.  However, an Action could use the name of the document as save 21 documents with the same document name in 21 different localities.

    You can also use a Script like image processor or one you can download Image Processor Pro as well as certain actions you create Doe you want. The script can do the thing in naming of file for you.

    You can also create a document with 21 colored layers and save out as a PSD file and the next action step could serves the layer export file script The Action may appoint the color channels as it creates, I'm not sure what the file names will be him are exported. I guess something like Doc Name the name of the layer. I have never use the script, I know right there for use.

    Edit that I just looked at the script it looks like you can not it batch because it has a dialog box and is not a Photoshop plug-in if recorded in batch Action script would be displayed the scripts dialog box and waiting for your interaction.

  • Server did not respond error when you try to install Service Pack 1 for Windows XP.

    I had to do a restore system with xp home edition. Trying to update from sp1 which has been downloaded to the thumb drive and sent to my office at the top of the page. starts to load, and then tells me that the server did not respond. I am connected

    You do not start with a service pack earlier and go to the top. You only download the latest service pack. The latest service pack for Windows XP Home Edition is Service Pack 3.

    Go to Windows Update and see if you can find it there.

    If this isn't the case, then you can manually download it here:

    http://www.Microsoft.com/download/en/details.aspx?ID=25129

    It is a CD image file that requires you to burn to a CD or use a virtual CD/DVD software like Virtual CloneDrive. This allows you to open the ISO file as if it was a real CD inserted into your DVD drive. All you have to do is double-click the ISO file, once you have installed this program. Run the configuration file.

    http://www.SlySoft.com/en/Virtual-CloneDrive.html

Maybe you are looking for

  • Duplicate the artist that don't WILL NOT disappear please help!

    Everything is identical on both sides, news-wise, I went through all the fields all fields sort everything. I even tried to change the name of the artist to something different, then change back, nothing has changed. The only difference that I could

  • HP Software Framework 4 and 5 error event

    Hello I keep getting this error on my Event Viewer each time in the computer journal. Errors: Event 5, CaslWmi 01/12/2011 17:07:15.402 | 00000404 | Error | [CaslWmi] CommandFolio::A {hpCasl.enReturnCode(int&)} | 0xe_BIOS_INVALID_COMMAND_TYPE error ca

  • I forgot my BIOS password?

    Hello world I have a HP Folio 13-1051nr I have not rember my BIOS password. It is said DISABLED SYSTEM 85253101 Any suggestions on how can I fix?

  • Alarm does not work

    I have an alarm to wake me up to 650 each day of week (repeat). Now, the alarm leave more. To run the next morning, I have to disable the alarm on. That solves the problem for the next morning, but only that morning. In other words, I have to manuall

  • The numbers will not leave

    I'm doing a normal shutdown and numbers will not leave.  I made sure that I have saved/closed everything I was working on. I closed everything on my iMac, but it does not always close.  It doesn't let me log user out or stop, telling me to stop the n