Can't import DDL file that has alter table rename constraint

Hi:
Version 3.1.0.691 on Windows 7 Enterprise 64-bit SP1
I'm trying to import a DDL file with syntax similar to what's below. The <name> notes that I've replaced the actual names for obfuscation purposes.; the real names are in the script.
ALTER TABLE <name>
RENAME CONSTRAINT SYS_C0041150
TO <name2>_CK;
ALTER TABLE <name>
RENAME CONSTRAINT AVCON_1281559518_ACTIV_022
TO <name2>_CK;
I get the following error:
Oracle SQL Developer Data Modeler 3.1.0.691
Oracle SQL Developer Data Modeler Import Log
Date and Time: 2012-01-13 16:29:05 PST
Design Name: <name>
RDBMS : Oracle Database 11g
          All Statements:           819
          Imported Statements:      0
          Failed Statements:           0
          Not Recognized Statements:      819
<<<<< Not Recognized >>>>>
ALTER TABLE <name>
RENAME CONSTRAINT SYS_<name>
TO <name2>_CK
ALTER TABLE <name>
RENAME CONSTRAINT AVCON_1281559518_QVI_A_000
TO <name2>_CK
Thanks for any help you can provide.
Doc

Hi:
The file was indeed comprised of just alter statements. As a test, I trimmed the file down to just one alter statement:
ALTER TABLE <name> RENAME CONSTRAINT SYS_C0041413 TO <name2>_CK;
The output file contained exactly the following, where the <<BEGIN OF FILE>> and <<END OF FILE>> were simply added here for clarity. There was no section called
<<<<< ERRORS >>>>> and the ddl file contained no create table statements.
<<BEGIN OF FILE>>
Oracle SQL Developer Data Modeler 3.1.0.691
Oracle SQL Developer Data Modeler Import Log
Date and Time: 2012-01-16 10:16:42 PST
Design Name: <name>
RDBMS : Oracle Database 11g
          All Statements:           1
          Imported Statements:      0
          Failed Statements:           0
          Not Recognized Statements:      1
<<<<< Not Recognized >>>>>
ALTER TABLE <name> RENAME CONSTRAINT SYS_C0041413 TO <name2>_CK
<<END OF FILE>>
Other info.
When I do an model import, none of the existing check constraint names get captured. Also, if I add names afterwards to two separates models via DM and then compare them. The output DDL shows a drop of the target constraint referencing its name, but the recreation of the not null constraint doesnt reference the source constraint name set for it manually in DM. Here's the example I did and the output ddl.
ALTER TABLE <name>
DROP CONSTRAINT SYS_C0041413
ALTER TABLE <name>
MODIFY ( <column_name> NOT NULL )
That last line should have read as follows due to the constraint_name I added for it in DM.
ALTER TABLE <name>
MODIFY (<column_name> CONSTRAINT <name2>_CK NOT NULL);
In the example directly above, <name2>_CK is the name I explicity set via DM and would have expected the compare to have used to recreated the constraint since it referenced the target constraint name when it constructed the drop constraint syntax.
I believe at least one bug is involved here, most likely two.
The first bug is that model imports are not capturing not null check constraint names.
The second bug is that the source constraint name is not being used when generating the ddl necessary to change the not null constraint name in the target model.
All of this is assuming that I haven't just goofed and forgotten to check a box somewhere telling it to do what I've been talking about here. :-)
Doc

