ORA-00001 When I try and create an interactive query/report

Interactive report in APEX 3.2
I have a query like this that does a country lookup
based on the physical address and the mailing address.
The query executes fine through SQL plus but when I try and create
an interactive report I get
ORA-00001: unique constraint (APEX_030200.WWV_FLOW_WORKSHEET_COLUMNS_UK2) violated
Here's the query
select     "TAX_VENDORS"."VENDOR_ID" as "VENDOR_ID",
     "TAX_VENDORS"."VENDOR_NAME" as "VENDOR_NAME",
     "TAX_COUNTRY"."ABBREVIATION" as "ABBREVIATION",
     "TAX_COUNTRY_1"."ABBREVIATION" as "ABBREVIATION"
from     "TAX_COUNTRY" "TAX_COUNTRY_1",
     "TAX_COUNTRY" "TAX_COUNTRY",
     "TAX_VENDORS" "TAX_VENDORS"
where "TAX_VENDORS"."PHYSICAL_COUNTRY"="TAX_COUNTRY"."TAX_COUNTRY_ID"
and     "TAX_VENDORS"."MAILING_COUNTRY"="TAX_COUNTRY_1"."TAX_COUNTRY_ID"
I've narrowed it down to the double lookup if you will of the country for the
mail/physical address.
Is this not allowed? Is there a work around?

Thanks Tony
A closer look at the constraint reveals this - so maybe it's seeing the TAX_COUNTRY_ID twice I would guess where the alias is not accounted for.
     CONSTRAINT "WWV_FLOW_WORKSHEET_COLUMNS_UK2" UNIQUE ("WORKSHEET_ID", "DB_COLUMN_NAME")
Your query yielded me the same result
select TV.VENDOR_ID as VENDOR_ID,
TV.VENDOR_NAME as VENDOR_NAME,
TC.ABBREVIATION as ABBREVIATION,
TC_1.ABBREVIATION as ABBREVIATION
from TAX_VENDORS TV
JOIN TAX_COUNTRY TC ON (TV.PHYSICAL_COUNTRY = TC.TAX_COUNTRY_ID)
JOIN TAX_COUNTRY TC_1 ON (TV.MAILING_COUNTRY=TC_1.TAX_COUNTRY_ID)

