Trouble with two tables and persistence

Hi all,
I would need your opinion on this:
I have two tables:
Table User (UID(PK), Uname, Pword)
Table Choice (CID(PK), UID(FK), Cname, Cparameter1, Cparameter2)
I have tried to put both together into one entity as described in: http://en.wikibooks.org/wiki/Java_Persistence/Tables#Example_mapping_annotations_for_an_entity_with_multiple_tables
However, the trouble is that it doesn't work as I have hoped. I am unable to insert data into the user table alone, because it complains about missing entries for CID, Cname, etc...). I thought I would be able to query them independently, as 1 user can have many Choices.
Any suggestions how to tackle this problem?
Thank you.

Ahh, I think I have figured out part of it but it isn't working yet. I created a view of the trk_user table. Now I need help with the code, I am trying to incorporate it here:
SELECT webb.TRK_CALLS_VIEW.ID, webb.TRK_CALLS_VIEW.USER_, webb.TRK_CALLS_VIEW.ASSIGNED_TO, webb.TRK_CALLS_VIEW.PROBLEM, webb.TRK_CALLS_VIEW.SOLUTION, webb.TRK_CALLS_VIEW.STATUS, webb.TRK_USER_VIEW.lname, webb.TRK_USER_VIEW.fname
FROM webb.TRK_CALLS_VIEW, webb.TRK_USER_VIEW
WHERE
( STATUS = 'Open' and :P2_REPORT_SEARCH is null )
or
( regexp_like( USER_ || '#' || ASSIGNED_TO || '#' || PROBLEM || '#' ||
SOLUTION || '#' || STATUS, :P2_REPORT_SEARCH, 'i' ) )
Can someone help me in the right direction

