Select with timestamp in the where-clause don't work after importing data

Hello,
I have to databases (I call them db1 and db2, they have the same datastructure) and exported some data from the table "rfm_meas"from db1. Later on I imported that dataset into the "rfm_meas"-table of db2. The table contains a col with the datatype "timestamp(6)" and checking the success of the import looks fine:
(executed on db2)
SELECT
id,acqtime
from
rfm_meas
WHERE
box_id=1
AND id>145029878
Returns two rows:
ID ACQTIME
145029883 01.06.10 10:30:00,000000000
145029884 01.06.10 10:50:00,000000000
It seems there are valid timestamps as I expected.
But if I now want to select all rows from box_id=1 which are newer than e.g. 25-may-2010 I would try this:
SELECT
id,acqtime
from
rfm_meas
WHERE
box_id=1
AND acqtime>=to_timestamp('25-05-2010 17:10:00,000','DD-MM-YYYY HH24:MI:SS,FF3')
And it returns ... nothing!? If I execute the same query on db1 it works correctly.
I guess db1 and db2 has different codepages!?
If I insert some rows from a PL/SQL script in db2 into the "rfm_meas"-table, querys like the one above works fine. Therefore i guess, during importing the data there must be something wrong, so I cann see the timestamp, but can't use it.
How can i fix that? Any ideas?
If someone need more details I will provide it.
Regards
Steffen

check this link out
Importing timestamp columns appears to use to_date instead of to_timestamp