Similar Messages

  • When i try and create a combined pdf i get an error failed

    when i try and create a combined pdf i get an error failed

    Yes 1)  when I try to combine under the PAGES column it says "FAILED" 
           2) How do i set a book mark or put and icon on my desktop for CreatePDF 
           3) Is there anywhere to go to see a tutorial
    I have to say yesterday was very frustrating, I went on the support line could not find the chat after being there once, I feel I am pretty good with computers and can usually figure things out, I could not here.

  • Copy Protect when I try and create a DVD

    Help please. I created a movie using FCE 1.0. I then "printed to video" to capture the final movie on a Sony Hi8 Camcorder with Firewire. I then tried to create a DVD by connecting the camcorder to a Philips DVD Recorder using the standard RCA jacks. The recorder shows the message "Copy Protected" and will not record the movie. Is this a setting within FCE or the content?
    Help!

    Really not sure about this, but I doubt it's anything to do with FCE. Is it some copy protection built into the DVD recorder? I.e to stop you copying DVDs. Does the DVD Recorder normally work with this jacks? Is there any other way to connect to the recorder?

  • I try and create this string but the quotes not working

    Hi, I am using FB 4.5 and when I try and create this string:
    ']]></fx:Script>'
    it doesn't see it as a string,
    FYI i'm writing some code gen stuff and trying to use it in this context:
    '<fx:Script><![CDATA[' + validatorArrayCode +  ']]></fx:Script>' + formCode;

    Nope, it started this morning and remains the same. Still waiting for some help!

  • When trying to update  Apps in iTunes on my computer my old Apple ID appears, which is no longer in use and has no password; even when I try to create a password for this Old ID, Apple won't let me. When I go into see my Account settings My new Apple ID /

    When trying to update  Apps in iTunes on my computer my old Apple ID appears, which is no longer in use and has no password; even when I try to create a password for this Old ID, Apple won't let me. When I go into see my Account settings My new Apple ID / iTunes ID are listed and the passwords are correct obviously so why can't I update my Apps?   Why does my Old apple ID keep appearing and how can I get Apple to change this?

    I have the same problem - it is maddening. I rely on this iPad for work so this is not just an annoyance! The above solutions of changing the appleid on the device or on the website do not work.
    The old email address no longer exists - I haven't used it in a year probably and I no longer have the account.  I logged into the appleid website and there is no trace of the old email address so there is nothing that can be deleted or changed there.  On the iPad there is no trace of the old email address so nothing can be deleted there either. I have updated the iPad software and the same problem comes right back.  Every 2 seconds I am asked to log in using the old non-existent email.  The device is currently useless.
    The only recent change to anything was the addition of an Apple TV device, which was set up using the correct login and password.
    Does anyone have any ideas? The iPad has been backed up to the iCloud so presumably it now won't recognize the current iCloud account? So restoring may notbe an option?

  • Pages crashes when opening any document on iPad 3 Latest version.   I could find on the net and finally deleted Pages from my device and reinstalled it. Still when I try to create anew document or open a document it just cr

    Pages crashes when opening any document on iPad 3 Latest version. I tried everything I could find on the net and finally deleted Pages from my device and reinstalled it. Still when I try to create a new document or open a document it just crashes out.

    Try this:
    Make sure IOS is updated to latest version
    Reboot device by pressing both the home button and sleep/wake (power) buttons at the same time for 10-15 seconds until the apple logo appears on the screen, then let go.
    If that doesn't work then reset the device by going to settings/general/reset/reset all settings

  • I am using Adobe Acrobat 9 Standard version in Windows 8.1 and when I try to create a .pdf file, I receive the following error message "Acrobat could not open "file name.log" because it is either not a supported file type or because the file has been dama

    I am using Adobe Acrobat 9 Standard version in Windows 8.1 and when I try to create a .pdf file, I receive the following error message "Acrobat could not open "file name.log" because it is either not a supported file type or because the file has been damaged.  To create a PDF document, go to the source application then print the document to .pdf"  I am going to the source application and printing the document to .pdf yet it's saving the file as a .log file.  After reinstalling the software, I initially didn't encounter this problem but on my second and third attempts to convert files to .pdf format, this error message reappeared.  How do I resolve this problem?

    I have a similar problem which i did not have before...and it exists only in some powerpoint files which i want to print as a pdf file...and i get the same message as above.
    the log says the bellow details...what's the problem and how can i resolve it? thanks.
    %%[ ProductName: Distiller ]%%
    %%[Page: 1]%%
    %%[Page: 2]%%
    Cambria not found, using Courier.
    %%[ Error: invalidfont; OffendingCommand: show ]%%
    Stack:
      %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%

  • I have three Blue Yeti USB Microphones, and when I try to create an aggregate device in Audio MIDI on my MBP it lets me select two microphones but not the third. I need all three for a podcast, any solutions?

    I have three Blue Yeti USB Microphones, and when I try to create an aggregate device in Audio MIDI on my MBP it lets me select two microphones but not the third. At first I thought maybe the third microphone was just defected or something but I tested the mic individually and it works fine. It'll let me use two Blue Yeti's and another microphone but not three Yeti's at once.

    David Boroditsky wrote:
    The problem is that the mac chokes on having 2 identical mics attached at the same time.
    Ive had 2 identical USB AT2020 mics connected at the same time on both macbook pro and macbook Air.
    The "Yeti" mics, are, lets say undesirable, and low to mid computer consumer mics.

  • I have Acrobat 9.5 and when I try to create pdf from scanner, it displays an error "Adobe acrobat has stopped working". Is there any way I can use this functionality?

    I have Acrobat 9.5 and when I try to create>pdf from scanner, it displays an error "Adobe acrobat has stopped working". Is there any way I can use this functionality?

    Provide you have Acrobat 9 installed in an OS for which Acrobat 9 is compatible then you can use the functionality.
    As well, you need a scanner connected, powered up, and the software installed. Acrobat 9 "prefers" TWAIN drivers.
    Always visit the scanner vendor's site and download - install the latest greatest software.
    n.b., The Acrobat 9.x product family passed into "End of Support" mid-year 2013.
    As well the Acrobat 9.x product family is not compatible with contemporary OSs.
    Be well...

  • I created an image in Photoshop and saved it as the PSD file. Now when I try and open it it says it is not compatible with my version. How could this be when I created it in this version?

    I created an image in Photoshop and saved it as the PSD file. Now when I try and open it it says it is not compatible with my version. How could this be when I created it in this version?

    That depends on why it won't open.  Most of the time it means the file is corrupted and unlikely to be recovered. If you saved it right after adding or copying a LOT of layers - then it might just be the layer limit and we can attempt to recover it.

  • I have an existing ipod that I use with my mac. I am trying to connect an additional ipod to it but when I try and register, it just brings up the existing info. I don't want to lose the original info or library - just create new for this device. Pls help

    I have an existing ipod that I use with my mac. I am trying to connect an additional ipod to it but when I try and register, it just brings up the existing info. I don't want to lose the original info or library - just create new for this device. Pls help...

    We are starting from the beginning like its a new ipod starts out asking language, country,location services,choose a network,and when we get to "setup ipod touch  " there are 3 options 1..setup as new ipod, 2.restore from ipod backup 3 restore from itunes backup and when we hit setup as new ipod and click next it comes up with sign in with apple id or create a free apple id  we clicked create a free apple id....then comes up with bday,1st name last name, use your current email address, get a free icloud email address or change email address and THIS is where we have problems....if we hit change email address it means that sis's stuff goes under his name and moves all her stuff to this older ipod which the brother does not want. sorry this is so long but its the only way I knew to do it.

  • DBCA Producing ORA 12547 TNS lost contact when I try to create a database

    Hi all!
    I just installed Oracle 11GR2 (only software not creating a database) on Oracle Linux 6.4 64 Bit via Oracle VM VirtualBox. I created a new Listener to create a database. It looks working. But when I try to create a new database with dcba; I had an ORA-12547 TNS lost contact after I had specified all options for creating the database. I'm too new to get what's going on here. Already, the Oracle Software has occured a few errors while the installation. But the software has been installed successfully at the end. Maybe I went wrong from the beginning. What should I do about managing that ORA error? Can anybody suggest me something?
    Btw I have installed the all installations with information on this link: ORACLE-BASE - Oracle Database 11g Release 2 (11.2) Installation On Oracle Linux 6
    If we consider that I did nothing after those installation, what should the next step be to create a database successfully?

    Hi all!
    I just installed Oracle 11GR2 (only software not creating a database) on Oracle Linux 6.4 64 Bit via Oracle VM VirtualBox. I created a new Listener to create a database. It looks working. But when I try to create a new database with dcba; I had an ORA-12547 TNS lost contact after I had specified all options for creating the database. I'm too new to get what's going on here. Already, the Oracle Software has occured a few errors while the installation. But the software has been installed successfully at the end. Maybe I went wrong from the beginning. What should I do about managing that ORA error? Can anybody suggest me something?
    Btw I have installed the all installations with information on this link: ORACLE-BASE - Oracle Database 11g Release 2 (11.2) Installation On Oracle Linux 6
    If we consider that I did nothing after those installation, what should the next step be to create a database successfully?

  • FaceTime won't accept the password which I wrote down some time ago and doesn't provide a "forgot your password" option. And when I try to create a new account it tells me that my email is already registered. What can I do to revise my password?

    FaceTime won't accept the password which I wrote down some time ago and doesn't provide a "forgot your password" option. And when I try to create a new account it tells me that my email is already registered. What can I do to revise my password?

    Hello Sheila,
    Thank you for the details of the issue you are experiencing with FaceTime.  It sounds like your Apple ID password is not being recognized. 
    You can reset your password using the steps in the following article:
    Apple ID: If you forget your password
    http://support.apple.com/kb/HT5787
    You can contact the Account Security team if you are unable to reset your password using those steps:
    Apple ID: Contacting Apple for help with Apple ID account security
    http://support.apple.com/kb/HT5699
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • I have photoshop elements 7 and when i try to create it freeze or shuts down... im running vista...

    Could someone help me I am having problems with my program... when i try to create it either shut down or all the photos dont load.... HELP

    Check if the below link helps you out?
    http://kb2.adobe.com/cps/405/kb405398.html
    Cheers,
    Ankush

  • I am trying to store music for two different iPods on the same computer, against two different Apple IDs. When I try and download content from the Cloud I get an error message?

    I am trying to store music for two different iPods on the same Windows 8 computer, and when I try and download content from the Cloud I get an error message. Is it possible to have two different Apple IDs on the same computer?

    Unfortunately you've discovered too late how important it is to maintain an up-to-date backup of your iTunes library (and all other data of value).  You could, before wiping the drive, have considered making use of a commercial data recovery service that could (albeit at considerable cost) have extracted your library from the hard disk, even if virus infected.
    In the absence of that option, you will need to restore the content of your library from its original sources:
    Depending on your location, you may be able to re-download any iTunes Store purchases that are still available on the Store
    Likewise, most digital purchases from Amazon (including auto-rip copies of purchased CDs) should be available from the Amazon Cloud and via the Amazon Music application - the same may be true of other commercial sources for digital downloads
    Content imported from your CDs will have to imported again
    The specific situation that you describe regarding the music imported from your friend's external HDD suggests that either the source is badly organized and/or originates from a source other than iTunes (other media players may use alternative tags for information like artist, title, album, etc. that are not wholly consistent with how iTunes handle these).  Without details of the issues you're seeing it is difficult to suggest a remedy other than going through the media album-by-album, track-by-track, and correcting the inconsistencies.
    In the absence of a backup or access to the original library data there is no option other than painstakingly recreating your library as described above.  As you do so, you'll now realize how important creating and maintaining backups are - in my case I have at all times three separate duplicates of my library, in two different locations, where none is ever more than a week old compared to the content of my master library.