Similar Messages

  • IMessage trouble with two iPhones and one Apple ID

    Hi,
    I'm having trouble with iMessage after updating both of my iPhones to iOS 6 and not being able to use iMessage with one of the phones.
    Some background:
    -I have two iPhones, one on AT&T in the U.S., and one on NTT DoCoMo in Japan, both with separate phone numbers, using the same Apple ID.
    -The AT&T iPhone is a 4, the NTT is an unlocked 4S.
    On my 4 (AT&T), on iMessage, I have the option to send/receive as my U.S. phone number and my Apple ID. Works just like before updating.
    On my 4S (NTT), on iMessage, before I updated, I was able to send/receive using my Japanese number and Apple ID. After updating, I have the option to send/receive using my U.S. number and Apple ID. My Japanese number is greyed out and I cannot select it. When I turn on iMessage, it says "Waiting for activation..." and does not do anything. Turning iMessage off and on, some times I get an error message staying that activation cannot be completed.
    I have rebooted the phone multiple times, turned on/off iMessage and FaceTime, turned the Set Date & Time Automatically option on/off, and reset Network settings several times. Nothing works; iMessage will not activate on my NTT 4S. Please help!

    Finally resolved this issue after months of off and on troubleshooting.
    I have no idea exactly which steps "fixed" the issue, but here's what I did. None of the basic troubleshooting steps that are on here worked for me, and this is including restoring both phones in iTunes as a "last resort" step that two Apple technical service representatives suggested.
    I found a post on here from user "tungddao" who suggested:
    "Turn on iMessage then make a phone call to : 011+445773142076
                 With Facetime & Siri: 011+447786205094"
    I called both numbers with my NTT 4S, and both numbers hung up right away. I also texted both numbers, and the FaceTime one went through, while the iMessage number did not. I then checked my SMS blocking settings with NTT. There were no blocks, but I reset the settings to "unblock all" anyway.
    I was able to activate iMessage and FaceTime with my Apple ID and my NTT phone number. Halfway there.
    I then turned on my ATT 4, and while I could send/receive using my Apple ID and NTT phone number, the ATT number was greyed out, which was the opposite of what had happened before, when I could use the ATT number, but not the NTT one. On my NTT 4S, I could select my ATT number, but it was stuck on "verifying" for days, and I knew it wouldn't go through.
    So, I signed out of my Apple ID on iMessage and FaceTime on my ATT 4, and turned both services off. I turned on data roaming, and turned off WiFi. *This step was key to activating both services, as they would not activate over WiFi for some reason.
    I turned on iMessage and FaceTime without signing in to my Apple ID just yet. They both activated successfully, and then I signed into my Apple ID on both services, and from then on, I can use both numbers and my Apple ID on both phones! Finally!
    These are my current options:
    Phone 1 (4S on NTT): Phone 1's #, Phone 2's #, Apple ID
    Phone 2 (4 on ATT, roaming here in Japan on Softbank): Phone 2's #, Phone 1's #, Apple ID
    Hope this helps someone out there, as this issue was real frustrating for me.

  • I'm having lots of trouble finding semi-decent equipment at an affordable price. I would like to start a podcast with two hosts and I have a macbook pro that i purchased in april 2011. any suggestions?

    I'm having lots of trouble finding semi-decent equipment at an affordable price. I would like to start a podcast with two hosts and I have a macbook pro that i purchased in april 2011. any suggestions?

    I should keep it simple - if you start getting involved with mixers and multiple microphones you will find the cost escalating  alarmingly. If you can get yourself a decent microphone and spend some time doing tests to find the best way of balancing the voices you should be able to get acceptable results. You can't plug an ordinary microphone directly into a Mac - you would need a mixer or a preamplifier - so it's probably worth looking at USB mics. I don't know what cost range is available, and you would have to check that they would work with your Mac. Otherwise you will need an ordinary moving-coil mic and probably a USB audio converter which can accept a microphone - look at the Roland site.

  • Trouble with LaCie disk and time machine

    HI everyone,
    I've been having trouble with using time machine to back-up to my 1 TB LaCie drive (purchased 5/12, unfornuately I was dumb and didn't register the drive and no longer have the box with the serial number and there is no serial number on my drive. The only problem I had up until the end of August was that every so often the LaCie drive (using my FW 800 port) would unmount after waking up from sleep.
    The end of August the drive unmounted for no reason while I was on the computer doing a task. Could not get the LaCie drive remounted (rebooting, etc. etc.) To make a long story short, ended up calling apple care who took me through resetting my SMC and PRAM to no avail. Was booted to higher level of support who walked me through trying to repair my drive using the disk utiltiy. When that didn't work, she walked me through erasing and reformatting the LaCie drive and starting a new time machine back-up. Every thing ok until about ten days ago.
    Last week, when I woke my iMac up from sleep, I got an error saying that the disk was not ejected properly and I could not mount the drive. Restarting did nothing, the disk did not  mount. Shutting down and rebooting seemed to solve the problem and the disk was mounted. Every so often I've had the problem with the disk unmounting after waking up from sleep before. So, I changed my energy sleep preferences. At the end of the day when I am done, I'd unmount the LaCie drive before putting the Mac to sleep using the apple menu.
    Today I came in to start my day, plugged the drive in and it would not mount. Tried rebooting nothing. Went into the disk utility, at first the LaCie drive passed the disk verify (6:26:25 and 6:26:38). Then I went into repair disk on the indented drive at 6:27:13, I wasn't sure what it is was doing, thinking that it had hung, I stopped the repair at 6:27:24. Exited disk utility, and the LaCie drive mounted. But I was getting a read only error when I tried to back-up using time machine. So, I went back into disk utility at 6:27:35, when I verified the disk (indented disk), I got an error saying the disk need to be repaired. After several minutes the disk could not be repaired. So, I erased and reformatted the drive. Ran a time machine back-up and it seemed to back-up everything on my hard drive. Just ran another verify disk and it passed.
    Is the drive failing? Have some other back-ups of my documents, my address book, iCal and am going to make a backup of some of my pref files and important e-mail files and am going to do some more back-ups after I am done.
    Have reached out to the women at apple care whom I talked to last August, but don't expect to hear back from her for at least 24 hours.
    Here is my disk utility log
    2013-11-07 06:26:25 -0500: Verifying partition map for “LaCie”
    2013-11-07 06:26:25 -0500: Starting verification tool:
    2013-11-07 06:26:25 -0500: Checking prerequisites
    2013-11-07 06:26:25 -0500: Checking the partition list
    2013-11-07 06:26:25 -0500: Checking for an EFI system partition
    2013-11-07 06:26:25 -0500: Checking the EFI system partition’s size
    2013-11-07 06:26:25 -0500: Checking the EFI system partition’s file system
    2013-11-07 06:26:25 -0500: Checking all HFS data partition loader spaces
    2013-11-07 06:26:25 -0500: Checking Core Storage Physical Volume partitions
    2013-11-07 06:26:25 -0500: The partition map appears to be OK
    2013-11-07 06:26:25 -0500:
    2013-11-07 06:26:25 -0500:
    2013-11-07 06:26:38 -0500: Verifying partition map for “LaCie”
    2013-11-07 06:26:38 -0500: Starting verification tool:
    2013-11-07 06:26:38 -0500: Checking prerequisites
    2013-11-07 06:26:38 -0500: Checking the partition list
    2013-11-07 06:26:38 -0500: Checking for an EFI system partition
    2013-11-07 06:26:38 -0500: Checking the EFI system partition’s size
    2013-11-07 06:26:38 -0500: Checking the EFI system partition’s file system
    2013-11-07 06:26:38 -0500: Checking all HFS data partition loader spaces
    2013-11-07 06:26:38 -0500: Checking Core Storage Physical Volume partitions
    2013-11-07 06:26:38 -0500: The partition map appears to be OK
    2013-11-07 06:26:38 -0500:
    2013-11-07 06:26:38 -0500:
    2013-11-07 06:27:13 -0500: Disk Utility started.
    2013-11-07 06:27:21 -0500: Verifying and repairing partition map for “LaCie”
    2013-11-07 06:27:21 -0500: Starting repair tool:
    2013-11-07 06:27:21 -0500: Checking prerequisites
    2013-11-07 06:27:21 -0500: Checking the partition list
    2013-11-07 06:27:21 -0500: Checking for an EFI system partition
    2013-11-07 06:27:21 -0500: Checking the EFI system partition’s size
    2013-11-07 06:27:21 -0500: Checking the EFI system partition’s file system
    2013-11-07 06:27:23 -0500: Checking all HFS data partition loader spaces
    2013-11-07 06:27:24 -0500: Reviewing boot support loaders
    2013-11-07 06:27:24 -0500: Checking Core Storage Physical Volume partitions
    2013-11-07 06:27:24 -0500: Updating Windows boot.ini files as required
    2013-11-07 06:27:24 -0500: The partition map appears to be OK
    2013-11-07 06:27:24 -0500:
    2013-11-07 06:27:24 -0500:
    2013-11-07 06:27:35 -0500: Verifying volume “LaCie”
    2013-11-07 06:27:35 -0500: Starting verification tool:
    2013-11-07 06:27:35 -0500: Checking file system2013-11-07 06:27:35 -0500: Error: This disk needs to be repaired. Click Repair Disk.2013-11-07 06:27:35 -0500:
    2013-11-07 06:27:35 -0500: Disk Utility stopped verifying “LaCie”: This disk needs to be repaired. Click Repair Disk.
    2013-11-07 06:28:05 -0500:
    2013-11-07 06:28:13 -0500: Verify and Repair volume “LaCie”
    2013-11-07 06:28:13 -0500: Starting repair tool:
    2013-11-07 06:28:13 -0500: Checking file system2013-11-07 06:28:13 -0500: Volume repair complete.2013-11-07 06:28:13 -0500: Updating boot support partitions for the volume as required.2013-11-07 06:35:05 -0500: Stopped by user
    2013-11-07 06:44:56 -0500: Disk Utility started.
    2013-11-07 06:45:20 -0500: Verifying volume “LaCie”
    2013-11-07 06:45:20 -0500: Starting verification tool:
    2013-11-07 06:45:20 -0500: Checking file system2013-11-07 06:45:20 -0500: Checking Journaled HFS Plus volume.
    2013-11-07 06:45:20 -0500: Checking extents overflow file.
    2013-11-07 06:45:20 -0500: Checking catalog file.
    2013-11-07 06:45:59 -0500: Missing thread record (id = 5057741)
    2013-11-07 06:46:06 -0500: Checking multi-linked files.
    2013-11-07 06:46:19 -0500: Checking catalog hierarchy.
    2013-11-07 06:46:38 -0500: Invalid directory item count
    2013-11-07 06:46:38 -0500: (It should be 0 instead of 4)
    2013-11-07 06:46:38 -0500: Invalid volume directory count
    2013-11-07 06:46:38 -0500: (It should be 166840 instead of 166841)
    2013-11-07 06:46:38 -0500: Checking extended attributes file.
    2013-11-07 06:47:05 -0500: Checking multi-linked directories.
    2013-11-07 06:48:10 -0500: Checking volume bitmap.
    2013-11-07 06:48:12 -0500: Checking volume information.
    2013-11-07 06:48:12 -0500: The volume LaCie was found corrupt and needs to be repaired.
    2013-11-07 06:48:12 -0500: Error: This disk needs to be repaired. Click Repair Disk.2013-11-07 06:48:12 -0500:
    2013-11-07 06:48:12 -0500: Disk Utility stopped verifying “LaCie”: This disk needs to be repaired. Click Repair Disk.
    2013-11-07 06:48:12 -0500:
    2013-11-07 06:50:02 -0500: Verify and Repair volume “LaCie”
    2013-11-07 06:50:02 -0500: Starting repair tool:
    2013-11-07 06:50:02 -0500: Checking file system2013-11-07 06:50:02 -0500: Checking Journaled HFS Plus volume.
    2013-11-07 06:50:02 -0500: Checking extents overflow file.
    2013-11-07 06:50:02 -0500: Checking catalog file.
    2013-11-07 06:50:41 -0500: Missing thread record (id = 5057741)
    2013-11-07 06:50:48 -0500: Checking multi-linked files.
    2013-11-07 06:51:02 -0500: Checking catalog hierarchy.
    2013-11-07 06:51:20 -0500: Invalid directory item count
    2013-11-07 06:51:20 -0500: (It should be 0 instead of 4)
    2013-11-07 06:51:20 -0500: Invalid volume directory count
    2013-11-07 06:51:20 -0500: (It should be 166840 instead of 166841)
    2013-11-07 06:51:20 -0500: Checking extended attributes file.
    2013-11-07 06:51:47 -0500: Checking multi-linked directories.
    2013-11-07 06:52:55 -0500: Checking volume bitmap.
    2013-11-07 06:52:56 -0500: Checking volume information.
    2013-11-07 06:52:56 -0500: Repairing volume.
    2013-11-07 06:52:56 -0500: Missing directory record (id = 5057741)
    2013-11-07 06:52:56 -0500: Look for missing items in lost+found directory.
    2013-11-07 06:53:10 -0500: Rechecking volume.
    2013-11-07 06:53:10 -0500: Checking Journaled HFS Plus volume.
    2013-11-07 06:53:10 -0500: Checking extents overflow file.
    2013-11-07 06:53:10 -0500: Checking catalog file.
    2013-11-07 06:53:16 -0500: Incorrect number of thread records
    2013-11-07 06:53:22 -0500: Checking multi-linked files.
    2013-11-07 06:53:35 -0500: Checking catalog hierarchy.
    2013-11-07 06:53:53 -0500: Invalid directory item count
    2013-11-07 06:53:54 -0500: (It should be 5 instead of 6)
    2013-11-07 06:53:54 -0500: Invalid volume directory count
    2013-11-07 06:53:54 -0500: (It should be 166844 instead of 166842)
    2013-11-07 06:53:54 -0500: Invalid volume file count
    2013-11-07 06:53:54 -0500: (It should be 1056326 instead of 1056321)
    2013-11-07 06:53:54 -0500: Checking extended attributes file.
    2013-11-07 06:54:20 -0500: Checking multi-linked directories.
    2013-11-07 06:55:25 -0500: Checking volume bitmap.
    2013-11-07 06:55:26 -0500: Checking volume information.
    2013-11-07 06:55:26 -0500: Repairing volume.
    2013-11-07 06:58:06 -0500: Rechecking volume.
    2013-11-07 06:58:06 -0500: Checking Journaled HFS Plus volume.
    2013-11-07 06:58:06 -0500: Checking extents overflow file.
    2013-11-07 06:58:07 -0500: Checking catalog file.
    2013-11-07 06:58:12 -0500: Incorrect number of thread records
    2013-11-07 06:58:18 -0500: Checking multi-linked files.
    2013-11-07 06:58:31 -0500: Checking catalog hierarchy.
    2013-11-07 06:58:50 -0500: Invalid volume directory count
    2013-11-07 06:58:50 -0500: (It should be 166844 instead of 166842)
    2013-11-07 06:58:50 -0500: Invalid volume file count
    2013-11-07 06:58:50 -0500: (It should be 1056326 instead of 1056321)
    2013-11-07 06:58:50 -0500: Checking extended attributes file.
    2013-11-07 06:59:17 -0500: Checking multi-linked directories.
    2013-11-07 07:00:22 -0500: Checking volume bitmap.
    2013-11-07 07:00:24 -0500: Checking volume information.
    2013-11-07 07:00:24 -0500: Repairing volume.
    2013-11-07 07:03:03 -0500: Rechecking volume.
    2013-11-07 07:03:03 -0500: Checking Journaled HFS Plus volume.
    2013-11-07 07:03:03 -0500: Checking extents overflow file.
    2013-11-07 07:03:04 -0500: Checking catalog file.
    2013-11-07 07:03:09 -0500: Incorrect number of thread records
    2013-11-07 07:03:15 -0500: Checking multi-linked files.
    2013-11-07 07:03:29 -0500: Checking catalog hierarchy.
    2013-11-07 07:03:47 -0500: Invalid volume directory count
    2013-11-07 07:03:47 -0500: (It should be 166844 instead of 166842)
    2013-11-07 07:03:47 -0500: Invalid volume file count
    2013-11-07 07:03:47 -0500: (It should be 1056326 instead of 1056321)
    2013-11-07 07:03:47 -0500: Checking extended attributes file.
    2013-11-07 07:04:14 -0500: Checking multi-linked directories.
    2013-11-07 07:05:19 -0500: Checking volume bitmap.
    2013-11-07 07:05:20 -0500: Checking volume information.
    2013-11-07 07:05:20 -0500: The volume LaCie could not be repaired after 3 attempts.
    2013-11-07 07:05:21 -0500: Volume repair complete.2013-11-07 07:05:21 -0500: Updating boot support partitions for the volume as required.2013-11-07 07:05:21 -0500: Error: Disk Utility can’t repair this disk. Back up as many of your files as possible, reformat the disk, and restore your backed-up files.2013-11-07 07:05:21 -0500:
    2013-11-07 07:05:21 -0500: Disk Utility stopped repairing “LaCie”: Disk Utility can’t repair this disk. Back up as many of your files as possible, reformat the disk, and restore your backed-up files.
    2013-11-07 07:05:21 -0500:
    2013-11-07 07:09:45 -0500: Disk Utility started.
    2013-11-07 07:11:45 -0500: Preparing to erase : “LaCie”
    2013-11-07 07:11:45 -0500:     Partition Scheme: GUID Partition Table
    2013-11-07 07:11:45 -0500:     1 volume will be erased
    2013-11-07 07:11:45 -0500:         Name        : “LaCie”
    2013-11-07 07:11:45 -0500:         Size        : 999.86 GB
    2013-11-07 07:11:45 -0500:         File system    : Mac OS Extended (Journaled)
    2013-11-07 07:11:45 -0500: Unmounting disk
    2013-11-07 07:11:45 -0500: Erasing
    2013-11-07 07:11:54 -0500: Initialized /dev/rdisk1s2 as a 931 GB HFS Plus volume with a 81920k journal
    2013-11-07 07:11:54 -0500: Mounting disk
    2013-11-07 07:11:54 -0500: Erase complete.
    2013-11-07 07:11:54 -0500:
    2013-11-07 10:38:00 -0500: Disk Utility started.
    2013-11-07 10:38:12 -0500: Verifying volume “LaCie”
    2013-11-07 10:38:12 -0500: Starting verification tool:
    2013-11-07 10:38:14 -0500: Checking file system2013-11-07 10:38:14 -0500: Checking Journaled HFS Plus volume.
    2013-11-07 10:38:14 -0500: Checking extents overflow file.
    2013-11-07 10:38:14 -0500: Checking catalog file.
    2013-11-07 10:38:29 -0500: Checking multi-linked files.
    2013-11-07 10:38:29 -0500: Checking catalog hierarchy.
    2013-11-07 10:38:41 -0500: Checking extended attributes file.
    2013-11-07 10:39:04 -0500: Checking multi-linked directories.
    2013-11-07 10:39:31 -0500: Checking volume bitmap.
    2013-11-07 10:39:32 -0500: Checking volume information.
    2013-11-07 10:39:32 -0500: The volume LaCie appears to be OK.
    2013-11-07 10:39:32 -0500: Repair tool completed:
    2013-11-07 10:39:32 -0500:
    2013-11-07 10:39:32 -0500:

    I just got a call back from the upper level support person at apple care who had been advising me on my trouble with time machine and my LaCie 1 TB FWD. I had sent her much of the same verbiage as I posted here. As some of you have probably figured out, the verdict is that the drive is probably failing. She says this because I have had to do two erase and reformats. She thought that the intermitant problem that I have had with the drive unmounting when my iMac wakes from sleep could be related to the drive failing.
    In the meantime I have a secondary back-up (not using time machine) and the LaCie  1 TB FWD is working for the moment.
    Thanks to all who read all my verbiage.
    And in the meantime, I've learned something. I marked this question as solved. But I'm open to other things to try.
    Message was edited by: njtreehugger minor edits and update

  • For All Entries with two tables

    Hi All,
             Can we use FOR ALL ENTRIES with two tables. for example
    SELECT * FROM MKPF INTO TABLE T_MKPF
             WHERE BUDAT IN S_BUDAT.
    SELECT * FROM MARA INTO TABLE T_MARA
             WHERE MTART IN S_MTART AND
                            MAKTL IN S_MAKTL.
    SELECT * FROM MSEG INTO TABLE T_MSEG
           FOR ALL ENTRIES IN  "T_MKPF AND T_MARA"
                  WHERE MBLNR EQ T_MKPF-MBLNR AND
                                 MATNR EQ T_MARA-MATNR.
    can we do it like this or any other way to do this plz tell. I waitting for your responce.
    Thanks
    Jitendra

    Hi,
    u cannot do like this....chek some documentation on it..
    1. duplicate rows are automatically removed
    2. if the itab used in the clause is empty , all the rows in the source table will be selected .
    3. performance degradation when using the clause on big tables.
    Say for example you have the following abap code:
    Select * from mara
    For all entries in itab
    Where matnr = itab-matnr.
    If the actual source of the material list (represented here by itab) is actually another database table, like:
    select matnr from mseg
    into corresponding fields of table itab
    where ….
    Then you could have used one sql statement that joins both tables.
    Select t1.*
    From mara t1, mseg t2
    Where t1.matnr = t2.matnr
    And T2…..
    So what are the drawbacks of using the "for all entires" instead of a join ?
    At run time , in order to fulfill the "for all entries " request, the abap engine will generate several sql statements (for detailed information on this refer to note 48230). Regardless of which method the engine uses (union all, "or" or "in" predicates) If the itab is bigger then a few records, the abap engine will break the itab into parts, and rerun an sql statement several times in a loop. This rerun of the same sql statement , each time with different host values, is a source of resource waste because it may lead to re-reading of data pages.
    returing to the above example , lets say that our itab contains 500 records and that the abap engine will be forced to run the following sql statement 50 times with a list of 10 values each time.
    Select * from mara
    Where matnr in ( ...)
    Db2 will be able to perform this sql statement cheaply all 50 times, using one of sap standard indexes that contain the matnr column. But in actuality, if you consider the wider picture (all 50 executions of the statement), you will see that some of the data pages, especially the root and middle-tire index pages have been re-read each execution.
    Even though db2 has mechanisms like buffer pools and sequential detection to try to minimize the i/o cost of such cases, those mechanisms can only minimize the actual i/o operations , not the cpu cost of re-reading them once they are in memory. Had you coded the join, db2 would have known that you actually need 500 rows from mara, it would have been able to use other access methods, and potentially consume less getpages i/o and cpu.
    In other words , when you use the "for all entries " clause instead of coding a join , you are depriving the database of important information needed to select the best access path for your application. Moreover, you are depriving your DBA of the same vital information. When the DBA monitors & tunes the system, he (or she) is less likely to recognize this kind of resource waste. The DBA will see a simple statement that uses an index , he is less likely to realize that this statement is executed in a loop unnecessarily.
    Beore using the "for all entries" clause and to evaluate the use of database views as a means to:
    a. simplify sql
    b. simplify abap code
    c. get around open sql limitations.
    check the links
    http://www.thespot4sap.com/articles/SAPABAPPerformanceTuning_ForAllEntries.asp
    The specified item was not found.
    Regards,
    Nagaraj

  • Compare two tables and log the difference

    Hi,
    I want to compare two tables and log the difference in new table with the fields as (old value,new value, column name). The column name should be the changes value column

    Can you show an example?
    SELECT Foo.*, Bar.*
       FROM Foo
            FULL OUTER JOIN
            Bar
            ON Foo.c1 = Bar.c1
               AND Foo.c2 = Bar.c2
               AND Foo.cn = Bar.cn
     WHERE Foo.key IS NULL 
        OR Bar.key IS NULL; 
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Trouble with internal keyboard and touchpad

    Hi,
    Yesterday I just out of nowhere started having some trouble with my keyboard and touchpad on my MacBook Air.
    The problem displayed itself on various ways. One thing was that I couldn't press regulary with the touchpad. When I was pressing one time, it acted like a pressed with two fingers. When I tried to type in my password on the administrator page, some of the keys didn't work at all and some started to act weird. For example when I was pressing the letter B, the "bar" which displayes where you are in the text (don't know the word in English) went backwards, and when I pressed the letter F it went forward. This seemes so weird and also gives me a hope that it might be some setting failure though B stands for backwards and F stands for forward.
    I could log in to the guestpage where I tried to write in "notes". In notes, no letters at all was working, only numbers. When I tried to shut the computer down from the apple symbol I was asked to write administrator name and password. When I tried to mark the name to write it, there wasn't a "bar" but a cross, but on the other hand did it work to write in the password field. But of course not B and F..
    Usualy I'd just press the on/off botton until the computer lockdown, unfortunately the botton doesn't work. So the only thing I could do was to let the battery die and hope that it would start when I recharged it and pressed start, this didn't go as well as I hoped, so now I'm stuck with a dead macbook air.
    Any ideas of what could be the problem or/and any solutions what might do the trick?
    Extremly greatful for any answers

    Yes you need to use a wired keyboard.

  • Viewobject with two criteria and two af:query

    hi every body
    jdeveloper 1.1.6
    i have a viewobject with two criteria , and in view controller i have af:query for each viewobject criteria , what i want when i click on Search button on one of any af:query ,is to Execute the query of another af:query beside the clicked af:query.
    thanks in advance
    maher

    maher,
    I don't understand your use case. If you oly use one VO which has two VC where each VC is mapped to an af:query on the page, it doesn't make sense to execute both of them together. If you do this the resutl set from the first query would be overwritten by the second query.
    Or do you just want to 'and' the two VC into one query and get the result as select ! from table where (vc1) and (vc2)?
    Timo

  • On holidays we took pictures with two cameras and an iPad. I put everithing on my PC. Rearranged them by date, time and or subject putting a number in front of the picture name. I synchronised with my iPad and my pictures show in misselaneous order. Help

    We took pictures during oue holidays with two cameras and an iPad. I put all the pictures on my PC and reorganized them by date, time and/or subject, By putting a number in front of the picture name. Then I synced with my iPad. All the pictures show in a misselaneous order. What went or did I wrong?

    You did nothing wrong, but the photo app puts stuff in chronological order.
    You can look for another app. Afraid I don't have one to suggest, but I do understand that other apps will sort photos differently.

  • I have recently installed Mavericks and since then I have been unable to shut down or log out of my mac.  I work with two screens and now I seem to have programmes at the top of both screens which I didn't before.  any advice?

    I have recently installed Mavericks on my desk top and since then I have been unable to switch off my computer without crashing it. I work with two screen and now I seem to have the menu bar on the second screen as well which I did not have before.  Can you please help me?

    Dr Bettina, I had similar problems with Mavericks. I installed it on a Mini and a 13" MacBook Pro. I can't speak to your disdplay issues, but I can confirm the inability to logout, shut down, or restarft without a forced, power button shut down. I can also report frequent System Prefs freezes and finder issues, like folder contents taking half a minuite or more to render, or not appearing at all. And while a few Adobe CC apps actually ran faster, InDesign ran like molasses uphill in Decemner.
    I tried uninstalling or disabling numerous 3rd party apps and pref panes. I unplugged everything but the keyboard, ran DiskWarrier, repaired permissions, did fsck -f, trashed various preference files, reinstalled the OS... You name it, and I tried it — short of a potion using eye of newt.
    After two days of totally hosed productivity, I restored OS 10.8.5 on the Mini so I could actually get some work done. However, I've decided to leave Mavericks on the MBP as a sort of crash dummy, and will install and thoroughly test all updates until stability has been achieved. Then — and only then — will I upgrade the Mini to Mavericks, even if it means waiting 'til a .2 or even .3 update.
    Good luck to you...

  • TS1468 I am having trouble with two cover flows duplicating themselves more than once, is there anyone out there that can help me with this, they are not duplicated in my itunes library, just the ipod.

    I am having trouble with two cover flows on my IPOD, duplicating themselves more than once, they haven't duplicated themselves in my Itunes library, just the ipod, could anyone have any ideas on how I could fix this problem. I have tried so many times, even if I restore the ipod, it still does the same thing. Please if possible email me at [email protected] with any suggestions.

    Aha! I have sorted it.
    For those with similar problems, the solution is this:
    Macintosh HD > Library > Audio > MIDI Drivers
    Then delete DigiDioMidiDriver.plugin

  • Trouble With Opening InDesign and now Photoshop and Illustrator

    First off I apologize if this isn't in the correct section. I couldn't find a section specific to my problem since it involves multiple aspects of Adobe products. I was having trouble with InDesign, it kept crashing. So I followed all of the advice I could find on the forums about deleting the preferences and cache information in the Library folder, and that didn't seem to make a difference. So then I thought maybe it needed an update, so I logged into Adobe Application Manager and sure enough, it did. So I clicked on "download" and it stalled there too. Then the manager became unresponsive. I couldn't cancel the update or log out or anything. So then I saw in the forum someone suggested the Adobe Creative Cloud Cleaner Tool if your manager becomes unresponsive. I ran that and then shut my computer off. When I turned it back on, InDesign started working BUT my Photoshop is completely gone from my system (I never messed with it in the first place since I wasn't having any trouble with it.) And the when I tried to click on Illustrator it said "Do you want to begin your trial?" Huh?
    I have had a subscription since 2012, why on earth would it suddenly think that I no longer should have access to these programs? If I log on to my Adobe account it shows my subscription and that it's up to date (last payment was April 5, 2015). The versions I was using were the CS versions that I had downloaded directly from Adobe and when I used to have any trouble or when I got a different computer I could just log into my account and then redownload them. They are no longer showing under my products, so I can't figure out what on earth is going on. The website has changed since the last time I downloaded them, so that partly could be me, but I thought they would at least be showing up under products. I contacted Adobe support and the first person I talked to on chat said "this is clearly a technical issue I am transferring you to someone better suited for this," but that's all he said. And I haven't heard from anyone since so I thought I'd make a topic and see if anyone else out there has had a similar problem.

    The versions I am using are the CS6 versions.*

  • Trouble with CCME 4 and VIC2-2FXO; IOS 12.4(9)T

    Trouble with CCME 4 and VIC2-2FXO; IOS 12.4(9)T
    I am having trouble making outgoing call or answering incoming call.
    When I try to call out from my IP 7961 phone, it fails with the message "unknown number".
    For incoming call, it rings but when I pick up the call nothing happens,
    Put the receiver back on hook, the phone carries on ringing. I am in UK
    and just trying to set up test system with one analogue line. Any help will
    be most appreciated. My config of the 2811 router is posted below. All calls ineternally works fine.
    Thank you for your help.
    hostname Test-CME
    ip cef
    no ip dhcp use vrf connected
    ip dhcp excluded-address 10.10.10.1 10.10.10.10
    ip dhcp excluded-address 10.139.139.1 10.139.139.10
    ip dhcp pool host
    network 10.10.10.0 255.255.255.0
    default-router 10.10.10.1
    option 150 ip 10.10.10.1
    ip dhcp pool data
    network 10.139.139.0 255.255.255.0
    default-router 10.139.139.1
    dns-server 10.139.139.5
    voice-card 0
    no dspfarm
    voice service voip
    allow-connections h323 to h323
    allow-connections h323 to sip
    allow-connections sip to h323
    allow-connections sip to sip
    supplementary-service h450.12
    h323
    sip
    header-passing
    registrar server expires max 3600 min 3600
    interface FastEthernet0/1
    no ip address
    no ip mroute-cache
    duplex auto
    speed auto
    no shut
    interface FastEthernet0/1.2
    description ** Data VLAN **
    encapsulation dot1Q 2
    ip address 10.139.139.1 255.255.255.0
    interface FastEthernet0/1.3
    description ** Voice VLAN **
    encapsulation dot1Q 3
    ip address 10.10.10.1 255.255.255.0
    ip http server
    ip http authentication local
    no ip http secure-server
    ip http path flash:
    tftp-server flash:S00104000100.sbn
    tftp-server flash:TERM41.7-0-3-0S.loads
    tftp-server flash:term61.default.loads
    tftp-server flash:term41.default.loads
    tftp-server flash:CVM41.2-0-2-26.sbn
    tftp-server flash:cnu41.2-7-6-26.sbn
    tftp-server flash:Jar41.2-9-2-26.sbn
    tftp-server flash:term70.default.loads
    tftp-server flash:term71.default.loads
    tftp-server flash:cnu70.2-7-6-26.sbn
    tftp-server flash:Jar70.2-9-2-26.sbn
    tftp-server flash:TERM70.7-0-3-0S.loads
    tftp-server flash:CVM70.2-0-2-26.sbn
    control-plane
    voice-port 0/3/0
    connection plar opx 202
    caller-id enable
    dial-peer voice 1 pots
    incoming called-number .
    destination-pattern 9T
    port 0/3/0
    telephony-service
    load 7914 S00104000100
    load 7941 TERM41.7-0-3-0S
    load 7961 TERM41.7-0-3-0S
    load 7970 TERM70.7-0-3-0S
    max-ephones 20
    max-dn 40
    ip source-address 10.10.10.1 port 2000
    calling-number initiator
    service phone videoCapability 1
    system message MKC CME
    url services http://10.10.10.1/voiceview/common/login.do
    url authentication
    http://10.10.10.1/voiceview/authentication/authenticate.do
    time-zone 21
    date-format dd-mm-yy
    voicemail 600
    max-conferences 8 gain -6
    call-forward pattern .T
    call-forward system redirecting-expanded
    moh music-on-hold.au
    web admin system name admin secret 0 test
    dn-webedit
    time-webedit
    transfer-system full-consult dss
    transfer-pattern 9.T
    secondary-dialtone 9
    create cnf-files
    ephone-dn 1 dual-line
    number 201
    label 201
    description Sarah
    name Sarah
    ephone-dn 2 dual-line
    number 202
    label 202
    description Vitthal
    name User2 Vitthal
    ephone-dn 3 dual-line
    number 203 secondary
    label 203
    description Neil
    name User3 Neil
    ephone 1
    video
    username "user1" password 201
    mac-address 0018.18EE.947F
    type 7961 addon 1 7914
    button 1:1
    ephone 2
    video
    username "user2" password 202
    mac-address 0018.18BB.B973
    type 7941
    button 1:2
    ephone 3
    video
    username "user3" password 203
    mac-address 0018.1885.6BA2
    type 7970
    button 1:3

    Hi
    Please find enclosed debug attachment for voice ccapi and ephone. First, I called from outside. Extension 202 rings but when I answered on extension 202 nothing happens. Replace the rceiever and the pone starts ringing again.Second step. I tried to call out by dialing 9 and then number but after a while phone displays unknown number.
    Thank you for your help.
    Vitthal

  • Select from two tables and insert into a third

    I'm trying to do a select from two tables and do an insert into a third table from the two resulting columns.
    I have the following....
    DECLARE
    tempsid number;
    temphostid number;
    BEGIN
    select "DBSID_ID","ID" into tempsid,temphostid from "DBSIDS","SERVERS"
    where "HOST_SID" like '%'||"DBSID_NAME"||'%'
    and "HOST_NAME" not like 'vio%'
    and exists (select "DBSID_NAME" from DBSIDS)
    order by "DBSID_NAME";
    insert into "DBSID_LOOKUP" ("SIDLOOKUP_ID", "SERVERLOOKUP_ID")
    values(tempsid, temphostsid);
    END;
    run;
    I get the error ....
    ORA-06550: line 11, column 18:
    PL/SQL: ORA-00984: column not allowed here
    ORA-06550: line 10, column 1:
    PL/SQL: SQL Statement ignored
    1. DECLARE
    2. tempsid number;
    3. temphostid number;

    okay ... I tried a different way ...
    DECLARE
    a number;
    b number;
    BEGIN
    select "DBSID_ID","ID" into a,b from "DBSIDS","SERVERS"
    where "HOST_SID" like '%'||"DBSID_NAME"||'%'
    and "HOST_NAME" not like 'vio%'
    and exists (select "DBSID_NAME" from DBSIDS)
    order by "DBSID_NAME";
    insert into "DBSID_LOOKUP" (SIDLOOKUP_ID, SERVERLOOKUP_ID) values (a, b);
    END;
    and now it whines about ...
    ORA-01422: exact fetch returns more than requested number of rows

  • Pie chart with two measures and date dimension navigation not working

    Hi Experts,
    Pie chart with two measures and date dimension navigation not working. Any help is appreciated.
    Thanks
    V

    Hi Deepak,
    I had time dimension in the RPD.
    I have stacked bar chart with same time dim like year & month in the report. when I go to legand and set navigation it is working fine. But not with pie chart.
    I am not not sure what is the problem. When I click on Pie chart it is not navigating to the target report. Can it be any other issues..???

Maybe you are looking for

  • Which ASCII Characters are acceptable?

    I'm trying to clean up my iPhoto library so it'll sync with my iPhone. One possible cause I've seen mentioned here is the use of non-standard ASCII characters in Keywords, Album names, etc. Can you wise folks provide a bit more info here? FIRST QUEST

  • What is a good Lavaliere system

    I need a good, clear, relatively inexpensive (<$1000) Lavaliere mic for a Panasonic Pro AG-HVX200A 3CCD P2/DVCPRO 1080i High Definition Camcorder?

  • MII Display

    Hi, I am creating the charts for usage material from ERP , I have extracted the usage details from the ERP and show up in the charts but I dont see the dates scroll below the charts. Can someone help me with this. P.S : I have even selected the Time

  • BAPI needed for goods receipt for delivery created from sales order

    Hi experts, I need help. I want to post goods receipt for the delivery created from sales order. I have tried out BAPI BAPI_GOODSMVT_CREATE but I am not able to post it. Is there any way to post this? I need BAPI and not FM MB_*.... Thanks & REgards,

  • Win clone wont work

    He i start winclone an about 15 minuets after it starts i get an error. The are code is 30 and it tels me to go into windows and type something into the cmd module. I have done this and tried again and it still does not work. Please Help!!