DELETE dilemna

Hi,
I tried to run this in the SQL Workshop section of APEX and I am not sure what I need to change :
CREATE TABLE "ADV_INQ_REF"
(     "ADV_ID" NUMBER NOT NULL ENABLE,
     "INQ_ID" NUMBER NOT NULL ENABLE,
     "QUALIFIED" VARCHAR2(1) DEFAULT 'F' NOT NULL ENABLE,
     CONSTRAINT "ADV_INQ_REF_PK" PRIMARY KEY ("ADV_ID", "INQ_ID") ENABLE,
     CONSTRAINT "ADV_INQ_REF_CK1" CHECK (QUALIFIED IN ('T','F')) ENABLE,
CONSTRAINT "ADV_INQ_REF_FK1" FOREIGN KEY ("ADV_ID")
     REFERENCES "ADVERTISEMENTS" ("ADV_ID") ON DELETE RESTRICT ENABLE,
CONSTRAINT "ADV_INQ_REF_FK2" FOREIGN KEY ("INQ_ID")
     REFERENCES "INQUIRIES" ("INQ_ID") ON DELETE RESTRICT ENABLE
Error I get:ORA-00905: missing keyword

http://dba.ipbhost.com/lofiversion/index.php/t162.htmlso basically a NO ACTION is the equivalent of RESTRICT?
Thanks

Similar Messages

  • Delete multiple contacts

    I have search the forums, but cannot find a solution to my contacts dilemna.
    I have synced my phone with twitter and facebook and my googlemail contacts.  I know have 1000+ contacts and numerous duplicates.  Please can someone advise of a way of deleting multiple contacts?

    I had the same problem !
    Finaly I found an app at the  Apple store that can delete all your contacts from your Iphone 5
    it is called  Cleaners and costs $.99
    Use it and rebuiled your Contacts again

  • Keywording Dilemna

    I have a hierarchical list of keywords in LR - for simplicity's sake le's just consider
    People
       many entries
       Paul Simon     [...note this is proper form mixed case]
    Location
       many entries
    If I use the "Click here to add keywords" box and start to type    paul    (... note that's in lowercase)
    and wait a second, it finds Paul Simon - and if I wait for it to complete and then continue hitting the enter key it locks in Paul Simon
    BUT, for whatever reason, occasionally I get paul simon or paul Simon .... I don't know why (perhaps I didn't pause long enough..); then I have multiple Paul Simon variations in the list.  The stray ones get outside the People category so I have to hunt for them, track them down and add Paul Simon to those images and delete the casing-variations to clean things up.  Afterwards, for a while, the pull down list seems to work until a variation creeps in again.
    This is frustrating and time consuming.
    I suppose one answer would be to have an option in LR to consider all casing alternatives equivalent.  Anybody know if that's burried in an option somewhere ??
    Alternatively, I could convert all my mixed case entries to lowercase and I suppose that would fix it going forward, aesthetics aside.
    Does anybody know of a way to do this en masse ?  ie: batch the database (cringe)  Yes, I can do it one at a time .... but life is short ....
    thanks, jc

    Somebody in the forum about 2 years ago wrote a utility to do just what I
    want - but perhaps it was dangerous.  He and his website www.lightroomtools,
    have since vanished.  Doubt it dealt with the full range of the problem -
    like in XMP's and so forth - but, if it would just ripple through the
    database and fix it - it would be a great start.
    Seems like a plugin - but I'm a tad tight for time right now to learn how to
    write one
    jc
    From: Rob Cole
    Sent: Tuesday, June 08, 2010 5:02 PM
    To: Jim Camelford
    Subject: Keywording Dilemna
    I don't know of any keyword consolidation tools, but this seems ripe for a
    plugin.
    Rob

  • Delete File From Mounted Volume

    Hey,
    I am trying to delete the "Calendar Cache" files on both my laptop PowerBook G4 and the Mac Pro Quad that I sync my calendars with. I am using ChronoSync and the individual calendars sync fine, but there is a little house keeping needed with the cache file. They need to be deleted on both systems in order to "refresh" the views of the calendars.
    So after the sync of calendars, I have the software initiating an AppleScript that deletes both. Here's the script:
    +(* PowerBook Files / delete cache file *)+
    +(* Please note that both systems have the same username. This may be arise a conflict *)+
    +tell application "Finder"+
    + activate+
    + tell application "Finder" to delete file "Calendar Cache" of folder "Calendars" of folder "Library" of disk "useranthony"+
    +end tell+
    +(* Mac Pro Quad/ delete cache file *)+
    +tell application "Finder"+
    + mount volume "afp://10.10.10.1/anthonyabraira"+
    + tell application "Finder" to delete file "Calendar Cache" of folder "Calendars" of folder "Library" of disk "/volumes/useranthony"+
    +end tell+
    I am having trouble addressing a deletion on the networked Mac Pro Quad.

    why send it to the trash — just delete it...
    (* PowerBook Files / delete cache file )
    try
            do shell script "rm -rf /Library/Calendars/Calendar\\ Cache"
    end try
    you may need a delay for the Mac Pro Quad to mount
    ( Mac Pro Quad/ delete cache file *)
    --the mount and then the delay
    delay 4
    try
            do shell script "rm -rf /THE-CORRECT/PATH-HERE/Library/Calendars/Calendar\\ Cache"
    end try
    Tom

  • How to delete the members in one dimension use the maxl script

    i have question that i want to delete the members in one dimension useing the maxl script, but i do not know how to do it. can the maxl delete the members in one dimension? if can, please provide an sample script, thank you so mcuh.

    MaxL does not have commands to alter an outline directly, except the reset command which can delete all dimensions but not members selectively. The best you could do would be to run a rules file (import dimensions) using a file that contains the members you want to keepload rule for the dimension. As typical the warning is to test this first before you do it on a production database

  • Error while deleting a mapping

    Hi all,
    I am getting the following error while deleting a mapping. My client version is 10.2.0.4.36
    API5072: Internal Error: Null message for exception. Please contact Oracle Support with the stack trace and details on how to reproduce it.
    oracle.wh.util.Assert: API5072: Internal Error: Null message for exception. Please contact Oracle Support with the stack trace and details on how to reproduce it.
         at oracle.wh.util.Assert.owbAssert(Assert.java:51)
         at oracle.wh.ui.jcommon.OutputConfigure.showMsg(OutputConfigure.java:216)
         at oracle.wh.ui.common.CommonUtils.error(CommonUtils.java:370)
         at oracle.wh.ui.common.WhDeletion.doActualDel(WhDeletion.java:512)
         at oracle.wh.ui.common.WhDeletion.deleteObject(WhDeletion.java:203)
         at oracle.wh.ui.common.WhDeletion.deleteObject(WhDeletion.java:283)
         at oracle.wh.ui.jcommon.tree.WhTree.deleteItem(WhTree.java:346)
         at oracle.wh.ui.console.commands.DeleteCmd.performAction(DeleteCmd.java:50)
         at oracle.wh.ui.console.commands.TreeMenuHandler$1.run(TreeMenuHandler.java:188)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    Thanks in advance!
    Sebastian

    These type of Internal Errors are all too common in OWB and it's difficult to diagnose the exact problem.
    I'd suggest closing the Design Centre, going back in and trying to delete it again, this will often resolve Internal errors.
    There's also an article on Metalink Doc ID: 460411.1 about errors when deleting mappings but it's specific to an ACLContainer error, so may or may not be of use.
    One of the suggestions is to connect as the Repository Owner rather than a User and try to delete the mapping.
    Cheers
    Si
    Edited by: ScoobySi on Sep 10, 2009 11:44 AM

  • Adobe cloud tries to load addon which I have deleted in Extension manager

    when Adobe Cloud starts it tries to load an application (Edge FX lite) that I have deleted in Adobe Extension Manager cc. I get the error message ' unable to install the addon EdgeFX lite  error 603. How do I stop this?
    Also in Adobe Exchange in 'My Stuff'  there are showing addons which I have removed in Adobe extension Manager cc which I would like to be removed from this listing as I will never use them, but if I right click to uninstall I fail to get rid of them.

    Apologies, without making the assumption that you are signed in
    1) Go to https://creative.adobe.com/addons/
    2) In the top right hand corner select sign in and enter your Adobe ID and password
    3) Once logged in, on the center of the screen at the left hand side, select the link 'All your purchases and shared items'
    4) You will then be taken to a page that is the equivalent of your My Stuff panel.
    5) You can then install individual add-ons/extensions.
    Kind regards,
    Lea

  • IPhone voice memos can't be deleted

    I have unchecked voice memos and eleted others from my itunes library, but they still show in Voice Memos on the iphone (when viewed from itunes. How do I get rid of them from the iphone. I think this is why I have 4GB of OTHER cluttering my iphone memory

    Thanks, selecting Manually Manage allowed me to delete the errant voice memo files. Curiously, it did not delete within the general Music folder so had to dlete from there as well. I think they are gone, but saw no reduction in space used. Have to look somewhere else for that.

  • IPhone Deletes Exchange Emails To Wrong Folder

    Hello all!
    I have a Microsoft Exchange mail account setup on my iPhone 4 (iOS 6.1) which works wonderfully, short of one aspect:  Emails deleted from my phone do not go to the accounts standard 'Trash' folder, but to a different 'Deleted' folder.  I can see no way to change this setting.  Any ideas?

    Thanks Templeton.  This is the only definitive answer I've found anywhere.  Turns out my iPhone was correct and my other email clients are sending to the wrong folder!

  • When I sync my iPod to my MacBook through iTunes new events do not show up and old events are not deleted. I am using Snow Leopard  and not iSync.

    I am using Snow Leopard on a MacBook. I have an iPod touch 3G. I do not use iSync it Mobile Me. When I sync my iPod through iTunes new events on my iPod do not show up on my Mac and old events do not delete. I have read help instructions that include deleting the data on the iPod. The iPod has the correct data and the Mac does not so I have not followed those instructions. I need help as the only reason I bought the Mac was to be able to sync, back up, view and print my calendar. Currently it is useless. If only Apple could have learned from the elegance of the Palm software.

    Start here:
    iPhone, iPad, or iPod touch: Device not recognized in iTunes for Windows

  • How do you delete duplicate songs from your iPhone that do not show up in your iTunes library?

    everytime i purchase songs on itunes and sync them to my iphone 4, the songs downloads twice. one as the actual song, and the second one doesnt do anything. when you click on it, it just skips to the next song and doesnt play anything. also this second song has this cirlce dot thing next to it when i am scrolling through my songs in my music...so how do i get rid of this second download? its really annoying to have and it wont let me delete it off my phone. alsoooo since it doesnt show up in my itunes library, i cant delte it off there either! HELP PLEASE

    On the springboard, locate the app you want to delete. For this example, I’ll use WeatherBug.
    Tap and hold down the icon of the application you want to delete. After a few seconds your screen will start to “wiggle” and an X will appear next to each of the apps you’ve installed via the App Store.
    Tap the X next to the icon of the app you want to remove. When prompted, selectDelete.
    And now it’s gone.
    If the application is listed in your iTunes Applications as well, you’ll want to remove it from there – or else it will re-install the next time you sync. Alternately you can keep the app in your iTunes Applications, and set iTunes not to sync all applications, just the ones you want to keep. See the Applications tab of your device the next time it’s connected in iTunes for syncing options.
    http://www.simplehelp.net/2008/07/12/how-to-delete-apps-from-your-ipod-touch-or- iphone/

  • Downloaded ios7 to my iphone 4 and now I have songs that I cannot delete and they do not show up on itunes either

    Daughter upgraded to ios 7 and now she has like 4 songs that are not age appropriate on her iphone- I went into itunes and they dont show up...they are like hidden or something- and I cannot delete them from the phone...does anyone know why the upgrade did this and how I can get these songs off her phone- one of them is not even on my phone so I dont understand how in the world it popped onto hers! thanks!

    Hello DavoDavo81,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    iTunes Match on iPhone, iPad, or iPod touch
    http://support.apple.com/kb/HT5637
    Deleting songs downloaded to your device
    You can delete a song or album from your iPhone, iPad, or iPod touch at any time. Don't worry; it'll still be in the cloud.
    Tap the Music app.
    Tap More > Songs at the bottom.
    Scroll or search for the song you would like to delete from your device.
    Swipe right to left on the song, and then tap Delete.
    Note: You must be in Artists, Songs, or Albums view to delete songs from your device. Deleting from a playlist won't remove a song from your iOS device.
    iTunes Store: How to delete songs from iCloud
    http://support.apple.com/kb/ht4915
    Best of luck,
    Mario

  • Text delete options since software update

    I've recently updated the software to 10.3.1.1565 and a new option appeared for text messaging. when i closed a message and went back to the list of text messages the delete symbol appeared next to the text for a few seconds. This was useful. Now, I have somehow (without knowing i've done it) changed the settings and instead of the delete symbol i'm getting the Reply symbol. How do i change it back to the delete symbol?
    Thanks.

    After upgrading your stock ROM you always need to do a factory data reset, if your phone doesn't do it for you. Then you can simply choose which sounds you want for the notification in the settings. You can download the Swype keyboard, or several various similar to Swype, from the Play Store. I liked Kii and used it for a long time.

  • I deleted a contact, but they still show up in my text options to send.  I would like to delete the contact from my texts too.

    I deleted a contact, but they still show up in my text options to send.  I would like to delete the contact from my texts too.

    No don't restore your iphone. I've done that several times & it has never worked. -I still have deleted contacts in my iphone texts.  *However if you do restore it you will not lose all your data, pics, text messages etc if you backup in iCloud. It restores back to original phone. Very nice :). Anyhowwww....
    I JUST  figured it out!! :))). Remove the contact from recents.
      Start a text. You should see the deleted contact. All the way to the right of the name is a symbol. The symbol is a circle with "i" in the middle. Click that symbol then in red lettering click "remove from recents".

  • Phone stalls when trying to update or delete account

    I've had problems with my 5c since updating the software (now running 7.1.2). My main issue is that I can't toggle any of the settings on my mail/calendar accounts (combination of Google and Exchange) or my iCloud account. Whenever I toggle one of the settings (such as "Notes") I get a grey "spinning wheel of doom" square on my screen with the message "Updating Your Settings..." The square remains on the screen forever--the update never happens. Same thing when I try to delete an account.
    What I've tried so far:
    Restarting my phone
    Resetting the network
    Restoring factory defaults

    Same problem here. IMDB, TWC (weather app) Goodreader… Started this morning, out of the blue.
    After deleting IMDB (hoping to reinstall), that app cannot be installed again! Trying to, gets you the same “Update unavailable” error.
    Also, the problematic apps are not listed in my “Purchased” list (which is the real problem I think).
    I also tried through iTunes. Same problem.
    Can someone confirm that the problem apps are not showing in your purchased list?
    I don’t know if it’s on Apple’s side (in which case it will get fixed) or on my side (meaning I will have to do something).
    (I contacted Apple, waiting for reply.)