Maybe you are looking for

  • What fan is used and is it possible to upgrade it

    i've been wonering if i could upgrade my fan for my hp 250 g1 to increase the performance and i use it as a gaming laptop because it was fairly cheap, it peaked my mind because if i could do that then could i also increase my cpu plus this laptop/not

  • Extract abends after sometime without any errors in logs

    Hi Folks, I am implementing unidirectional simple replication for one schema (DDL & DML) without GG data pump and I am newer to GG. Extract abends after sometime without any errors in logs. I doubt I did not configure exttrail/rmttrail properly. What

  • Fix for HP 7410 All-In-One Freezing after SN Upgrade!

    I upgraded to SN and immediately my trusty 2 year old HP 7410 All-In-One went into an endless initialization loop. All it would do was display the HP logo and a continuous progress bar at the bottom of the little screen on the front of it. After no e

  • Placed Video from VHS Stretched

    I used an aftermarket card on my PowerMac to import some old VHS tapes (via the video/audio in on the card) from the video/audio out on my VCR. The videos came in at at 320x240 and look fine. When I import them to iMove HD 5.0.2it's really stretched

  • Applet works under 1.4, but not with 1.3

    i have a correct signed applet, which works with java 1.4.2 plug-in (means, the security dialog comes up, the user hits yes and the applet runs and can read/write files on local disk etc.) a fresh installation of win2k with java 1.3.1_11 does not acc