Similar Messages

  • Function-based index with OR in the wher-clause

    We have some problems with functin-based indexes and
    the or-condition in a where-clause.
    --We use Oracle 8i (8.1.7)
    create table TPERSON(ID number(10),NAME varchar2(20),...);
    create index I_NORMAL_TPERSON_NAME on TPERSON(NAME);
    create index I_FUNCTION_TPERSON_NAME on TPERSON(UPPER(NAME));
    The following two statements run very fast on a large table
    and the execution-plan asure the usage of the indexes
    (-while the session is appropriate configured and the table is analyzed):
    1)     select count(ID) FROM TPERSON where upper(NAME) like 'MIL%';
    2)     select count(ID) from TPERSON where NAME like 'Mil%' or (3=5);
    In particular we see that a normal index is used while the where-clause contains
    an OR-CONDITION.
    But if we try the similarly select-statement
    3)     select count(ID) FROM TPERSON where upper(NAME) like 'MIL%' or (3=5);
    the CBO will not use the function-index I_FUNCTION_TPERSON_NAME and we have a full table scan in the execution-plan.
    (This behavior we only expect with views but not with indexes.)
    We ask for an advice like a hint, which enable the CBO-usage
    of function-based indexes in connection with OR.
    This problem seems to be artificial because it contains this dummy logic:
         or (3=5).
    This steams from an prepared statement, where this kind of boolean
    flag reduce the amount of different select-statements needed for
    covering the hole business-logic, while using bind-variables for the
    concrete query-parameters.
    A more realistic (still boild down) version of our select-statement is:
    select * FROM TPERSON
    where (upper(NAME) like 'MIL%' or (NAME is null))
    and (upper(FIRSTNAME) like 'MICH% or (FIRSTNAME is null))
    and ...;
    thank you for time..
    email: [email protected]

    In the realistic statement you write :
    select * FROM TPERSON
    where (upper(NAME) like 'MIL%' or (NAME is null))
    and (upper(FIRSTNAME) like 'MICH% or (FIRSTNAME is null))
    and ...;
    as far as i know, NULL values are not indexed, "or (NAME is NULL)" have to generate a full table scan.
    HTH
    We have some problems with functin-based indexes and
    the or-condition in a where-clause.
    --We use Oracle 8i (8.1.7)
    create table TPERSON(ID number(10),NAME varchar2(20),...);
    create index I_NORMAL_TPERSON_NAME on TPERSON(NAME);
    create index I_FUNCTION_TPERSON_NAME on TPERSON(UPPER(NAME));
    The following two statements run very fast on a large table
    and the execution-plan asure the usage of the indexes
    (-while the session is appropriate configured and the table is analyzed):
    1)     select count(ID) FROM TPERSON where upper(NAME) like 'MIL%';
    2)     select count(ID) from TPERSON where NAME like 'Mil%' or (3=5);
    In particular we see that a normal index is used while the where-clause contains
    an OR-CONDITION.
    But if we try the similarly select-statement
    3)     select count(ID) FROM TPERSON where upper(NAME) like 'MIL%' or (3=5);
    the CBO will not use the function-index I_FUNCTION_TPERSON_NAME and we have a full table scan in the execution-plan.
    (This behavior we only expect with views but not with indexes.)
    We ask for an advice like a hint, which enable the CBO-usage
    of function-based indexes in connection with OR.
    This problem seems to be artificial because it contains this dummy logic:
         or (3=5).
    This steams from an prepared statement, where this kind of boolean
    flag reduce the amount of different select-statements needed for
    covering the hole business-logic, while using bind-variables for the
    concrete query-parameters.
    A more realistic (still boild down) version of our select-statement is:
    select * FROM TPERSON
    where (upper(NAME) like 'MIL%' or (NAME is null))
    and (upper(FIRSTNAME) like 'MICH% or (FIRSTNAME is null))
    and ...;
    thank you for time..
    email: [email protected]

  • Transitions don't work after importing a project from Premiere to AE

    I've imported a project from Premiere CS3 to AE CS3 and all my transition (fade + wipes) are now solids and they don't work on timeline or on exports, but they still show in my sequence.
    How can I make AE use those transition again so I don't have to go through all project and keyframe transitions.
    Notice that I use Cineform and that those transition are Cineform's one; hope that doesn't cause the problem since AE uses CF too.
    Thnak you for your time and interest in my problem.

    fredou_79 wrote:
    Notice that I use Cineform and that those transition are Cineform's one; hope that doesn't cause the problem since AE uses CF too.
    Exactly the problem. AE is only to able to translate a few transitions, which include the normal cross-disolve, linear wipe, dip-to-color and a few others, but since those routines are hard-coded in the Premiere Pro Importer, they have no way f doing the same for third-party products. So more or less you will have to rebuild your stuff, either by using the proper transitions in PPro or in AE.
    Mylenium

  • The Firewire Disk don't work After Snow Leopard 10.6.1

    Dear Apple friend
    I've a big problem... I've 6 firewire external hard disk (400 and 800) with my work.
    And now I can use it after Snow Leopard update to 10.6.1.
    How I can resolve it???
    I need to work!!!!
    thanks
    Walter from Italy

    Have you reset the FireWire bus? Did you try a different cable?
    If so and things still don't function properly your only choice may be rolling back the system.
    If you search these forums and with Google you will find lots of issues like these. If you need these disks to work your only choice is to roll back your system software.

  • Why the flash player don't work after installing the video downloader add-on?

    I've installed and uninstall the Firefox mobile app several times to try and fix this issue. Every time I add the video downloader add-on the flash player won't let me tap to play videos anymore. I've tried to completely enable the flash but still didn't work. I've used this add on for a few months and it worked fine up until the last Firefox update. Without the add-on the flash player works fine but after I've added the video downloader add-on I would have to uninstall and reinstall the mobile spot to get the flash to work again. I really love to use this add-on that's the advantage that Firefox mobile app has over other web browser. Please tell me how I can fix this issue. THANKS

    Hello FRYDAE
    Welcome to SuMo help Forum,
    Thankyou for reaching us here
    About your problem , have you tried to clear your privacy/browsing data? And see if flash works?
    And you can try to disable the add-on, if you don't want to use it . and enable it again if you want to download a video .
    Cheers!

  • Raw files that suddenly don't work after importing

    All of a sudden This happens: when I import  my Raw files from my OM-D EM-5 to Aperture 3.5.1 I get the error message "Unsupported image format"! I have not changed anything and this makes my use of Aperture very diffecult! I have to first import the raw files into IPhoto - this works ok and then import the jpeg's into Aperture - I have reinstalled Aperture and this still happens - so now Aperture is allmost useless to me. Please help I work with loads of pics daily and will have to swich to another program if this is the end of Aperture - I have also installed Mavericks and my guess is that the problem lies there :-(
    I don't know if there is a connection between this and Color Efx Pro that I also use
    My setup is:
    Modelnavn:
    Mac mini
      Model-id:
    Macmini6,2
      Processornavn:
    Intel Core i7
      Processorhastighed:
    2,3 GHz
      Antal processorer:
    1
      Antal kerner i alt:
    4
      L2-buffer (pr. Core):
    256 KB
      L3-buffer:
    6 MB
      Hukommelse:
    16 GB
      Boot ROM-version:
    MM61.0106.B03
      SMC-version (system):
    2.8f0
      Serienummer (system):
    C07JM12UDWYM
      Hardware-uuid:
    BE2DFD20-39E0-5FC7-AC73-98BE6A118500

    I think things started to go wierd after the update! I changed the library - made a new one and the problem still exists! Now Aperture also crashes when uploading to FB ..strange. I get this Crashreport:
    Process:    
    Aperture [998]
    Path:       
    /Applications/Aperture.app/Contents/MacOS/Aperture
    Identifier: 
    com.apple.Aperture
    Version:    
    3.5.1 (3.5.1)
    Build Info: 
    Aperture-451099000000000~1
    App Item ID:
    408981426
    App External ID: 107312636
    Code Type:  
    X86-64 (Native)
    Parent Process:  launchd [174]
    Responsible:
    Aperture [998]
    User ID:    
    502
    Date/Time:  
    2013-11-21 15:02:51.473 +0100
    OS Version: 
    Mac OS X 10.9 (13A603)
    Report Version:  11
    Anonymous UUID:  A3708C0E-0D19-47A8-3F71-1E2E726258DE
    Crashed Thread:  0  Dispatch queue: ILPhotoAlbum persistence dictionary queue
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: EXC_I386_GPFLT
    Application Specific Information:
    objc_msgSend() selector name: isEqual:
    Thread 0 Crashed:: Dispatch queue: ILPhotoAlbum persistence dictionary queue
    0   libobjc.A.dylib          
    0x00007fff8a045097 objc_msgSend + 23
    1   com.apple.CoreFoundation 
    0x00007fff866f58a5 -[__NSDictionaryM objectForKey:] + 149
    2   com.apple.RedRock        
    0x000000010b336b26 convertToHgCollection + 544
    3   com.apple.RedRock        
    0x000000010b336b31 convertToHgCollection + 555
    4   com.apple.RedRock        
    0x000000010b336b31 convertToHgCollection + 555
    5   com.apple.RedRock        
    0x000000010b34902e -[RKAlbum setValue:forKey:forIdentifier:] + 60
    6   com.apple.Aperture       
    0x000000010adcb91e 0x10a933000 + 4819230
    7   libdispatch.dylib        
    0x00007fff8bc682ad _dispatch_client_callout + 8
    8   libdispatch.dylib        
    0x00007fff8bc6a8a1 _dispatch_source_invoke + 413
    9   libdispatch.dylib        
    0x00007fff8bc6a633 _dispatch_queue_drain + 359
    10  libdispatch.dylib        
    0x00007fff8bc6b9dd _dispatch_queue_invoke + 110
    11  libdispatch.dylib        
    0x00007fff8bc6feaa _dispatch_main_queue_callback_4CF + 244
    12  com.apple.CoreFoundation 
    0x00007fff86761839 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
    13  com.apple.CoreFoundation 
    0x00007fff8671cb14 __CFRunLoopRun + 1636
    14  com.apple.CoreFoundation 
    0x00007fff8671c275 CFRunLoopRunSpecific + 309
    15  com.apple.HIToolbox      
    0x00007fff87f02f0d RunCurrentEventLoopInMode + 226
    16  com.apple.HIToolbox      
    0x00007fff87f02cb7 ReceiveNextEventCommon + 479
    17  com.apple.HIToolbox      
    0x00007fff87f02abc _BlockUntilNextEventMatchingListInModeWithFilter + 65
    18  com.apple.AppKit         
    0x00007fff8a21728e _DPSNextEvent + 1434
    19  com.apple.AppKit         
    0x00007fff8a2168db -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
    20  com.apple.Aperture       
    0x000000010ad9ee61 0x10a933000 + 4636257
    21  com.apple.AppKit         
    0x00007fff8a20a9cc -[NSApplication run] + 553
    22  com.apple.prokit         
    0x000000010c18cdca NSProApplicationMain + 333
    23  com.apple.Aperture       
    0x000000010a942cc0 0x10a933000 + 64704
    24  com.apple.Aperture       
    0x000000010a942664 0x10a933000 + 63076
    Thread 1:: Dispatch queue: com.apple.libdispatch-manager
    0   libdispatch.dylib        
    0x00007fff8bc6d103 _dispatch_kevent_unregister + 36
    1   libdispatch.dylib        
    0x00007fff8bc6e590 _dispatch_source_kevent_unregister + 139
    2   libdispatch.dylib        
    0x00007fff8bc6a80f _dispatch_source_invoke + 267
    3   libdispatch.dylib        
    0x00007fff8bc6a633 _dispatch_queue_drain + 359
    4   libdispatch.dylib        
    0x00007fff8bc6a4b1 _dispatch_mgr_queue_drain + 26
    5   libdispatch.dylib        
    0x00007fff8bc6a384 _dispatch_mgr_invoke + 54
    6   libdispatch.dylib        
    0x00007fff8bc6a152 _dispatch_mgr_thread + 52
    Thread 2:
    0   libsystem_kernel.dylib   
    0x00007fff82b17e6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib  
    0x00007fff8cd2bf08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib  
    0x00007fff8cd2efb9 start_wqthread + 13
    Thread 3:
    0   libsystem_kernel.dylib   
    0x00007fff82b17716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib  
    0x00007fff8cd2cc77 _pthread_cond_wait + 787
    2   com.apple.Foundation     
    0x00007fff85d8f8d0 -[NSCondition waitUntilDate:] + 344
    3   com.apple.Foundation     
    0x00007fff85d86778 -[NSConditionLock lockWhenCondition:beforeDate:] + 232
    4   com.apple.proxtcore      
    0x000000010ce60d17 -[XTMsgQueue waitForMessage] + 46
    5   com.apple.proxtcore      
    0x000000010ce6086c -[XTThread run:] + 322
    6   com.apple.Foundation     
    0x00007fff85dbe70b __NSThread__main__ + 1318
    7   libsystem_pthread.dylib  
    0x00007fff8cd2a899 _pthread_body + 138
    8   libsystem_pthread.dylib  
    0x00007fff8cd2a72a _pthread_start + 137
    9   libsystem_pthread.dylib  
    0x00007fff8cd2efc9 thread_start + 13
    Thread 4:
    0   libsystem_kernel.dylib   
    0x00007fff82b17716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib  
    0x00007fff8cd2cc77 _pthread_cond_wait + 787
    2   com.apple.Foundation     
    0x00007fff85d8f8d0 -[NSCondition waitUntilDate:] + 344
    3   com.apple.Foundation     
    0x00007fff85d86778 -[NSConditionLock lockWhenCondition:beforeDate:] + 232
    4   com.apple.proxtcore      
    0x000000010ce60d17 -[XTMsgQueue waitForMessage] + 46
    5   com.apple.proxtcore      
    0x000000010ce6086c -[XTThread run:] + 322
    6   com.apple.Foundation     
    0x00007fff85dbe70b __NSThread__main__ + 1318
    7   libsystem_pthread.dylib  
    0x00007fff8cd2a899 _pthread_body + 138
    8   libsystem_pthread.dylib  
    0x00007fff8cd2a72a _pthread_start + 137
    9   libsystem_pthread.dylib  
    0x00007fff8cd2efc9 thread_start + 13
    Thread 5:
    0   libsystem_kernel.dylib   
    0x00007fff82b17716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib  
    0x00007fff8cd2cc77 _pthread_cond_wait + 787
    2   com.apple.Foundation     
    0x00007fff85d8f8d0 -[NSCondition waitUntilDate:] + 344
    3   com.apple.Foundation     
    0x00007fff85d86778 -[NSConditionLock lockWhenCondition:beforeDate:] + 232
    4   com.apple.proxtcore      
    0x000000010ce60d17 -[XTMsgQueue waitForMessage] + 46
    5   com.apple.proxtcore      
    0x000000010ce6086c -[XTThread run:] + 322
    6   com.apple.Foundation     
    0x00007fff85dbe70b __NSThread__main__ + 1318
    7   libsystem_pthread.dylib  
    0x00007fff8cd2a899 _pthread_body + 138
    8   libsystem_pthread.dylib  
    0x00007fff8cd2a72a _pthread_start + 137
    9   libsystem_pthread.dylib  
    0x00007fff8cd2efc9 thread_start + 13
    Thread 6:
    0   libsystem_kernel.dylib   
    0x00007fff82b17716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib  
    0x00007fff8cd2cc77 _pthread_cond_wait + 787
    2   com.apple.Foundation     
    0x00007fff85d8f8d0 -[NSCondition waitUntilDate:] + 344
    3   com.apple.Foundation     
    0x00007fff85d86778 -[NSConditionLock lockWhenCondition:beforeDate:] + 232
    4   com.apple.proxtcore      
    0x000000010ce60d17 -[XTMsgQueue waitForMessage] + 46
    5   com.apple.proxtcore      
    0x000000010ce6086c -[XTThread run:] + 322
    6   com.apple.Foundation     
    0x00007fff85dbe70b __NSThread__main__ + 1318
    7   libsystem_pthread.dylib  
    0x00007fff8cd2a899 _pthread_body + 138
    8   libsystem_pthread.dylib  
    0x00007fff8cd2a72a _pthread_start + 137
    9   libsystem_pthread.dylib  
    0x00007fff8cd2efc9 thread_start + 13
    Thread 7:
    0   libsystem_kernel.dylib   
    0x00007fff82b17716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib  
    0x00007fff8cd2cc77 _pthread_cond_wait + 787
    2   com.apple.Foundation     
    0x00007fff85d8f8d0 -[NSCondition waitUntilDate:] + 344
    3   com.apple.Foundation     
    0x00007fff85d86778 -[NSConditionLock lockWhenCondition:beforeDate:] + 232
    4   com.apple.proxtcore      
    0x000000010ce60d17 -[XTMsgQueue waitForMessage] + 46
    5   com.apple.proxtcore      
    0x000000010ce6086c -[XTThread run:] + 322
    6   com.apple.Foundation     
    0x00007fff85dbe70b __NSThread__main__ + 1318
    7   libsystem_pthread.dylib  
    0x00007fff8cd2a899 _pthread_body + 138
    8   libsystem_pthread.dylib  
    0x00007fff8cd2a72a _pthread_start + 137
    9   libsystem_pthread.dylib  
    0x00007fff8cd2efc9 thread_start + 13
    Thread 8:
    0   libsystem_kernel.dylib   
    0x00007fff82b17716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib  
    0x00007fff8cd2cc77 _pthread_cond_wait + 787
    2   com.apple.Foundation     
    0x00007fff85d8f8d0 -[NSCondition waitUntilDate:] + 344
    3   com.apple.Foundation     
    0x00007fff85d86778 -[NSConditionLock lockWhenCondition:beforeDate:] + 232
    4   com.apple.proxtcore      
    0x000000010ce60d17 -[XTMsgQueue waitForMessage] + 46
    5   com.apple.proxtcore      
    0x000000010ce6086c -[XTThread run:] + 322
    6   com.apple.Foundation     
    0x00007fff85dbe70b __NSThread__main__ + 1318
    7   libsystem_pthread.dylib  
    0x00007fff8cd2a899 _pthread_body + 138
    8   libsystem_pthread.dylib  
    0x00007fff8cd2a72a _pthread_start + 137
    9   libsystem_pthread.dylib  
    0x00007fff8cd2efc9 thread_start + 13
    Thread 9:
    0   libsystem_kernel.dylib   
    0x00007fff82b17716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib  
    0x00007fff8cd2cc77 _pthread_cond_wait + 787
    2   com.apple.Foundation     
    0x00007fff85d8f8d0 -[NSCondition waitUntilDate:] + 344
    3   com.apple.Foundation     
    0x00007fff85d86778 -[NSConditionLock lockWhenCondition:beforeDate:] + 232
    4   com.apple.proxtcore      
    0x000000010ce60d17 -[XTMsgQueue waitForMessage] + 46
    5   com.apple.proxtcore      
    0x000000010ce6086c -[XTThread run:] + 322
    6   com.apple.Foundation     
    0x00007fff85dbe70b __NSThread__main__ + 1318
    7   libsystem_pthread.dylib  
    0x00007fff8cd2a899 _pthread_body + 138
    8   libsystem_pthread.dylib  
    0x00007fff8cd2a72a _pthread_start + 137
    9   libsystem_pthread.dylib  
    0x00007fff8cd2efc9 thread_start + 13
    Thread 10:: com.apple.NSURLConnectionLoader
    0   libsystem_kernel.dylib   
    0x00007fff82b13a1a mach_msg_trap + 10
    1   libsystem_kernel.dylib   
    0x00007fff82b12d18 mach_msg + 64
    2   com.apple.CoreFoundation 
    0x00007fff8671d315 __CFRunLoopServiceMachPort + 181
    3   com.apple.CoreFoundation 
    0x00007fff8671c939 __CFRunLoopRun + 1161
    4   com.apple.CoreFoundation 
    0x00007fff8671c275 CFRunLoopRunSpecific + 309
    5   com.apple.Foundation     
    0x00007fff85dbe907 +[NSURLConnection(Loader) _resourceLoadLoop:] + 348
    6   com.apple.Foundation     
    0x00007fff85dbe70b __NSThread__main__ + 1318
    7   libsystem_pthread.dylib  
    0x00007fff8cd2a899 _pthread_body + 138
    8   libsystem_pthread.dylib  
    0x00007fff8cd2a72a _pthread_start + 137
    9   libsystem_pthread.dylib  
    0x00007fff8cd2efc9 thread_start + 13
    Thread 11:: Dispatch queue: com.apple.RedRock.RKInfoDictionaryMgr
    0   libobjc.A.dylib          
    0x00007fff8a04509b objc_msgSend + 27
    1   com.apple.CoreFoundation 
    0x00007fff866f585d -[__NSDictionaryM objectForKey:] + 77
    2   com.apple.CoreFoundation 
    0x00007fff866fa2dc -[NSDictionary __apply:context:] + 204
    3   com.apple.CoreFoundation 
    0x00007fff866eec65 CFDictionaryApplyFunction + 197
    4   com.apple.CoreFoundation 
    0x00007fff866f6003 __CFPropertyListIsValidAux + 323
    5   com.apple.CoreFoundation 
    0x00007fff866fa6e6 __CFPropertyListIsDictPlistAux + 246
    6   com.apple.CoreFoundation 
    0x00007fff866fa2ef -[NSDictionary __apply:context:] + 223
    7   com.apple.CoreFoundation 
    0x00007fff866eec65 CFDictionaryApplyFunction + 197
    8   com.apple.CoreFoundation 
    0x00007fff866f6003 __CFPropertyListIsValidAux + 323
    9   com.apple.CoreFoundation 
    0x00007fff867047bd CFPropertyListWrite + 125
    10  com.apple.CoreFoundation 
    0x00007fff86704632 CFPropertyListWriteToStream + 194
    11  com.apple.Foundation     
    0x00007fff85dd5f44 +[NSPropertyListSerialization dataFromPropertyList:format:errorDescription:] + 66
    12  com.apple.RedRock        
    0x000000010b3c39ae +[RKInfoDictionaryWriteOperation dataForInfoDictionary:] + 48
    13  com.apple.RedRock        
    0x000000010b3c390c +[RKDatabaseComponent writeInfoFileAtPath:withInfo:] + 53
    14  com.apple.RedRock        
    0x000000010b3c2d46 -[RKInfoDictionaryMgr writeModelForModelId:ofClass:usingContext:] + 492
    15  com.apple.RedRock        
    0x000000010b370ac6 -[RKInfoDictionaryMgr writeInfoDictionaries:withFlush:] + 717
    16  com.apple.RedRock        
    0x000000010b370088 -[RKInfoDictionaryMgr writeSomeInfoDictionaries] + 757
    17  libdispatch.dylib        
    0x00007fff8bc6b1d7 _dispatch_call_block_and_release + 12
    18  libdispatch.dylib        
    0x00007fff8bc682ad _dispatch_client_callout + 8
    19  libdispatch.dylib        
    0x00007fff8bc6a68f _dispatch_queue_drain + 451
    20  libdispatch.dylib        
    0x00007fff8bc6b9dd _dispatch_queue_invoke + 110
    21  libdispatch.dylib        
    0x00007fff8bc69fa3 _dispatch_root_queue_drain + 75
    22  libdispatch.dylib        
    0x00007fff8bc6b193 _dispatch_worker_thread2 + 40
    23  libsystem_pthread.dylib  
    0x00007fff8cd2bef8 _pthread_wqthread + 314
    24  libsystem_pthread.dylib  
    0x00007fff8cd2efb9 start_wqthread + 13
    Thread 12:: com.apple.CFSocket.private
    0   libsystem_kernel.dylib   
    0x00007fff82b179aa __select + 10
    1   com.apple.CoreFoundation 
    0x00007fff86768d43 __CFSocketManager + 867
    2   libsystem_pthread.dylib  
    0x00007fff8cd2a899 _pthread_body + 138
    3   libsystem_pthread.dylib  
    0x00007fff8cd2a72a _pthread_start + 137
    4   libsystem_pthread.dylib  
    0x00007fff8cd2efc9 thread_start + 13
    Thread 13:
    0   libsystem_kernel.dylib   
    0x00007fff82b13a1a mach_msg_trap + 10
    1   libsystem_kernel.dylib   
    0x00007fff82b12d18 mach_msg + 64
    2   com.apple.CoreFoundation 
    0x00007fff8671d315 __CFRunLoopServiceMachPort + 181
    3   com.apple.CoreFoundation 
    0x00007fff8671c939 __CFRunLoopRun + 1161
    4   com.apple.CoreFoundation 
    0x00007fff8671c275 CFRunLoopRunSpecific + 309
    5   com.apple.AppKit         
    0x00007fff8a3b71ce _NSEventThread + 144
    6   libsystem_pthread.dylib  
    0x00007fff8cd2a899 _pthread_body + 138
    7   libsystem_pthread.dylib  
    0x00007fff8cd2a72a _pthread_start + 137
    8   libsystem_pthread.dylib  
    0x00007fff8cd2efc9 thread_start + 13
    Thread 14:
    0   libsystem_kernel.dylib   
    0x00007fff82b17716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib  
    0x00007fff8cd2cc77 _pthread_cond_wait + 787
    2   com.apple.Foundation     
    0x00007fff85d8f8d0 -[NSCondition waitUntilDate:] + 344
    3   com.apple.Foundation     
    0x00007fff85d86778 -[NSConditionLock lockWhenCondition:beforeDate:] + 232
    4   com.apple.proxtcore      
    0x000000010ce60d17 -[XTMsgQueue waitForMessage] + 46
    5   com.apple.proxtcore      
    0x000000010ce6086c -[XTThread run:] + 322
    6   com.apple.Foundation     
    0x00007fff85dbe70b __NSThread__main__ + 1318
    7   libsystem_pthread.dylib  
    0x00007fff8cd2a899 _pthread_body + 138
    8   libsystem_pthread.dylib  
    0x00007fff8cd2a72a _pthread_start + 137
    9   libsystem_pthread.dylib  
    0x00007fff8cd2efc9 thread_start + 13
    Thread 15:: Dispatch queue: com.apple.photo.modelcache
    0   libsystem_kernel.dylib   
    0x00007fff82b13b16 syscall_thread_switch + 10
    1   libsystem_platform.dylib 
    0x00007fff83571f30 _os_lock_handoff_lock_slow + 79
    2   libobjc.A.dylib          
    0x00007fff8a04996e _objc_rootRetain_slow + 25
    3   libobjc.A.dylib          
    0x00007fff8a05d36e -[NSObject retain] + 126
    4   com.apple.iLifeSQLAccess 
    0x000000010d00ba94 __35-[HgEntity cachedModelForIdNumber:]_block_invoke + 57
    5   libdispatch.dylib        
    0x00007fff8bc682ad _dispatch_client_callout + 8
    6   libdispatch.dylib        
    0x00007fff8bc6f3cf _dispatch_sync_f_invoke + 39
    7   com.apple.iLifeSQLAccess 
    0x000000010cfd1345 -[HgEntity cachedModelForIdNumber:] + 174
    8   com.apple.iLifeSQLAccess 
    0x000000010cfe10c7 -[HgEntity cachedModelForId:] + 78
    9   com.apple.iLifeSQLAccess 
    0x000000010cfe4a1c -[HgEntity cachedModelsForIdList:notFound:] + 245
    10  com.apple.iLifeSQLAccess 
    0x000000010cfe5daf -[HgModelFilter idListForArgs:limitedToIds:] + 980
    11  com.apple.iLifeSQLAccess 
    0x000000010cfe598f -[HgModelFilter modelsForArgs:limitedToIds:] + 32
    12  com.apple.iLifeSQLAccess 
    0x000000010d0008fd -[HgEntity modelsFromQuery:] + 209
    13  com.apple.iLifeSQLAccess 
    0x000000010cfd57b0 +[HgModel modelsFromDatabase:where:] + 195
    14  com.apple.Aperture       
    0x000000010abbbe0d 0x10a933000 + 2657805
    15  com.apple.Foundation     
    0x00007fff85d86406 -[NSObject(NSKeyValueCoding) valueForKey:] + 381
    16  com.apple.Foundation     
    0x00007fff85d9e49f -[NSObject(NSKeyValueCoding) valueForKeyPath:] + 334
    17  com.apple.Aperture       
    0x000000010ad0c595 0x10a933000 + 4035989
    18  com.apple.Aperture       
    0x000000010ad0c5ca 0x10a933000 + 4036042
    19  com.apple.Aperture       
    0x000000010ad0c9af 0x10a933000 + 4037039
    20  com.apple.Aperture       
    0x000000010ad0c7ea 0x10a933000 + 4036586
    21  libdispatch.dylib        
    0x00007fff8bc6b1d7 _dispatch_call_block_and_release + 12
    22  libdispatch.dylib        
    0x00007fff8bc682ad _dispatch_client_callout + 8
    23  libdispatch.dylib        
    0x00007fff8bc6a09e _dispatch_root_queue_drain + 326
    24  libdispatch.dylib        
    0x00007fff8bc6b193 _dispatch_worker_thread2 + 40
    25  libsystem_pthread.dylib  
    0x00007fff8cd2bef8 _pthread_wqthread + 314
    26  libsystem_pthread.dylib  
    0x00007fff8cd2efb9 start_wqthread + 13
    Thread 16:
    0   libsystem_kernel.dylib   
    0x00007fff82b17e6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib  
    0x00007fff8cd2bf08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib  
    0x00007fff8cd2efb9 start_wqthread + 13
    Thread 17:: Dispatch queue: com.apple.root.default-overcommit-priority
    0   libobjc.A.dylib          
    0x00007fff8a0480f2 objc_release + 34
    1   libobjc.A.dylib          
    0x00007fff8a04765a (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 502
    2   libdispatch.dylib        
    0x00007fff8bc6a0ea _dispatch_root_queue_drain + 402
    3   libdispatch.dylib        
    0x00007fff8bc6b193 _dispatch_worker_thread2 + 40
    4   libsystem_pthread.dylib  
    0x00007fff8cd2bef8 _pthread_wqthread + 314
    5   libsystem_pthread.dylib  
    0x00007fff8cd2efb9 start_wqthread + 13
    Thread 18:
    0   libsystem_kernel.dylib   
    0x00007fff82b17e6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib  
    0x00007fff8cd2bf08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib  
    0x00007fff8cd2efb9 start_wqthread + 13
    Thread 19:
    0   libsystem_kernel.dylib   
    0x00007fff82b17e6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib  
    0x00007fff8cd2bf08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib  
    0x00007fff8cd2efb9 start_wqthread + 13
    Thread 20:
    0   libsystem_kernel.dylib   
    0x00007fff82b17e6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib  
    0x00007fff8cd2bf08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib  
    0x00007fff8cd2efb9 start_wqthread + 13
    Thread 21:
    0   libsystem_kernel.dylib   
    0x00007fff82b13a56 semaphore_wait_trap + 10
    1   libdispatch.dylib        
    0x00007fff8bc6ca15 _dispatch_semaphore_wait_slow + 206
    2   com.apple.CFNetwork      
    0x00007fff81a9b4cb CFURLConnectionSendSynchronousRequest + 427
    3   com.apple.Foundation     
    0x00007fff85ef63c0 +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 154
    4   com.apple.iPhoto.FacebookPublisher
    0x000000011a3fcac4 0x11a3e8000 + 84676
    5   com.apple.iPhoto.FacebookPublisher
    0x000000011a3f051d 0x11a3e8000 + 34077
    6   com.apple.iPhoto.FacebookPublisher
    0x000000011a3f6864 0x11a3e8000 + 59492
    7   com.apple.proxtcore      
    0x000000010ce5e23c -[XTDistributor distributeMessage:] + 664
    8   com.apple.proxtcore      
    0x000000010ce5da2f -[XTThread handleMessage:] + 337
    9   com.apple.proxtcore      
    0x000000010ce6d7bf -[XTPortMsgQueue handleMachMessage:] + 165
    10  com.apple.Foundation     
    0x00007fff85dc1e35 __NSFireMachPort + 94
    11  com.apple.CoreFoundation 
    0x00007fff8672bd04 __CFMachPortPerform + 388
    12  com.apple.CoreFoundation 
    0x00007fff8672bb69 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41
    13  com.apple.CoreFoundation 
    0x00007fff8672bade __CFRunLoopDoSource1 + 478
    14  com.apple.CoreFoundation 
    0x00007fff8671cbd6 __CFRunLoopRun + 1830
    15  com.apple.CoreFoundation 
    0x00007fff8671c275 CFRunLoopRunSpecific + 309
    16  com.apple.Foundation     
    0x00007fff85dc0a7c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 253
    17  com.apple.proxtcore      
    0x000000010ce7dff5 -[XTRunLoopThread run:] + 343
    18  com.apple.Foundation     
    0x00007fff85dbe70b __NSThread__main__ + 1318
    19  libsystem_pthread.dylib  
    0x00007fff8cd2a899 _pthread_body + 138
    20  libsystem_pthread.dylib  
    0x00007fff8cd2a72a _pthread_start + 137
    21  libsystem_pthread.dylib  
    0x00007fff8cd2efc9 thread_start + 13
    Thread 22:
    0   libsystem_kernel.dylib   
    0x00007fff82b17716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib  
    0x00007fff8cd2cc77 _pthread_cond_wait + 787
    2   com.apple.Foundation     
    0x00007fff85d8f8d0 -[NSCondition waitUntilDate:] + 344
    3   com.apple.Foundation     
    0x00007fff85d86778 -[NSConditionLock lockWhenCondition:beforeDate:] + 232
    4   com.apple.Aperture       
    0x000000010ae19e3e 0x10a933000 + 5140030
    5   com.apple.proxtcore      
    0x000000010ce5e5a7 -[XTList makeObjectsPerformSelector:withObject:] + 59
    6   com.apple.proxtcore      
    0x000000010ce5e25d -[XTDistributor distributeMessage:] + 697
    7   com.apple.proxtcore      
    0x000000010ce5da2f -[XTThread handleMessage:] + 337
    8   com.apple.proxtcore      
    0x000000010ce6087c -[XTThread run:] + 338
    9   com.apple.Foundation     
    0x00007fff85dbe70b __NSThread__main__ + 1318
    10  libsystem_pthread.dylib  
    0x00007fff8cd2a899 _pthread_body + 138
    11  libsystem_pthread.dylib  
    0x00007fff8cd2a72a _pthread_start + 137
    12  libsystem_pthread.dylib  
    0x00007fff8cd2efc9 thread_start + 13
    Thread 23:
    0   libsystem_kernel.dylib   
    0x00007fff82b17716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib  
    0x00007fff8cd2cc77 _pthread_cond_wait + 787
    2   com.apple.Foundation     
    0x00007fff85d8f8d0 -[NSCondition waitUntilDate:] + 344
    3   com.apple.Foundation     
    0x00007fff85d86778 -[NSConditionLock lockWhenCondition:beforeDate:] + 232
    4   com.apple.proxtcore      
    0x000000010ce60d17 -[XTMsgQueue waitForMessage] + 46
    5   com.apple.proxtcore      
    0x000000010ce6086c -[XTThread run:] + 322
    6   com.apple.Foundation     
    0x00007fff85dbe70b __NSThread__main__ + 1318
    7   libsystem_pthread.dylib  
    0x00007fff8cd2a899 _pthread_body + 138
    8   libsystem_pthread.dylib  
    0x00007fff8cd2a72a _pthread_start + 137
    9   libsystem_pthread.dylib  
    0x00007fff8cd2efc9 thread_start + 13
    Thread 24:
    0   libsystem_kernel.dylib   
    0x00007fff82b13a56 semaphore_wait_trap + 10
    1   libdispatch.dylib        
    0x00007fff8bc6ca15 _dispatch_semaphore_wait_slow + 206
    2   com.apple.CFNetwork      
    0x00007fff81a9b4cb CFURLConnectionSendSynchronousRequest + 427
    3   com.apple.Foundation     
    0x00007fff85ef63c0 +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 154
    4   com.apple.iPhoto.FacebookPublisher
    0x000000011a3fcac4 0x11a3e8000 + 84676
    5   com.apple.iPhoto.FacebookPublisher
    0x000000011a3ed0e5 0x11a3e8000 + 20709
    6   com.apple.iPhoto.FacebookPublisher
    0x000000011a3f3bea 0x11a3e8000 + 48106
    7   com.apple.Aperture       
    0x000000010ae13d9e 0x10a933000 + 5115294
    8   com.apple.Aperture       
    0x000000010ae19469 0x10a933000 + 5137513
    9   com.apple.proxtcore      
    0x000000010ce5e23c -[XTDistributor distributeMessage:] + 664
    10  com.apple.proxtcore      
    0x000000010ce5da2f -[XTThread handleMessage:] + 337
    11  com.apple.proxtcore      
    0x000000010ce6087c -[XTThread run:] + 338
    12  com.apple.Foundation     
    0x00007fff85dbe70b __NSThread__main__ + 1318
    13  libsystem_pthread.dylib  
    0x00007fff8cd2a899 _pthread_body + 138
    14  libsystem_pthread.dylib  
    0x00007fff8cd2a72a _pthread_start + 137
    15  libsystem_pthread.dylib  
    0x00007fff8cd2efc9 thread_start + 13
    Thread 25:
    0   libsystem_kernel.dylib   
    0x00007fff82b17716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib  
    0x00007fff8cd2cc77 _pthread_cond_wait + 787
    2   com.apple.Foundation     
    0x00007fff85d8f8d0 -[NSCondition waitUntilDate:] + 344
    3   com.apple.Foundation     
    0x00007fff85d86778 -[NSConditionLock lockWhenCondition:beforeDate:] + 232
    4   com.apple.proxtcore      
    0x000000010ce60d17 -[XTMsgQueue waitForMessage] + 46
    5   com.apple.proxtcore      
    0x000000010ce6086c -[XTThread run:] + 322
    6   com.apple.Foundation     
    0x00007fff85dbe70b __NSThread__main__ + 1318
    7   libsystem_pthread.dylib  
    0x00007fff8cd2a899 _pthread_body + 138
    8   libsystem_pthread.dylib  
    0x00007fff8cd2a72a _pthread_start + 137
    9   libsystem_pthread.dylib  
    0x00007fff8cd2efc9 thread_start + 13
    Thread 26:
    0   libsystem_kernel.dylib   
    0x00007fff82b13a1a mach_msg_trap + 10
    1   libsystem_kernel.dylib   
    0x00007fff82b12d18 mach_msg + 64
    2   com.apple.CoreFoundation 
    0x00007fff8671d315 __CFRunLoopServiceMachPort + 181
    3   com.apple.CoreFoundation 
    0x00007fff8671c939 __CFRunLoopRun + 1161
    4   com.apple.CoreFoundation 
    0x00007fff8671c275 CFRunLoopRunSpecific + 309
    5   com.apple.Foundation     
    0x00007fff85dc0a7c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 253
    6   com.apple.proxtcore      
    0x000000010ce7dff5 -[XTRunLoopThread run:] + 343
    7   com.apple.Foundation     
    0x00007fff85dbe70b __NSThread__main__ + 1318
    8   libsystem_pthread.dylib  
    0x00007fff8cd2a899 _pthread_body + 138
    9   libsystem_pthread.dylib  
    0x00007fff8cd2a72a _pthread_start + 137
    10  libsystem_pthread.dylib  
    0x00007fff8cd2efc9 thread_start + 13
    Thread 27:: com.apple.appkit-heartbeat
    0   libsystem_kernel.dylib   
    0x00007fff82b17a3a __semwait_signal + 10
    1   libsystem_c.dylib        
    0x00007fff8c6bfe60 nanosleep + 200
    2   libsystem_c.dylib        
    0x00007fff8c6bfd52 usleep + 54
    3   com.apple.AppKit         
    0x00007fff8a47b2ad -[NSUIHeartBeat _heartBeatThread:] + 2132
    4   com.apple.Foundation     
    0x00007fff85dbe70b __NSThread__main__ + 1318
    5   libsystem_pthread.dylib  
    0x00007fff8cd2a899 _pthread_body + 138
    6   libsystem_pthread.dylib  
    0x00007fff8cd2a72a _pthread_start + 137
    7   libsystem_pthread.dylib  
    0x00007fff8cd2efc9 thread_start + 13
    Thread 28:
    0   libsystem_kernel.dylib   
    0x00007fff82b17e6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib  
    0x00007fff8cd2bf08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib  
    0x00007fff8cd2efb9 start_wqthread + 13
    Thread 29:: Dispatch queue: RKPublishedServiceManager AlbumList
    0   com.apple.CoreFoundation 
    0x00007fff86702d1c __CFNumberGetValue + 1900
    1   com.apple.CoreFoundation 
    0x00007fff867024fa __CFNumberHash + 122
    2   com.apple.CoreFoundation 
    0x00007fff86719b90 -[__NSSetM addObject:] + 320
    3   com.apple.iLifeSQLAccess 
    0x000000010cfd17d1 -[HgLockedSet addObject:] + 87
    4   com.apple.RedRock        
    0x000000010b3e2965 -[RKAlbum _storageDictionaryDidChange] + 34
    5   com.apple.Aperture       
    0x000000010abedf82 0x10a933000 + 2862978
    6   com.apple.Aperture       
    0x000000010abee9c0 0x10a933000 + 2865600
    7   com.apple.Aperture       
    0x000000010abf56f8 0x10a933000 + 2893560
    8   com.apple.proxtcore      
    0x000000010ce5e5a7 -[XTList makeObjectsPerformSelector:withObject:] + 59
    9   com.apple.proxtcore      
    0x000000010ce5e25d -[XTDistributor distributeMessage:] + 697
    10  com.apple.proxtcore      
    0x000000010ce5da2f -[XTThread handleMessage:] + 337
    11  com.apple.proxtcore      
    0x000000010ce5d4b3 __42-[XTDispatchMsgQueue triggerDispatchQueue]_block_invoke + 157
    12  libdispatch.dylib        
    0x00007fff8bc6b1d7 _dispatch_call_block_and_release + 12
    13  libdispatch.dylib        
    0x00007fff8bc682ad _dispatch_client_callout + 8
    14  libdispatch.dylib        
    0x00007fff8bc6a68f _dispatch_queue_drain + 451
    15  libdispatch.dylib        
    0x00007fff8bc6b9dd _dispatch_queue_invoke + 110
    16  libdispatch.dylib        
    0x00007fff8bc69fa3 _dispatch_root_queue_drain + 75
    17  libdispatch.dylib        
    0x00007fff8bc6b193 _dispatch_worker_thread2 + 40
    18  libsystem_pthread.dylib  
    0x00007fff8cd2bef8 _pthread_wqthread + 314
    19  libsystem_pthread.dylib  
    0x00007fff8cd2efb9 start_wqthread + 13
    Thread 30:
    0   libsystem_kernel.dylib   
    0x00007fff82b17e6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib  
    0x00007fff8cd2bf08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib  
    0x00007fff8cd2efb9 start_wqthread + 13
    Thread 31:
    0   libsystem_kernel.dylib   
    0x00007fff82b17e6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib  
    0x00007fff8cd2bf08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib  
    0x00007fff8cd2efb9 start_wqthread + 13
    Thread 32:
    0   libsystem_kernel.dylib   
    0x00007fff82b17e6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib  
    0x00007fff8cd2bf08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib  
    0x00007fff8cd2efb9 start_wqthread + 13
    Thread 33:
    0   libsystem_kernel.dylib   
    0x00007fff82b17e6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib  
    0x00007fff8cd2bf08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib  
    0x00007fff8cd2efb9 start_wqthread + 13
    Thread 34:
    0   libsystem_kernel.dylib   
    0x00007fff82b17e6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib  
    0x00007fff8cd2bf08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib  
    0x00007fff8cd2efb9 start_wqthread + 13
    Thread 35:
    0   libsystem_kernel.dylib   
    0x00007fff82b17e6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib  
    0x00007fff8cd2bf08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib  
    0x00007fff8cd2efb9 start_wqthread + 13
    Thread 36:
    0   libsystem_kernel.dylib   
    0x00007fff82b17e6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib  
    0x00007fff8cd2bf08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib  
    0x00007fff8cd2efb9 start_wqthread + 13
    Thread 0 crashed with X86 Thread State (64-bit):
      rax: 0x0000600001270680  rbx: 0x0000000000000001  rcx: 0x0000000000000000  rdx: 0x000000011a41c010
      rdi: 0x000060000126ca40  rsi: 0x00007fff8ac4220c  rbp: 0x00007fff552cae10  rsp: 0x00007fff552cadc8
       r8: 0x000000011a407cd3   r9: 0x00007fff723a4232  r10: 0x00007fff8ac4220c  r11: 0xbadda769443ebead
      r12: 0x0000000000000001  r13: 0x0000000000000007  r14: 0x0000000000000007  r15: 0x000000011a41c010
      rip: 0x00007fff8a045097  rfl: 0x0000000000010246  cr2: 0xffffff8215d88004
    Logical CPU:
    4
    Error Code: 
    0x00000000
    Trap Number:
    13
    Binary Images:
    0x10a933000 -   
    0x10b06aff7  com.apple.Aperture (3.5.1 - 3.5.1) <50B75DAA-B018-3E70-A420-850D10B97864> /Applications/Aperture.app/Contents/MacOS/Aperture
    0x10b285000 -   
    0x10b291ff7  com.apple.PhotoFoundation (1.0 - 350.59) <06537576-1E09-3DD2-9941-976256BF3E9F> /Applications/Aperture.app/Contents/Frameworks/PhotoFoundation.framework/Versio ns/A/PhotoFoundation
    0x10b316000 -   
    0x10b896ff7  com.apple.RedRock (1.9.4 - 451.54) <BD0ADA68-5CAE-333D-9703-1047236E614C> /Applications/Aperture.app/Contents/Frameworks/RedRock.framework/Versions/A/Red Rock
    0x10be5a000 -   
    0x10bedeff7  com.apple.iLifePageLayoutCore (1.0 - 350.80) <99E6A976-9A93-3BE4-9EE3-FB5110E196CE> /Applications/Aperture.app/Contents/Frameworks/iLifePageLayoutCore.framework/Ve rsions/A/iLifePageLayoutCore
    0x10bf90000 -   
    0x10bf96fff  com.apple.iLifePhotoStreamConfiguration (3.4 - 2.5) <0746F490-6D75-3B03-882C-83CAC50F8E28> /Applications/Aperture.app/Contents/Frameworks/iLifePhotoStreamConfiguration.fr amework/Versions/A/iLifePhotoStreamConfiguration
    0x10bfa2000 -   
    0x10bfd7fff  com.apple.iLifeAssetManagement (2.7 - 351.33) <51A7DCD2-22A4-360C-B88B-019C534A8B16> /Applications/Aperture.app/Contents/Frameworks/iLifeAssetManagement.framework/V ersions/A/iLifeAssetManagement
    0x10c00f000 -   
    0x10c01dfff  com.apple.iphoto.AccountConfigurationPlugin (1.2 - 1.2) <194D9D00-0BEA-3449-A768-EFF940C894C1> /Applications/Aperture.app/Contents/Frameworks/AccountConfigurationPlugin.frame work/Versions/A/AccountConfigurationPlugin
    0x10c036000 -   
    0x10c0daff7  com.apple.MobileMe (13 - 1.0.4) <8DBF5D94-566D-3BFD-88B8-2A124F6443F9> /Applications/Aperture.app/Contents/Frameworks/MobileMe.framework/Versions/A/Mo bileMe
    0x10c157000 -   
    0x10c162ff7  com.apple.PluginManager (1.7.6 - 55) <8D74F68E-E0A4-38A9-94EE-87AB0BDBD58F> /Library/Frameworks/PluginManager.framework/Versions/B/PluginManager
    0x10c171000 -   
    0x10c370ff7  com.apple.prokit (8.0 - 5015) <E80E117A-3411-3E5A-99D2-C308E99680EC> /Applications/Aperture.app/Contents/Frameworks/ProKit.framework/Versions/A/ProK it
    0x10c4f0000 -   
    0x10c831ff7  com.apple.iLifeSlideshow (3.1.2 - 1152.19) <6195B32E-8D46-35CB-B414-6BD23D5AACF2> /Applications/Aperture.app/Contents/Frameworks/iLifeSlideshow.framework/Version s/A/iLifeSlideshow
    0x10c9b7000 -   
    0x10c9cffff  com.apple.iLifeFaceRecognition (1.0 - 30.11) <92532466-DEE7-393E-8235-75DAE18518D4> /Applications/Aperture.app/Contents/Frameworks/iLifeFaceRecognition.framework/V ersions/A/iLifeFaceRecognition
    0x10c9e7000 -   
    0x10ca20fff  com.apple.fayray.PrintServices (920131014 - 11.10) <B09AE396-20BE-3720-934E-464AF6E78AA1> /Applications/Aperture.app/Contents/Frameworks/PrintServices.framework/Versions /A/PrintServices
    0x10ca84000 -   
    0x10cab8fff  com.apple.ProUtils (1.1 - 450.14) <CC1C90BD-D6F3-35B0-B6EB-AF8A27FF4395> /Applications/Aperture.app/Contents/Frameworks/ProUtils.framework/Versions/A/Pr oUtils
    0x10caf5000 -   
    0x10ccedff7  com.apple.geode (1.5.3 - 450.60) <26674230-C470-399B-8570-61A433E3D6B4> /Applications/Aperture.app/Contents/Frameworks/Geode.framework/Versions/A/Geode
    0x10ce59000 -   
    0x10ced4fff  com.apple.proxtcore (1.4.1 - 450.46) <E356790A-74BD-3262-AF6C-5388EC429312> /Applications/Aperture.app/Contents/Frameworks/ProXTCore.framework/Versions/A/P roXTCore
    0x10cf8f000 -   
    0x10d0aafff  com.apple.iLifeSQLAccess (1.7.1 - 350.17) <279E076B-2590-3DD6-9A19-F9AEE87C97DF> /Applications/Aperture.app/Contents/Frameworks/iLifeSQLAccess.framework/Version s/A/iLifeSQLAccess
    0x10d17a000 -   

  • Query in the where clause is not allowed

    Hi all,
    I have a table m_vehicle that stores 1 or more than 1 rows of data for each person. But the partner's schema requires that 0 or 1 vehicle license plate data be sent with the xml file. I have the following nested select statement inside a bigger one and it does not work,
    select xmlelement("VehicleLicensePlate",
         (case when mv.lic_plate_state is not null then
              xmlelement("PlateState", mv.lic_plate_state)
         end), -- end of plate state
         (case when mv.lic_plate_no is not null then
              xmlelement("PlateNumber", xmlelement("ID", mv.lic_plate_no))
         end),
         (case when mv.lic_plate_year is not null then
              xmlelement("PlateExpiryYear", mv.lic_plate_year)                                                  
         end)
         ).extract('/*')
    from m_vehicle mv where mv.mni_id = 1083650
    and mv.seq_no = (select max(mv2.seq_no) from m_vehicle mv2
    where mv2.mni_id = mv.mni_id) and mv.lic_plate_no is not null
    But it works when I run it alone and gets the latest row for the person. It does not work either if I join this table with other tables. My root element select is from dual because I have to supply lots of SOAP and other artifacts in the xml. Is it because I have this root select from dual that the query in the where clause does not work? How do I make it work so that I get 0 or one row only from the table? My solution was to write a function that returns each part of the license plate data using dymanic sql and call it in the xmlelement function. It works but I would like to use plain sql instead.
    Thanks.
    Ben

    By the way, the error I get is this,
    ERROR:
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00216: invalid character 3 (0x3)
    Error at line 1
    ORA-06512: at "SYS.XMLTYPE", line 111
    Ben

  • Mm.mysql JDBC Driver and the WHERE clause

    Anybody has succesfully performed a MySQL/JDBC query in a JSP application using more than one variable in the WHERE clause?
    It works fine when I run queries with one fixed value assigned to a column and one variable assigned to the other column in the WHERE clause; but when I do it with more than one variable in the WHERE clause, it screws up throwing an error.
    I wonder if it is a code error, a syntax error or if it is something tricky about the mm.mysql JDBC Driver. Following is a section of the code and the error. The variables are s_description and s_status. I read some examples in a book but they use SQL Server. Thank you in advance for any information.
    CODE:
    <% String sqlStatement = "" ; %>
    <% String s_description = "Mexican Style Rice" ; %>
    <% String s_status = "available" ; %>
    <% java.sql.Statement stmt = con.createStatement(java.sql.ResultSet.TYPE_SCROLL_INSENSITIVE, java.sql.ResultSet.CONCUR_UPDATABLE); %>
    <% java.sql.ResultSet rs ; %>
    <% sqlStatement = "SELECT code, description, status FROM products WHERE products.description =" + s_description + " AND products.status =" + s_status + ";" ;%>
    <% rs = stmt.executeQuery(sqlStatement); %>
    <% rs.beforeFirst(); %>
    <% while (rs.next()) { %>
    <% rs.updateString(3, "sold"); %>
    <% rs.updateRow(); %>
    <% }%>
    <% rs.close(); %>
    This is the ERROR it throws
    java.sql.SQLException: Column not found: Unknown column 'available' in 'where clause'
         at org.gjt.mm.mysql.MysqlIO.sendCommand(MysqlIO.java:497)
         at org.gjt.mm.mysql.MysqlIO.sqlQueryDirect(MysqlIO.java:550)
         at org.gjt.mm.mysql.MysqlIO.sqlQuery(MysqlIO.java:635)
         at org.gjt.mm.mysql.Connection.execSQL(Connection.java:882)
         at org.gjt.mm.mysql.Connection.execSQL(Connection.java:815)
         at org.gjt.mm.mysql.Statement.executeQuery(Statement.java:169)
         at org.gjt.mm.mysql.jdbc2.Statement.executeQuery(Statement.java:78)
         at pagecompile._GetFood_xjsp._jspService(_GetFood_xjsp.java:45)
         at com.newatlanta.servletexec.JSP10HttpJspPage.service(JSP10HttpJspPage.java:41)
         at com.newatlanta.servletexec.JSP10Servlet.service(JSP10Servlet.java:779)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.newatlanta.servletexec.ServletExec.CallServletService(ServletExec.java:1679)
         at com.newatlanta.servletexec.ServletExec.processServletRequest(ServletExec.java:1654)
         at com.newatlanta.servletexec.ServletExec.processServletAlias(ServletExec.java:1602)
         at com.newatlanta.servletexec.ServletExec.ProcessRequest(ServletExec.java:1343)
         at com.newatlanta.servletexec.ServletExec.ProcessRequest(ServletExec.java:1113)

    I think perhaps this sentence has problems:
    <% sqlStatement = "SELECT code, description, status FROM products WHERE products.description =" + s_description + " AND products.status =" + s_status + ";" ;%>
    You can
    <% sqlStatement = "SELECT code, description, status FROM products WHERE products.description ='" + s_description + "' AND products.status = '" + s_status + "'" ;%>
    You perhaps ignore the ���� when using String variable s_description and s_status.
    Hope this will help you. Good lucky!

  • Using if logic in the where clause of a select statement

    I have a select clause. And in the select clause there is a variable all_off_trt that can be 'Y' or 'N'.
    In the where clause I want to make it so that if a form variable is checked and all_off_trt is 'Y' then
    exclude it else if the form variable isn't checked then select it no matter what all_off_trt is.
    Is there any way to include either and if statement or a case statement within the where clause to acheive this? If not is there another way of doing it?
    Basically I am looking for a case statement like this
    case
    when all_off_trt = 'Y' and mail_para.code = 'Y' then false
    else true
    end
    Message was edited by:
    Tugnutt7

    Ok, so that really doesn't solve my problem. I have 3 different fields that I need to do that with. Each combining in a select statement to print an email list, as well as other thing limiting the where clause.
    This is currently what I have, tested and working 100%.
    cursor email_cur is
         select unique p.email,s.all_off_trt,s.all_deceased,s.no_enroll
    from participant p, trialcom t, ethics s
    where p.status='A'
    and p.surname=t.surname
    and p.initials=t.initials
    and s.trial_cd = t.tricom
    and s.centre = t.centre
    and p.email is not null
    and (t.centre in (select code from mail_parameters where user_name=user and mail_para='CENTRE')
    or 'XX' in (select code from mail_parameters where user_name=user and mail_para='CENTRE'))
    and (t.tricom in (select code from mail_parameters where user_name=user and mail_para='TRIAL')
    or 'XX' in (select code from mail_parameters where user_name=user and mail_para='TRIAL'))
    and (t.role in (select code from mail_parameters where user_name=user and mail_para='ROLE')
    or 'XX' in (select code from mail_parameters where user_name=user and mail_para='ROLE'))
    and (p.country in (select code from mail_parameters where user_name=user and mail_para='COUNTRY')
    or 'XX' in (select code from mail_parameters where user_name=user and mail_para='COUNTRY'))
    and (t.represent in (select code from mail_parameters where user_name=user and mail_para='REPRESENT')
    or 'XX' in (select code from mail_parameters where user_name=user and mail_para='REPRESENT'));
    This is in a program unit that runs when a button is clicked. At the end of that I need to add on the 3 case statements that help further narrow down the selection of emails to be printed. Then it prints the emails selected from this statement into a file. So it has to be done right in the select statement. The three table variables are the all_off_trt, all_deceased, and no_enroll. The form has 3 checkboxes. One for each, that when checked (giving the variable associated with the checkboxes a value of 'Y') excludes all emails that have a 'Y' in the coresponding table variable.

  • Re: [iPlanet-JATO] How to make an OR in the WHERE clause of a SELECT

    Harry,
    If you get a reference to your model, you can set the
    whereClauseOverride with exactly the string you want to use. Keep in
    mind that you are dealing with a the raw SQL where clause, therefore,
    you must use the actual table column names and not the model's logical
    field names as they could be different.
    QueryModelBase queryModel = (QueryModelBase)getModel(PersonModel.class);
    // you must add the "WHERE" as well
    String whereClause = "WHERE firstName LIKE '%max' OR lastName LIKE '%max%'";
    queryModel.setWhereClauseOverride(whereClause);
    Keep in mind that this will override all where criteria: static and
    dynamic where criteria. Static criteria can be declared in your model
    class: setStaticWhereCriteriaString(STATIC_WHERE_CRITERIA).
    You could optionally get the entire SQL statement and replace the
    __WHERE__ token yourself with a string replace technique. In fact, if
    you want to add an ORDER BY, you will need to get the SQL and append to
    the end.
    queryModel.getSelectSQL();
    Hope this helps. Let me know if you have any questions
    craig
    hlamer wrote:
    Hi,
    if I add criterias to my model
    with "SelectQueryModel.addUserWhereCriterion()" they will be concated
    with AND.
    How can I add a criteria with OR?
    I want something like:
    SELECT personId, firstName, lastName
    FROM Person
    WHERE firstName LIKE "%max"
    OR lastName LIKE "%max%"
    Thanks.
    Harry
    For more information about JATO, including download information, please visit:
    http://developer.iplanet.com/tech/appserver/framework/index.jsp

    Rewritten your query wuth tags as well
    &#123;code&#125;select  "P_CIRCUITS_FIBER"."PORTS_1",
            "P_CIRCUITS_FIBER"."PORTS_2",
            CASE WHEN CPORT.ID = (select REGEXP_SUBSTR(ports_1,'[^,]+',1,1) from p_circuits_fiber)
                 THEN "CPORT"."PORT_NO" END PORT_NO_1,
            CASE WHEN CPORT.ID = (select REGEXP_SUBSTR(ports_2,'[^,]+',1,1) from p_circuits_fiber)
                 THEN "CPORT"."PORT_NO" END PORT_NO_2
    from    "CPORT",
            "P_CIRCUITS_FIBER"
    where   p_circuits_fiber.fiber_id = :P4000_CIRCUIT_NO
    and     (select REGEXP_SUBSTR(ports_1,'[^,]+',1,1) from p_circuits_fiber) = "CPORT"."PORT_NO"  "PORT_NO_1"
    and     (select REGEXP_SUBSTR(ports_2,'[^,]+',1,1) from p_circuits_fiber) = "CPORT"."PORT_NO"  "PORT_NO_2"&#123;code&#125;
    Now we can see two columns references which should not be there.
    I even not sure to understand why those two conditions are in the WHERE clause. But for sure, CPORT.ID cannot be equal to two values unless they are same.
    Is there only one row in p_circuits_fiber ?
    Nicolas.

  • Performance with dates in the where clause

    Performance with dates in the where clause
    CREATE TABLE TEST_DATA
    FNUMBER NUMBER,
    FSTRING VARCHAR2(4000 BYTE),
    FDATE DATE
    create index t_indx on test_data(fdata);
    query 1: select count(*) from TEST_DATA where trunc(fdate) = trunc(sysdate);
    query 2: select count(*) from TEST_DATA where fdate between trunc(sysdate) and trunc(SYSDATE) + .99999;
    query 3: select count(*) from TEST_DATA where fdate between to_date('21-APR-10', 'dd-MON-yy') and to_date('21-APR-10 23:59:59', 'DD-MON-YY hh24:mi:ss');
    My questions:
    1) Why isn't the index t_indx used in Execution plan 1?
    2) From the execution plan, I see that query 2 & 3 is better than query 1. I do not see any difference between execution plan 2 & 3. Which one is better?
    3) I read somewhere - "Always check the Access Predicates and Filter Predicates of Explain Plan carefully to determine which columns are contributing to a Range Scan and which columns are merely filtering the returned rows. Be sceptical if the same clause is shown in both."
    Is that true for Execution plan 2 & 3?
    3) Could some one explain what the filter & access predicate mean here?
    Thanks in advance.
    Execution Plan 1:
    SQL> select count(*) from TEST_DATA where trunc(fdate) = trunc(sysdate);
    COUNT(*)
    283
    Execution Plan
    Plan hash value: 1486387033
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 9 | 517 (20)| 00:00:07 |
    | 1 | SORT AGGREGATE | | 1 | 9 | | |
    |* 2 | TABLE ACCESS FULL| TEST_DATA | 341 | 3069 | 517 (20)| 00:00:07 |
    Predicate Information (identified by operation id):
    2 - filter(TRUNC(INTERNAL_FUNCTION("FDATE"))=TRUNC(SYSDATE@!))
    Note
    - dynamic sampling used for this statement
    Statistics
    4 recursive calls
    0 db block gets
    1610 consistent gets
    0 physical reads
    0 redo size
    412 bytes sent via SQL*Net to client
    380 bytes received via SQL*Net from client
    2 SQL*Net roundtrips to/from client
    0 sorts (memory)
    0 sorts (disk)
    1 rows processed
    Execution Plan 2:
    SQL> select count(*) from TEST_DATA where fdate between trunc(sysdate) and trunc(SYSDATE) + .99999;
    COUNT(*)
    283
    Execution Plan
    Plan hash value: 1687886199
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 9 | 3 (0)| 00:00:01 |
    | 1 | SORT AGGREGATE | | 1 | 9 | | |
    |* 2 | FILTER | | | | | |
    |* 3 | INDEX RANGE SCAN| T_INDX | 283 | 2547 | 3 (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    2 - filter(TRUNC(SYSDATE@!)<=TRUNC(SYSDATE@!)+.9999884259259259259259
    259259259259259259)
    3 - access("FDATE">=TRUNC(SYSDATE@!) AND
    "FDATE"<=TRUNC(SYSDATE@!)+.999988425925925925925925925925925925925
    9)
    Note
    - dynamic sampling used for this statement
    Statistics
    7 recursive calls
    0 db block gets
    76 consistent gets
    0 physical reads
    0 redo size
    412 bytes sent via SQL*Net to client
    380 bytes received via SQL*Net from client
    2 SQL*Net roundtrips to/from client
    0 sorts (memory)
    0 sorts (disk)
    1 rows
    Execution Plan 3:
    SQL> select count(*) from TEST_DATA where fdate between to_date('21-APR-10', 'dd-MON-yy') and to_dat
    e('21-APR-10 23:59:59', 'DD-MON-YY hh24:mi:ss');
    COUNT(*)
    283
    Execution Plan
    Plan hash value: 1687886199
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 9 | 3 (0)| 00:00:01 |
    | 1 | SORT AGGREGATE | | 1 | 9 | | |
    |* 2 | FILTER | | | | | |
    |* 3 | INDEX RANGE SCAN| T_INDX | 283 | 2547 | 3 (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    2 - filter(TO_DATE('21-APR-10','dd-MON-yy')<=TO_DATE('21-APR-10
    23:59:59','DD-MON-YY hh24:mi:ss'))
    3 - access("FDATE">=TO_DATE('21-APR-10','dd-MON-yy') AND
    "FDATE"<=TO_DATE('21-APR-10 23:59:59','DD-MON-YY hh24:mi:ss'))
    Note
    - dynamic sampling used for this statement
    Statistics
    7 recursive calls
    0 db block gets
    76 consistent gets
    0 physical reads
    0 redo size
    412 bytes sent via SQL*Net to client
    380 bytes received via SQL*Net from client
    2 SQL*Net roundtrips to/from client
    0 sorts (memory)
    0 sorts (disk)
    1 rows processed

    Hi,
    user10541890 wrote:
    Performance with dates in the where clause
    CREATE TABLE TEST_DATA
    FNUMBER NUMBER,
    FSTRING VARCHAR2(4000 BYTE),
    FDATE DATE
    create index t_indx on test_data(fdata);Did you mean fdat<b>e</b> (ending in e)?
    Be careful; post the code you're actually running.
    query 1: select count(*) from TEST_DATA where trunc(fdate) = trunc(sysdate);
    query 2: select count(*) from TEST_DATA where fdate between trunc(sysdate) and trunc(SYSDATE) + .99999;
    query 3: select count(*) from TEST_DATA where fdate between to_date('21-APR-10', 'dd-MON-yy') and to_date('21-APR-10 23:59:59', 'DD-MON-YY hh24:mi:ss');
    My questions:
    1) Why isn't the index t_indx used in Execution plan 1?To use an index, the indexed column must stand alone as one of the operands. If you had a function-based index on TRUNC (fdate), then it might be used in Query 1, because the left operand of = is TRUNC (fdate).
    2) From the execution plan, I see that query 2 & 3 is better than query 1. I do not see any difference between execution plan 2 & 3. Which one is better?That depends on what you mean by "better".
    If "better" means faster, you've already shown that one is about as good as the other.
    Queries 2 and 3 are doing different things. Assuming the table stays the same, Query 2 may give different results every day, but the results of Query 3 will never change.
    For clarity, I prefer:
    WHERE     fdate >= TRUNC (SYSDATE)
    AND     fdate <  TRUNC (SYSDATE) + 1(or replace SYSDATE with a TO_DATE expression, depending on the requirements).
    3) I read somewhere - "Always check the Access Predicates and Filter Predicates of Explain Plan carefully to determine which columns are contributing to a Range Scan and which columns are merely filtering the returned rows. Be sceptical if the same clause is shown in both."
    Is that true for Execution plan 2 & 3?
    3) Could some one explain what the filter & access predicate mean here?Sorry, I can't.

  • Parsing an input parameter for the where clause or record select value

    In my limited CR experience, I've always used a command database connection so that I can write my own SQL.  However, now I have to parse a  pipe delimited parameter to get my value for the where clause, so I'm selecting several tables and joining them through the Database Expert Links tab.  All works fine, but after doing that and then parsing the parameter with the below formula in the Select Expert, I notice that there is no where clause in the SQL query, and although the report eventually displays the proper values, it runs through thousands of records first.  Here is my Select Expert - Record formula:
    StringVar array Parm1;
    Parm1 := Split({?DATA_AREA}, "|");
    {SO_ORDERS.CASE_ID} = Parm1[2]
    If I change "Parm1[2]" on the last line to a valid Case ID, then there is a where clause in the SQL and the report generates immediately. 
    It seems like the record select formula is applied AFTER all of the records (without a where clause) are searched when I use the parsed parameter value, but when I hard code a valid value, it places that into the where clause BEFORE the sql is executed.  Is there a way to get the parameter parsed first and then use that parsed value in the SQL where clause?
    Thanks.
    Bill

    Yes crystal will run the query first to get 100% data and then applies record selection condition. To increase the performance you need to pass the where condition at the command level instead of report level. So you need to create a report using add command like this
    select * from tablename where field={?Parameter}
    {?Parameter} is a command level parameter.
    Now insert this report as a subreport in another report which has no connection but has a parameter
    {?DATA_AREA} and create a formula like this in the main report
    Split({?DATA_AREA}, "|")[2]
    Now right click on the subreport and go to change subreport links and add this formula from main report and link this to sub report parameter {?Parameter} without linking any database field from the subreport.
    Now your subreport runs with the where clause to get the data.
    Regards,
    Raghavendra

  • Values from a Multi-Select in the where clause of a Select statement

    I have a web page that solicits query parameters from the user.
    The selections that the user makes will populate the WHERE clause of a Select statement.
    One of the controls on the page is a multi-select control.
    When this page posts, I would like to execute a Select statement wherein the selected values from this control appear in the .. Column IN ( <list here> ) portion of the WHERE clause.
    This is an extremely common scenario, but I cannot seem to locate a how-to or message thread that addresses this specific case.
    I have an idea that it may involve dynamic SQL or Execute Immediate, but cannot seem to pin down the answer.
    Any help would be greatly appreciated!

    anonymous - As illustrated here: Re: Search on a typed in list of values
    Scott

  • Time's error with a metric for DashBoard in the WHERE Clause - @Prompt

    Hello,
    I have a problem with a measure in Universe. In the WHERE clause I have the typical @Prompt to interact with DashBoard:
    "Fact.Time_Key between @Prompt('BEGIN_DATE','D',,mono,free) And @Prompt('END_DATE','D',,mono,free)" *
    *Fact.Time_Key is a Date Field
    I check many options to solve the problem, which is: "The conversion of char data type to smalldatetime data type result in an out-of-range smalldatetime value." For example I saw many forums, I check the regional settings with IT and I also change the prm file that my universe's connection use but it still doesn't work.
    So I believe that the date format of my field (Fact.Time_Key) is different to @Prompt date format
    Any Suggestion?
    Regards
    Romá

    Hi Roman,
    I am not sure but I thought there was also a 'BEGIN_DATETIME' option
    Regards
    Alan

  • Regarding  dynamically assigning the where clause to select query

    hi,
      Please send the code regarding how to dynamically assign the where clause to select query.
    thanks in advance

    SELECT <fileds>
            INTO TABLE itab
            FROM dbase
            WHERE  condition.