Similar Messages

  • I by accident deleted an important Note that had all my passwords on my Notes Ap on my Iphone 5.  I can not find a file that has deleted Notes files so I can recover it.  Any idea how I can get it back?  Thanks,Mike

    I by accident deleted an important Note that had all my passwords on my Notes Ap on my Iphone 5.  I can not find a file that has deleted Notes files so I can recover it.  Any idea how I can get it back?  Thanks,Mike

    Do you have a backup of your iPhone?   If so, do a restore and whatever Notes were backed up should reappear.
    You will lose any changes made since that backup though.

  • How can I take a file that has individual letters in it and save each one as a seperate file?

    I have a file that has 55 letters to individuals in it and I want to save each page as a seperate file by the name of the person.  Can I do this?

    The built-in Extract command will do it, but if you want each letter named using a specific name you would need a script.

  • I can not open a file that has been converted from a PDF to a .doc.  I have a one year subscription to PDF Pack.

    I click on the tool to convert my pdf file to a .doc file.  When the program writes it is finished and I can down load the document, I do so.  Even though the converted file is listed as a .doc or docx, neither Microsoft Word nor OpenOffice can open it.  What is going wrong?
    I also click to be able to edit my pdf document, but no commands to edit it come up.  Am I doing something wrong?

    Hi ktewksbu,
    I don't think you're doing anything wrong. What is the file size of the converted document (and the filename extension)? Do you have the same issue with any file that you try to convert? Or is the problem specific to one file?
    As for editing a PDF file, that requires Acrobat. (Adobe Reader lets you comment on a PDF, but  not alter its content).
    Best,
    Sara

  • How can I import mp3 files that I received in an email to iTunes?

    I received an email (gmail on exchange server, if that is material) containing an .mp3 file that I would like to "import" into iTunes.  I have downloaded it, but I don't know where downloads "go" on the iPhone, so I can only play it directly from the email.  Moreover, it plays in quicktime, not iTunes, so I don't even have the option to save it into a library while/after it plays.  I would like to move this file into iTunes -- how can I do this?
    All help appreciated.
    Thanks.

    The only thing you can save to your phone, using Safari, is a pic, nothing else.

  • How can I import data using .dmp into the table which has more columns then in import

    I am building the history for warehouse purpose on Oracle 8i database and want to use the old import (.dmp) files (from oracle 7.3.4) to import data but the underlying table is having few more columns which are not in my old DMP file .. how can I import the data into these altered tables while using the same *.imp files .
    Any solutions ?

    That is the most obvious solution .. but think of the case when my operational database which is the source of my data is undergoing changes every quarter i.e after every 3 months there are some changes on underlying table structures which means structures of my import files will always be different after evry quarter .. you can imagine the number of temporary import structures I need to create .. can't there be a solution wherein I can write an SQL over the import file to read the data in required format ..

  • Premiere CS6 won't import mov files, the message: "file has no video or audio streams" shows up instead. How can I import the files?

    Premiere CS6 won't import mov files, the message: "file has no video or audio streams" shows up instead. How can I import the files?

    MOV is a wrapper that can contain many different codecs. The message you get is indicative of a distribution codec inside the MOV wrapper. You may need to convert the material to an editable codec before importing.

  • I shot video on a Panasonic P2 and I'm trying to import the MXF files to Final Cut Pro but when I try to import, the only thing that imports is a blurry image of each clip. There's no audio and no video...how can I import MXF files into Final Cut Pro?

    I shot video on a Panasonic P2 and I'm trying to import the MXF files to Final Cut Pro but when I try to import, the only thing that imports is a blurry image of each clip. There's no audio and no video...how can I import MXF files into Final Cut Pro?

    at the end, you say "import preferences", which program are you describing?
    So im safer using footage that is remotely being pulled from iphoto...
    vs
    using footage that is imported into FCP from imovie?
    Is there anything i can do in fcp to make this footage more reliable or safer or more stable as i pull remotely from iphoto?
    All the footage, and all the libraries to all programs, or on a new pegasus 12tb raid 5 setup fyi.

  • I can't get gold of adobe - which is annoying me. I have a file that has been uploaded to my creative cloud that i did not upload or have i ever seen before. SO it seems adobe cannot guarantee security and are uncontactable - i think i may leave

    I can't get gold of adobe - which is annoying me. I have a file that has been uploaded to my creative cloud that i did not upload or have i ever seen before. SO it seems adobe cannot guarantee security and are uncontactable - i think i may leave

    Since this is an open forum, not Adobe support... you need Adobe staff to help
    Adobe contact information - http://helpx.adobe.com/contact.html
    -Select your product and what you need help with
    -Click on the blue box "Still need help? Contact us"

  • How to get PDF file that has been transformed into docx into my filing system so I can work on it???

    How can I get the PDF file that was transformed into a docx file into my filing system to be able to work on it and translate it as the customer requested?

    THanks for your reply.
    Well what happens is I bought the program. It gives you a button to click,
    you log in and then a box opens up asking you to select the file, I go into
    my filing system (in Windows explorer) select the file, and the program
    converts it into docx, my choice.  I can read it there and when I try to
    copy and paste it into my file where the PDF version is saved, it behaves
    like an "image", and I can't save it.... or it saves likes something you
    save on the internet, so you have to go into internet every time you want
    to see it.    I have also pressed any amount of buttons to see if it will
    give me the option to save it any other way, and have found nothing.  What
    I would need is a file in docx.format that I can edit.  People send me
    things in PDF and sometimes I can just copy it off the PDF file and save it
    in WOrd, then I can translate it for them. But sometimes the PDF file
    doesnt allow me to copy the text.  If it is in image form, I cannot work on
    it.  It means printing it, so I can copy type it into Word... and for that
    I certainly wouldnt need to buy a program.  Its just double the work and
    ends up that the job takes twice as long.!
    Sorry  if I am a bit dumb with informatics.  But I simply could not find
    any way whatever to  copy the PDF file that was transformed into Word, in a
    format that would enable me to edit it.
    Kindest regards,
    Margery
    2013/12/2 Test Screen Name <[email protected]>
        Re: How to get PDF file that has been transformed into docx into my
    filing system so I can work on it???
    created by Test Screen Name<http://forums.adobe.com/people/TestScreenName>in *Adobe
    ExportPDF* - View the full discussion<http://forums.adobe.com/message/5890871#5890871

  • Getting error message on import that says can't import jpeg files and won't import

    why can't I import from the camera that I always use with my iPhoto? On connecting the camera, error message says "can't import jpeg files."  None of my camera settings have changed.  Is it a problem of connectivity with old camera and new iPhoto '11?

    Not an old camera problem - most likely a memory card format problem - when was the last time you reformated yoru card?
    What camera do you have? Does image capture work?
    LN

  • How do you import a video file that has extension gp into i movie.  also rotating video

    How do you import a video file that has the extension gp into ivmovie?  Also how do you rotate a video . (the video was taken from a phone.)

    Hi, your video file needs to be converted to eg. a .mov or .mp4 file before iMovie will recognise. I use 4Media MP4 converter and it works excellent.
    For the rotating I do not have an answer, but if you would manege you would end up with a very narrow image either way.
    Good luck

  • How to create a .mdf SQL Server database from a Data-Tier Application file that has data?

    This is a noob question, though I do use SQL Server databases all the time with Entity Framework when I code in C# using Visual Studio 2013.  The development environment is found below at [A].  I am trying to make a clone of a SQL Server 2008 R2
    database (.mdf)  that exists online.  I can read, connect and work with this database in Visual Studio 2013, but I wish to make a local copy of the database, as an .MDF file.  Somewhere in my notes I have a way of creating a local copy from
    an online database when using Visual Studio but I forgot how (it seems, reviewing my notes, that it deals with ADO.NET which is deprecated in Visual Studio 2013 these days, or so it seems).  So I'm looking for another way.  What I did was create
    (or export) a "Data-Tier Application File" from the online SQL Server database, with data, and it seems to have worked in that this Data-Tier Application file exists on my hard drive and seems to have data in it ("SQL Server Replication Snapshot"
    is the format it seems).  It contains skeleton code to create a database, but when I tried to execute it with SQL Server 2014 Management Studio, I got a bunch of errors.
    So my question is:
    1) Can I somehow create a .MDF SQL Server Database from an Data-Tier Application file that has data?  What tool do I use?  I saw this link, http://social.technet.microsoft.com/wiki/contents/articles/2639.how-to-use-data-tier-application-import-and-export-with-a-windows-azure-sql-database.aspx 
    and it relates to Azure, but is there a tool for C#Visual Studio 2013, standalone?
    2) If there's an easy way to create a .mdf SQL Server Database file from an online file, within SQL Server Management Studio?  I don't think so, since it would require Administrator permissions on the online server, which I don't have. I have permission
    to read, update, delete the online database file, but strangely not to download it (the service I use has a tool for backup, but not for download).
    3) same question as 2), but for Visual Studio 2013?  I don't think so, since I notice none of the templates even mentions ADO.NET anymore, but instead they go with Entity Framework.  Using EF I can of course do anything I want with the online database
    (CRUD), but it remains online.  Maybe there's a switch to make a local copy?  I guess I could write a short program to suck all the data out of the online database and put it into a new, duplicate database having the same tables, that I create on
    my localhost, but my question here is if there's an easier way than this, maybe a tool or command I can run from inside Visual Studio?
    Any advice on any of the above questions is appreciated.
    Thank you,
    Paul
    [A] Microsoft Visual Studio Professional 2013
    Version 12.0.21005.1 REL
    Microsoft .NET Framework
    Version 4.5.51641
    Microsoft Web Developer Tools 2013   2.0.40926.0
    SQL Server Data Tools   12.0.30919.1
    Microsoft SQL Server Data Tools
    Windows Azure Mobile Services Tools   1.0
    Windows Azure Mobile Services Tools

    Thanks but these links are too general to help.
    "2. what do you mean by online file?" - I mean the SQL Server database file is on a remote web server that I rent from, but I am not the administrator of.  I can access my database using SQL Server Authentication, but nothing more.
    Paul
    What do you mean by too general? It explains on how you can use data tier application to create and deploy databases
    May be this will help you to understand better
    http://www.databasejournal.com/features/mssql/article.php/3911041/Creating-Data-Tier-Applications--in-SQL-Server-2008-R2.htm
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Can't import ISO Files in VM Manager because of empty Server Pool Drop Down

    Hello,
    I have the problem I can't import ISO files to my ressources because in the import mask the Server Pool Name Drop Down is empty. In the Virtual Machine Templates mask the Server Pool Name is available and I have already one VM running with a oracle template.
    The Server is 2.2.1 and the vm manager is 2.2.0. The server is a Pentium 4 3.2 GHz with 4 MB of RAM. The High Availabiliy Mode is enabled for this server pool.
    Has anyone an idea what the problem could be?
    Any help will be appreciated.
    Thx in forward
    Ben

    I am not expert in this area myself, but I believe the issue may be with shared storage changes that are needed for high availability.
    The following reference may help: http://download.oracle.com/docs/cd/E15458_01/doc.22/e15444/ha.htm
    I may of course be misleading you completely.

  • Can't import prores files into Premiere Pro CC or SpeedGrade CC

    Can't import prores files into Premiere Pro CC or SpeedGrade CC. But I can into After Effects CC.
    I also can't export to DNxHD files to an MXF file either.
    I do have latest Quicktime Pro installed and I also have Avid Media Composer and the other pieces of the Avid package.
    Conflict?

    I only have one account on the computer and it has Administrator priveleges.  What I am doing to make it work is opening the application using the "Run as Administrator" command (e.g., right click application shortcut on desktop, choose "Run as Administrator").  I am not a Windows guru but I would guess there is something different between opening an Application with a user that has Administrator priveleges and opening an Application choosing "Run as Administrator".  Also, your answer still does not address the fact that I can't use my jog wheel.
    Anyone else have some ideas?

Maybe you are looking for