Maybe you are looking for

  • Displaying files from a local filesystem not in Webserver Root

    I have been attempting to display a file from a local filesystem with no luck. Is there any way, with something like UTL_FILE, to read in a file (A pre-generated report from Funnel Web) and display it through a custom portlet? I have created a provid

  • How to stop While Loop in Event Structure with same button?

    Hello, I have a problem. I want to use one control to activate an event in a event structure, and the same control to terminate a while loop in that event. It is possible to use 2 controls to do this, but I need it to be only one. Thank you   Message

  • After installing Leapord updates - computer freezing on restart.

    just installed Leapord and everything was running great. Went to update all my software which downloaded & installed correctly. After restart I got a message about needing to restart to clear the cache which I did. Upon doing that, start up appears t

  • Convert binary data (TIFF image) into XML - how ?

    Hi, I have the following requirement: 1. A document is scanned and a TIFF image is saved in a directory 2. The File adapter picks up the image file and sends into XI 3. The binary data is converted into XML so a Web Service can be called (this web se

  • Java.sql.SQLException: Cannot rollback a transactional connection

    Hi This is what i am trying to do: try{ conn = getConnection(); conn.setAutoCommit(false); execQuery(sql_1); execQuery(sql_2); conn.commit(); }catch(Exception ex){ conn.rollback(); i have made an error in sql_2 so i get an Exception. My queries use t