Maybe you are looking for

  • Windows 7 iTunes error 7

    I have got a windows 7 64bit laptop, and i have been experiancing problems with my iTunes. It worked last saturday (28th April) and ever since then i can't open it back up. it asked me to re-install it as it wasnt installed properly. The error that i

  • h:messages layout="list"  -- Not rendering as a list

    Hi all, I'm trying to use <h:messages layout="list"/> in order to display my error messages as a list on the screen, but what I get are my 2 error messages one after the other, no delimiter and on the same line as this: Please select a template.Pleas

  • Unicode convertible, what does it mean?

    TYPES: BEGIN OF zbficheentry_list2, FICHENO type zbficheentry-ficheno, LOGISTICSCENTER type zbficheentry-logisticscenter, KANTARNO type zbficheentry-kantarno, TRDATE type zbficheentry-trdate, TRHOUR type zbficheentry-trhour,  line_color(4) type c, EN

  • FBL3N Cost Center Authorizaton

    Hi, each user has its own cost center and only can see the data of its own cost center The setting of cost center authroizatoin is done. It works for KSB1. However, when user use FBL3N, there are no such authorization-check. Any Solution ?? Please he

  • Integration Kit compatible with SAP 4.7 ERP?

    Is the current Int Kit for SAP compatible with SAP 4.7 ERP? How far back can you go before it breaks?