Really basic query

Hi,
I am a novice. I can't figure out what (+) means when it appears in statements like this: (the below statement is only representative)
select b.f_user_id, a.amount from t_accounts a, t_users b where
a.f_user_id(+) = b.f_user_id
and what abt
select b.f_user_id, a.amount from t_accounts a, t_users b where
a.f_user_id = b.f_user_id(+)
Whats the difference between the first and second usage?
Kindly bear with me if this is a really basic stuff.
Thanks

Hi,
I can't figure out what (+) means (+) is an outer join.
select b.f_user_id, a.amount from t_accounts a,
t_users b where
a.f_user_id(+) = b.f_user_idIt take all records of b table, even if join a.f_user_id = b.f_user_id is not verified. If join is not verified, a.amount value will be null.
select b.f_user_id, a.amount from t_accounts a,
t_users b where
a.f_user_id = b.f_user_id(+)It take all records of a table, even if join a.f_user_id = b.f_user_id is not verified. If join is not verified, b.f_user_id value will be null.
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/queries7.htm#2054625
Nicolas.

Similar Messages

  • Basic Query on CQ 5

    Hi,
    I have a basic query about CQ5 ,actually i will be getting training on it ,i have the following doubts:-
    1)I am a beginner in JAva and related technologies,does one need to be an expert in java to understand CQ5?
    2)I have mainly worked on Teamsite CMS before,how easy is it for someone from that background to adapt to DAY CQ/
    I can go through all the java concepts which are mandatory in CQ5 understanding,please guide regarding them.
    Looking forward for expert guidance.
    Regards,
    Raul

    Hi Raul,
    Here's my 2 cents:
    1)I am a beginner in JAva and related technologies,does one need to be an expert in java to understand CQ5?
    No - and - depends.  CQ is an enterprise level CMS.  As such, it has many many bits and bobs.  There is a back-end Java element, a front-end JavaScript/ExtJS element, and a bunch of stuff between the two (sling, crx, osgi, etc.).  My best recommendation would be get on a project with a skilled architect in which you are being given components or other parts/pieces to work on. That will give you hands on guidance on building CQ and direct access to seeing an entire project go up from soup-to-nuts.  Also, if you haven't already, try to get to an Adobe CQ Dev training class.  That will really help jump start your knowledge and get you off on the right foot.
    2)I have mainly worked on Teamsite CMS before,how easy is it for someone from that background to adapt to DAY CQ/
    Any previous CMS knowledge is definintely helpful.  Teamsite is VERY different to CQ.  However, the goal is the same.  Content authors need a way of entering content that ultimately gets displayed and served up as a web page.  Teamsite does this with forms whereas CQ does this more inline on the page... If you've ever worked with Teamsite Sitepublisher, that's even better.  Either way, having CMS experience is definitely helpful.
    Todd

  • Basic query in Oracle Spatial

    I'm trying to learn Oracle Spatial working with 11g R2 and with 3D georeferenced data (specifically data describing buildings in a city).
    But I'm having trouble getting a basic query to work on my dataset (it works for the book example), and I'm trying to do it exactly the way it's done in the Spatial Developer's Guide for 11g.
    To learn how spatial queries work, I set up the cola_markets tables used in the book, made the appropriate manual entry in the user_sdo_geom_metadata view and created the index. Having done that, I can run the following simple query (as well as the others in the manual) on the book tables:
    SELECT SDO_GEOM.SDO_DISTANCE(c_b.shape, c_d.shape, 0.005)
    FROM cola_markets c_b, cola_markets c_d
    WHERE c_b.name = 'cola_b' AND c_d.name = 'cola_d';
    but when I try to do the same thing on my own tables (created from citygml data), I get an error. There is the difference that the data is 3D, and the index was created without any PARAMETERS ( ... ), hence is just 2D. But still I don't get why the following query doesn't work:
    SELECT SDO_GEOM.SDO_DISTANCE(c_w.envelope, c_b.envelope, 0.0005)
    FROM cityobject c_w,
         cityobject c_b
    WHERE c_w.id = 50025
         AND c_b.id = 50018;
    The id's for the buildings are valid, and I used the same tolerance used by the software that set up the database.
    Here's the error I get in SQL developer:
    ORA-29532: Java call terminated by uncaught Java exception: java.lang.Exception: 54535
    ORA-06512: at "MDSYS.SDO_3GL", line 637
    ORA-06512: at "MDSYS.SDO_GEOM", line 1973
    ORA-06512: at "MDSYS.SDO_GEOM", line 1990
    29532. 00000 - "Java call terminated by uncaught Java exception: %s"
    *Cause: A Java exception or error was signaled and could not be
         resolved by the Java code.
    *Action: Modify Java code, if this behavior is not intended.
    So, thinking it might have something to do with the fact that it's a Java interface, I also tried running it from SQL/PL command line and get essentially the same thing:
    ERROR at line 1:
    ORA-29532: Java call terminated by uncaught Java exception:
    java.lang.Exception: 54535
    ORA-06512: at "MDSYS.SDO_3GL", line 637
    ORA-06512: at "MDSYS.SDO_GEOM", line 1973
    ORA-06512: at "MDSYS.SDO_GEOM", line 1990
    Any ideas why this isn't working?
    (P.S.: I couldn't find a specific board for Oracle Spatial, hence put this question here--if there's a better place for this question, then, admins, of course, feel free to move the thread to the appropriate spot)

    Hi,
    The SPATIAL forum is here : {forum:id=76}

  • Darwin Streaming Server (really basic help)

    Hey, I need some basic DSS help. REALLY basic help. So, Darwin is installed and everything, and I can upload movies to the /usr/local/movies directory. When I upload them there, I can see them in the 'make new playlist' screen. However, Darwin seems to be requesting a .sdp file as the 'mount point'?? What's with that?
    Thanks for any assistance.

    The mount point is supposed to be the location on the hard disk where the movie file resides; the sdp extension indicates that the file is a stream. To create a SDP file, try using the information linked to from this page.
    (14906)

  • Basic question - Problems with basic query - Mask = INSIDE

    Greetings,
    I'm doing a basic query on Oracle 10g Spatial, is to determine the intersection between two layers (one point called "Calidad1") and other polygons, called "Parishes")
    For issuing the following query based on the documentation of oracle:
    "select C1.ID, C1.SECUENCIA,
    P. COD_ENTIDAD, P. STATE
    Cod_county P., P. TOWNSHIP,
    P. COD_PARROQUIA, P. PARISH
    from CALIDAD1 c1,
    PARISHES p
    where sdo_relate (c1.geoloc, p.geoloc, 'mask = INSIDE querytype = WINDOW') = 'TRUE'
    order by C1.ID;
    When I run the query, no errors but extends too long (more than 10 minutes) and no end, I have to cancel.
    Canceling shows me the following error:
    "ORA-13268: error obtaining dimension from USER_SDO_GEOM_METADATA
    ORA-06512: at "MDSYS.MD", line 1723
    ORA-06512: at "MDSYS.MDERR", line 8
    ORA-06512: at "MDSYS.SDO_3GL", line 89 "
    This query is very basic and the data volume is small, a conclusion: I must be skipping a step or activity.
    Can you guide a little to resolve this situation and get the query that I need?
    Thanks to all

    First, try this query with the ordered hint and also note the change in the FROM clause.
    select /*+ ordered */ C1.ID, C1.SECUENCIA,
    P. COD_ENTIDAD, P. STATE
    Cod_county P., P. TOWNSHIP,
    P. COD_PARROQUIA, P. PARISH
    from PARISHES p,
    CALIDAD1 c1,
    where sdo_relate (c1.geoloc, p.geoloc, 'mask = INSIDE querytype = WINDOW') = 'TRUE'
    order by C1.ID;
    See if this is using the index as expected. If not try this:
    select /*+ ordered index(p name_of_the_spatial_index_on_the_PARISH_Table) */
    C1.ID, C1.SECUENCIA,
    P. COD_ENTIDAD, P. STATE
    Cod_county P., P. TOWNSHIP,
    P. COD_PARROQUIA, P. PARISH
    from PARISHES p,
    CALIDAD1 c1,
    where sdo_relate (c1.geoloc, p.geoloc, 'mask = INSIDE querytype = WINDOW') = 'TRUE'
    order by C1.ID;
    siva

  • Hi, I hope you can help. I'm sure this is something really basic that I should be able to fix myself, but................. I was working on a photo calendar on my macbook off the battery and the battery suddenly ran out. So it wasn't shut down properly. N

    Hi, I hope you can help. I'm sure this is something really basic that I should be able to fix myself, but.................
    I was working on a photo calendar on my macbook off the battery and the battery suddenly ran out. So it wasn't shut down properly. Now when I open i photo the coloured wheel just keeps spinning and I can't get into it. Everything else on the computer seems to work. I've done forced quit and restarted it a few times and also left it running.
    Jane
    Here is the error report:
    Date/Time:      2011-11-19 11:29:02 +0000
    OS Version:     10.5.8 (Build 9L31a)
    Architecture:   i386
    Report Version: 4
    Command:        iPhoto
    Path:           /Applications/iPhoto.app/Contents/MacOS/iPhoto
    Version:        8.1.2 (8.1.2)
    Build Version:  8
    Project Name:   iPhotoProject
    Source Version: 4240000
    Parent:         launchd [97]
    PID:            158
    Event:          hang
    Time:           7.46s
    Steps:          49
    Process:        iPhoto [158]
    Path:           /Applications/iPhoto.app/Contents/MacOS/iPhoto
    ADDRESS         BINARY
    00001000        /Applications/iPhoto.app/Contents/MacOS/iPhoto
    00b31000        /System/Library/Frameworks/DiscRecording.framework/Versions/A/DiscRecording
    00c65000        /System/Library/Frameworks/DiscRecordingUI.framework/Versions/A/DiscRecordingUI
    00cae000        /System/Library/Frameworks/ExceptionHandling.framework/Versions/A/ExceptionHand ling
    00cb7000        /Applications/iPhoto.app/Contents/MacOS/../Frameworks/UpgradeChecker.framework/ Versions/A/UpgradeChecker
    00ccb000        /Applications/iPhoto.app/Contents/MacOS/../Frameworks/MobileMe.framework/Versio ns/A/MobileMe
    00dc9000        /System/Library/Frameworks/Message.framework/Versions/B/Message
    01179000        /Applications/iPhoto.app/Contents/MacOS/eOkaoCom.dylib
    0117d000        /Applications/iPhoto.app/Contents/MacOS/eOkaoDt.dylib
    011b6000        /Applications/iPhoto.app/Contents/MacOS/eOkaoFr.dylib
    01320000        /Applications/iPhoto.app/Contents/MacOS/eOkaoPt.dylib
    0134b000        /Applications/iPhoto.app/Contents/MacOS/../Frameworks/ProXTCore.framework/Versi ons/A/ProXTCore
    013d6000        /System/Library/PrivateFrameworks/iLifeSlideshow.framework/Versions/A/iLifeSlid eshow
    013da000        /Applications/iPhoto.app/Contents/MacOS/../NetServices/Frameworks/NetServices.f ramework/Versions/A/NetServices
    014bc000        /System/Library/PrivateFrameworks/AppleAppSupport.framework/Versions/A/AppleApp Support
    014c0000        /System/Library/Frameworks/LatentSemanticMapping.framework/Versions/A/LatentSem anticMapping
    014f9000        /System/Library/PrivateFrameworks/iLifeSlideshow.framework/Versions/A/Framework s/iLifeSlideshowCore.framework/Versions/A/iLifeSlideshowCore
    0153b000        /System/Library/PrivateFrameworks/iLifeSlideshow.framework/Versions/A/Framework s/iLifeSlideshowProducer.framework/Versions/A/iLifeSlideshowProducer
    016be000        /System/Library/PrivateFrameworks/iLifeSlideshow.framework/Versions/A/Framework s/iLifeSlideshowRenderer.framework/Versions/A/iLifeSlideshowRenderer
    0183b000        /System/Library/PrivateFrameworks/iLifeSlideshow.framework/Versions/A/Framework s/iLifeSlideshowExporter.framework/Versions/A/iLifeSlideshowExporter
    0184f000        /System/Library/Frameworks/CoreAudioKit.framework/Versions/A/CoreAudioKit
    01880000        /Applications/iPhoto.app/Contents/MacOS/../NetServices/Frameworks/BDControl.fra mework/Versions/A/BDControl
    01894000        /Applications/iPhoto.app/Contents/MacOS/../NetServices/Frameworks/BDRuleEngine. framework/Versions/A/BDRuleEngine
    01fe1000        /Applications/iPhoto.app/Contents/PlugIns/FlickrPublisher.publisher/Contents/Ma cOS/FlickrPublisher
    1676f000        /Applications/iPhoto.app/Contents/PlugIns/FacebookPublisher.publisher/Contents/ MacOS/FacebookPublisher
    16791000        /Applications/iPhoto.app/Contents/PlugIns/MobileMePublisher.publisher/Contents/ MacOS/MobileMePublisher
    167da000        /Applications/iPhoto.app/Contents/PlugIns/RSSPublisher.publisher/Contents/MacOS /RSSPublisher
    16a19000        /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera
    17161000        /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/ATSHI.dylib
    17183000        /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCGXCoreImage.A.dylib
    19dd8000        /Applications/iPhoto.app/Contents/NetServices/Bundles/BookService.NetService/Co ntents/MacOS/BookService
    19df2000        /System/Library/TextEncodings/Unicode Encodings.bundle/Contents/MacOS/Unicode Encodings
    19df9000        /Applications/iPhoto.app/Contents/NetServices/Bundles/CalendarsService.NetServi ce/Contents/MacOS/CalendarsService
    19e0d000        /Applications/iPhoto.app/Contents/NetServices/Bundles/CardsService.NetService/C ontents/MacOS/CardsService
    19e21000        /Applications/iPhoto.app/Contents/NetServices/Bundles/PrintsService.NetService/ Contents/MacOS/PrintsService
    19e52000        /Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBAppDefPlugin.ilmbplugin/Contents/MacOS/i LMBAppDefPlugin
    19e59000        /Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBFolderPlugin.ilmbplugin/Contents/MacOS/i LMBFolderPlugin
    19ea4000        /Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBAperturePlugin.ilmbplugin/Contents/MacOS /iLMBAperturePlugin
    19ef0000        /Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBGarageBandPlugin.ilmbplugin/Contents/Mac OS/iLMBGarageBandPlugin
    1a35e000        /Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBiMoviePlugin.ilmbplugin/Contents/MacOS/i LMBiMoviePlugin
    1a392000        /Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBiPhoto8Plugin.ilmbplugin/Contents/MacOS/ iLMBiPhoto8Plugin
    1a3ad000        /Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBiPhotoPlugin.ilmbplugin/Contents/MacOS/i LMBiPhotoPlugin
    1a3bd000        /Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBiTunesPlugin.ilmbplugin/Contents/MacOS/i LMBiTunesPlugin
    1a3cd000        /Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBMoviesFolderPlugin.ilmbplugin/Contents/M acOS/iLMBMoviesFolderPlugin
    1a3d6000        /Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBPhotoBoothPlugin.ilmbplugin/Contents/Mac OS/iLMBPhotoBoothPlugin
    1a901000        /System/Library/PrivateFrameworks/iTunesAccess.framework/iTunesAccess
    ba900000        /System/Library/CoreServices/Encodings/libJapaneseConverter.dylib
    Thread id:      753b8b8
    User stack:
       49 ??? [0x3172]
         49 ??? [0x124b80]
           49 _NSApplicationMain + 574 (in AppKit) [0x9225d1d8]
             49 -[NSApplication run] + 867 (in AppKit) [0x9228ffe7]
               49 ??? [0x229973]
                 49 -[NSApplication sendEvent:] + 2939 (in AppKit) [0x923326a5]
                   49 -[NSWindow sendEvent:] + 5381 (in AppKit) [0x92365af7]
                     49 ??? [0x3ec62]
                       49 -[NSOutlineView mouseDown:] + 611 (in AppKit) [0x923beff1]
                         49 -[NSTableView mouseDown:] + 6867 (in AppKit) [0x923aebf8]
                           49 -[NSTableView _enableSelectionPostingAndPost] + 561 (in AppKit) [0x9237575d]
                             49 -[NSNotificationCenter postNotificationName:object:] + 56 (in Foundation) [0x95427ed8]
                               49 -[NSNotificationCenter postNotificationName:object:userInfo:] + 128 (in Foundation) [0x9541e680]
                                 49 __CFXNotificationPostNotification + 179 (in CoreFoundation) [0x93ad5753]
                                   49 ___CFXNotificationPost + 362 (in CoreFoundation) [0x93ad547a]
                                     49 __nsnote_callback + 106 (in Foundation) [0x9542142a]
                                       49 ??? [0x4e741]
                                         49 ??? [0xa8f49]
                                           49 ??? [0xa8f7d]
                                             49 -[NSObject(NSThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:] + 184 (in Foundation) [0x954758e8]
                                               49 -[NSObject(NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:modes:] + 1115 (in Foundation) [0x9542232b]
                                                 49 -[NSNotificationCenter postNotification:] + 124 (in Foundation) [0x9544e9bc]
                                                   49 __CFXNotificationPostNotification + 179 (in CoreFoundation) [0x93ad5753]
                                                     49 ___CFXNotificationPost + 362 (in CoreFoundation) [0x93ad547a]
                                                       49 __nsnote_callback + 106 (in Foundation) [0x9542142a]
                                                         49 ??? [0x7ce32]
                                                           49 ??? [0x6f504]
                                                             49 ??? [0x13a800]
                                                               49 ??? [0x57b4d]
                                                                 49 ??? [0x596e9]
                                                                   35 ??? [0x59905]
                                                                     14 ??? [0x5dc926]
                                                                       6 _sqlite3Step + 17 (in libsqlite3.0.dylib) [0x91e2ed31]
                                                                       3 _sqlite3Step + 221 (in libsqlite3.0.dylib) [0x91e2edfd]
                                                                       2 _sqlite3Step + 208 (in libsqlite3.0.dylib) [0x91e2edf0]
                                                                       1 _sqlite3Step + 41 (in libsqlite3.0.dylib) [0x91e2ed49]
                                                                       1 _sqlite3Step + 9 (in libsqlite3.0.dylib) [0x91e2ed29]
                                                                       1 _sqlite3Step + 25 (in libsqlite3.0.dylib) [0x91e2ed39]
                                                                     7 _sqlite3Step + 0 (in libsqlite3.0.dylib) [0x91e2ed20]
                                                                     4 _sqlite3_step + 11 (in libsqlite3.0.dylib) [0x91e2f54b]
                                                                     3 _sqlite3_step + 134 (in libsqlite3.0.dylib) [0x91e2f5c6]
                                                                     2 _sqlite3_step + 128 (in libsqlite3.0.dylib) [0x91e2f5c0]
                                                                     2 _sqlite3Step + 225 (in libsqlite3.0.dylib) [0x91e2ee01]
                                                                     1 _sqlite3_step + 20 (in libsqlite3.0.dylib) [0x91e2f554]
                                                                     1 _sqlite3_step + 22 (in libsqlite3.0.dylib) [0x91e2f556]
                                                                     1 _sqlite3_step + 4 (in libsqlite3.0.dylib) [0x91e2f544]
                                                                   5 ??? [0x5dc91b]
                                                                   3 ??? [0xae911e]
                                                                   2 ??? [0x5dc940]
                                                                   2 ??? [0x5dc94c]
                                                                   2 _sqlite3_step + 0 (in libsqlite3.0.dylib) [0x91e2f540]
    Kernel stack:
       49 _PE_incoming_interrupt + 131 [0x44e416]
         49 _lapic_interrupt + 121 [0x1b16c0]
           49 _sync_iss_to_iks + 114 [0x1aa3ae]
    Thread id:      9645208
    User stack:
       49 _thread_start + 34 (in libSystem.B.dylib) [0x96a9df12]
         49 __pthread_start + 321 (in libSystem.B.dylib) [0x96a9e055]
           49 ___NSThread__main__ + 308 (in Foundation) [0x954219a4]
             49 -[NSThread main] + 45 (in Foundation) [0x95421dfd]
               49 -[XTThread run:] + 387 (in ProXTCore) [0x1352363]
                 49 -[XTMsgQueue waitForMessage] + 49 (in ProXTCore) [0x1364201]
                   49 -[NSConditionLock lockWhenCondition:] + 69 (in Foundation) [0x95467b35]
                     49 -[NSConditionLock lockWhenCondition:beforeDate:] + 144 (in Foundation) [0x95467bd0]
                       49 -[NSCondition waitUntilDate:] + 236 (in Foundation) [0x95467dbc]
                         49 _semaphore_timedwait_signal_trap + 10 (in libSystem.B.dylib) [0x96a6d1c6]
    Thread id:      7b12f20
    User stack:
       49 _thread_start + 34 (in libSystem.B.dylib) [0x96a9df12]
         49 __pthread_start + 321 (in libSystem.B.dylib) [0x96a9e055]
           49 ___NSThread__main__ + 308 (in Foundation) [0x954219a4]
             49 -[NSThread main] + 45 (in Foundation) [0x95421dfd]
               49 -[XTThread run:] + 387 (in ProXTCore) [0x1352363]
                 49 -[XTMsgQueue waitForMessage] + 49 (in ProXTCore) [0x1364201]
                   49 -[NSConditionLock lockWhenCondition:] + 69 (in Foundation) [0x95467b35]
                     49 -[NSConditionLock lockWhenCondition:beforeDate:] + 144 (in Foundation) [0x95467bd0]
                       49 -[NSCondition waitUntilDate:] + 236 (in Foundation) [0x95467dbc]
                         49 _semaphore_timedwait_signal_trap + 10 (in libSystem.B.dylib) [0x96a6d1c6]
    Thread id:      75b2d60
    User stack:
       49 _thread_start + 34 (in libSystem.B.dylib) [0x96a9df12]
         49 __pthread_start + 321 (in libSystem.B.dylib) [0x96a9e055]
           49 ___NSThread__main__ + 308 (in Foundation) [0x954219a4]
             49 -[NSThread main] + 45 (in Foundation) [0x95421dfd]
               49 -[XTRunLoopThread run:] + 421 (in ProXTCore) [0x13538a5]
                 49 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 213 (in Foundation) [0x954563d5]
                   49 _CFRunLoopRunInMode + 88 (in CoreFoundation) [0x93af4aa8]
                     49 _mach_msg_trap + 10 (in libSystem.B.dylib) [0x96a6d166]
    Thread id:      9646128
    User stack:
       49 _thread_start + 34 (in libSystem.B.dylib) [0x96a9df12]
         49 __pthread_start + 321 (in libSystem.B.dylib) [0x96a9e055]
           49 ___NSThread__main__ + 308 (in Foundation) [0x954219a4]
             49 -[NSThread main] + 45 (in Foundation) [0x95421dfd]
               49 ??? [0x506841]
                 49 ___semwait_signal + 10 (in libSystem.B.dylib) [0x96a7434e]
    Thread id:      96468b8
    User stack:
       49 _thread_start + 34 (in libSystem.B.dylib) [0x96a9df12]
         49 __pthread_start + 321 (in libSystem.B.dylib) [0x96a9e055]
           49 ___NSThread__main__ + 308 (in Foundation) [0x954219a4]
             49 -[NSThread main] + 45 (in Foundation) [0x95421dfd]
               49 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 320 (in Foundation) [0x95485520]
                 49 _CFRunLoopRunInMode + 88 (in CoreFoundation) [0x93af4aa8]
                   49 _mach_msg_trap + 10 (in libSystem.B.dylib) [0x96a6d166]
    Thread id:      9645998
    User stack:
       49 _thread_start + 34 (in libSystem.B.dylib) [0x96a9df12]
         49 ___select + 10 (in libSystem.B.dylib) [0x96abc60a]
    Thread id:      96477d8
    User stack:
       49 _thread_start + 34 (in libSystem.B.dylib) [0x96a9df12]
         49 __ZN3***17TCMalloc_PageHeap15scavengerThreadEv + 824 (in JavaScriptCore) [0x92c0cd58]
           49 ___semwait_signal + 10 (in libSystem.B.dylib) [0x96a7434e]
    Thread id:      96455d0
    User stack:
       49 _thread_start + 34 (in libSystem.B.dylib) [0x96a9df12]
         49 __pthread_start + 321 (in libSystem.B.dylib) [0x96a9e055]
           49 __Z22CFURLCacheWorkerThreadPv + 388 (in CFNetwork) [0x919a018c]
             49 _CFRunLoopRunInMode + 88 (in CoreFoundation) [0x93af4aa8]
               49 _mach_msg_trap + 10 (in libSystem.B.dylib) [0x96a6d166]
    Thread id:      9412a78
    User stack:
       49 _thread_start + 34 (in libSystem.B.dylib) [0x96a9df12]
         49 __pthread_start + 321 (in libSystem.B.dylib) [0x96a9e055]
           49 __ZN3***15ThreadCondition9timedWaitERNS_5MutexEd + 81 (in JavaScriptCore) [0x92a616b1]
             49 ___semwait_signal + 10 (in libSystem.B.dylib) [0x96a7434e]
    Thread id:      96464f0
    User stack:
       49 _thread_start + 34 (in libSystem.B.dylib) [0x96a9df12]
         49 __pthread_start + 321 (in libSystem.B.dylib) [0x96a9e055]
           49 ___NSThread__main__ + 308 (in Foundation) [0x954219a4]
             49 -[NSThread main] + 45 (in Foundation) [0x95421dfd]
               49 -[ILMediaBrowserPathWatcher(FSEvents) iLMBPathWatcherRunLoop] + 862 (in iLifeMediaBrowser) [0x956ced0e]
                 49 _CFRunLoopRun + 84 (in CoreFoundation) [0x93af4b04]
                   49 _mach_msg_trap + 10 (in libSystem.B.dylib) [0x96a6d166]
    Thread id:      94148b8
    User stack:
       49 _thread_start + 34 (in libSystem.B.dylib) [0x96a9df12]
         49 __pthread_start + 321 (in libSystem.B.dylib) [0x96a9e055]
           49 _fe_fragment_thread + 54 (in QuartzCore) [0x97e65a09]
             49 ___semwait_signal + 10 (in libSystem.B.dylib) [0x96a7434e]
    Thread id:      7538000
    User stack:
       49 ??? [0x0]
    Thread id:      9643b58
    User stack:
       49 ??? [0x0]
    Process:        ATSServer [113]
    Path:           /System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framewo rk/Support/ATSServer
    ADDRESS         BINARY
    00001000        /System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framewo rk/Support/ATSServer
    Thread id:      7d00ba0
    User stack:
       49 ??? [0x4b46]
         49 ??? [0xdd21f]
           49 _CFRunLoopRun + 84 (in CoreFoundation) [0x93af4b04]
             49 _mach_msg_trap + 10 (in libSystem.B.dylib) [0x96a6d166]
    Thread id:      7cff4f0
    User stack:
       49 _thread_start + 34 (in libSystem.B.dylib) [0x96a9df12]
         49 __pthread_start + 321 (in libSystem.B.dylib) [0x96a9e055]
           49 _mach_msg_trap + 10 (in libSystem.B.dylib) [0x96a6d166]
    Process:        AirPort Base Station Agent [104]
    Path:           /System/Library/CoreServices/AirPort Base Station Agent.app/Contents/MacOS/AirPort Base Station Agent
    ADDRESS         BINARY
    00001000        /System/Library/CoreServices/AirPort Base Station Agent.app/Contents/MacOS/AirPort Base Station Agent
    Thread id:      7b12790
    User stack:
       49 ??? [0x25ad]
         49 ??? [0x2680]
           49 _NSApplicationMain + 574 (in AppKit) [0x9225d1d8]
             49 -[NSApplication run] + 795 (in AppKit) [0x9228ff9f]
               49 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128 (in AppKit) [0x92296f88]
                 49 __DPSNextEvent + 657 (in AppKit) [0x922976d5]
                   49 _BlockUntilNextEventMatchingListInMode + 106 (in HIToolbox) [0x9513df39]
                     49 _ReceiveNextEventCommon + 374 (in HIToolbox) [0x9513e0c5]
                       49 _RunCurrentEventLoopInMode + 283 (in HIToolbox) [0x9513e2ac]
                         49 _CFRunLoopRunInMode + 88 (in CoreFoundation) [0x93af4aa8]
                           49 _mach_msg_trap + 10 (in libSystem.B.dylib) [0x96a6d166]
    Thread id:      7cfcb58
    User stack:
       49 _thread_start + 34 (in libSystem.B.dylib) [0x96a9df12]
         49 ___select + 10 (in libSystem.B.dylib) [0x96abc60a]
    Thread id:      7cfd2e8
    User stack:
       49 _thread_start + 34 (in libSystem.B.dylib) [0x96a9df12]
         49 __pthread_start + 321 (in libSystem.B.dylib) [0x96a9e055]
           49 ??? [0x1e458]
             49 ??? [0x1a1cb]
               49 ??? [0x1e759]

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
    Regards
    TD

  • Basic Query Creation

    Hello,
    Our company is about to go live with B1 and E commerce. We are very much looking forward to getting the ball rolling: the old MOM system and Sitelink shopping cart is causing issues!
    Anyway, before i go too much further i would like to get hold of some basic Query creation documentation. So far i have been unable to find any.
    If i have posted this in the wrong discussion group i apologies.
    I look forward to hearing your comments and becoming a regular in this group,
    Thanks,
    Charlie

    Hi Charlie,
    Beside this forum, you may also search and post here:
    SAP Add-Ons
    Thanks,
    Gordon

  • Really basic Install help needed, please.

    Assistance would be greatly appreciated.
    Yes, I've searched this whole forum and probably don't know enough to ask the right "search" questions because I haven't found the answers.
    Over the past few months, I've been learning Linux as I now plan to switch from Windows to a Linux distro rather than go with a new computer and Windows 7 and the associated problems.  I have tried several Linux distros individaully side by side with  Windows XP on a partitioned drive.. Most recently I've been using Linux Mint 8 'Helena' and done lots with and to it.  Linux Mint 9 'Isadora' was just released, and since upgrading for a non-rolling distro is a nuisance, I thought I'd try a rolling one. After review and recommendations, I thought I'd give Arch Linux a try. Since most of my computer use is music via a Jukebox (14+k files), browsing, email and info seeking, I don't need all the bells and whistles whith which many distros come. I'm not a gamer.
    Basic Infor:
    PC with 1.4GHz Athlon,  512 Ram, 320 G Hard Drive partitioned equally between Windows XP and Linux (hopefully Arch). High Speed DSL.
    What I need are some really really basic instructions on a side by side install of Arch.
    SOofar, I've got the clock set, and have partitioned my hard drive into
    SDA 1 (my Windows Partition)(160 Gigs
    SDA5                                               1200mb for my swap
    SDA6                                                20 Gigs for the root
    SDA7                                               130 (the rest) Gigs for home
    What I need to know is darned near everything else.
    Bootability for SDA5-7
    How to label (the method for) SDA 5-7
    and thereafter a step by step really simple set of install instructions for a side by side installation.
    I've searched on this forum as well as via Google, but simple  instructions are nowhere to be found. I really have had no trouble installing Mepis, Madriva, Ubuntu, and Linux Mint side by side with my Windows Xp partition and done so for at least 2 of them with manual partitioning rather than the automatic side by side install offered.
    With this introduction, can someone point me to a Arch Linux side by side install for Dummies or help me with a walk through??
    Or am I in completely over my head and need to just go back to Linux Mint and plan to upgrade every 6-18 months? Or try a different rolling Distro???
    Thanks in advance to any and all who can help..
    Dick

    Willie,
    Were I certain I would be happy with Arch, there would be no problem doing as you suggest. However, looking backover at least 2 decades, our first computer was an IBM with an 8086 chip and 20 whole MB of hard drive. The choice of operating systems was DOS. As we moved onwards and upwards, Windows 95, 98, and XP were Hobson's choice for PC users (our office computer used Unix). Now with more experience and research, a new world of operating systems is available, especially for those of us with older computers which would require major (and expensive) upgrades when possible to move to Windows 7. And as with Windows ME, 2000, and Vista, there is probably potential for significant problems with 7. Utilizing my current ability to have 2 (or more) OS's on my computer affords the opportunity to learn more about them and develop my 'geekiness" as well as to evaluate and selectively choose one which will best meet my needs.
    As of now, I have at least 3 problems with abandoing Windows XP completely:
    1) I haven't found a Jukebox program for Linux equivalent to J Rivers' Media Jukebox which has seamless track switching, an equalizer, and DSP studio effects,etc. I've used WINE doors and made it run on Linux Mint, but the program will not recognize my CD-ROM drives. I have some 14+k music files and my computer jukebox runs through my home sound system.
    2) I've some 600+ movies indexed on Movie Organizer (movieorganizer.org) which flat out won't run on the Linux distro's I've tried. Re-entering those 600+ indexed movies to another program will be a bear. So far, no one of my local sources or on the other various Linux forums has a solution. WINE doors won't do it as it needs MDAC. 
    3) For all its frailties and faults, I'm reasonably literate with Windows XP. Linux OS's are still, quite obviously, relatively unfamiliar to me (3 mos experience).. So until I'm much more conversant with Linux, better the devil I know.
    I have installed and used both the Linux Mint 8 Fluxbox and KDE editions on more than one computer so it's not a question of my being shy. BTW, I'm a retired internist, and our speciality is known for being really nitpicky, detail oriented, and investigational, and I'm sure it shows.
    Again, thanks to all for the suggestions and comments. I'll keep in touch.
    Dick

  • How to make a really basic pong game for a beginner

    Hello.  I've read through a couple of threads on here dealing with making a game of pong in LabView, but in them the users had questions with far more complex aspects of the program than I want to deal with.  I am a beginner programmer in LabView with limited experience in Java and Visual Basic programming.  I was tasked with creating a game over winter break, and now that I finally have some time (this weekend that is), I decided that I'd make a really simple game of pong.  However, I have seriously overestimated the difficulty of this for a beginner who has very limited knowledge of Lab View.
    I ask you to please have some patience with me.
    I know what I want to do, and just need help inplementing it.
    Here is the idea for my design to keep it as simple as possible:
    -Create a field (I am not sure what to use for this, but from my reading it appears that some sort of a picture output is needed, but I cannot find that anywhere).
    -Set up some simple function that can output the dimensions of this field to use with collision tracking.
    -Create a ball that can be tracked by the program.
    -From my reading I understand that the simplest way to "bounce" the ball off the sides appears to simply reverse the X velocity of the ball when it strikes the vertical boundaries and the Y velocity when it strikes the horizontal boundaries.
    -Insert some sort of a "paddle" that the user can control with the left and right arrow keys.
    Now, as I have mentioned I am a beginner with approximately one month maximum knowledge of this software, spread over about a year.  I want to take things slow.  So for starters, would anyone be willing to walk me through creating a visual output for this and creating a ball that will bounce off all sides?
    If I can at least get that far for now, then I can move on (with help I hope!) of inserting an interactive interface for the "paddle."
    I have found some LabView code for a simple game like this, but it also includes a score keeping loop as well as an "automatic play" option, and I am attempting to wade through all that code to find the bones of it to help me with this, but due to my inexperience, this might thake a lot of time.
    I thank you for any and all help anyone may be able to provide.

    EchoWolf wrote:
    -Create a field (I am not sure what to use for this, but from my reading it appears that some sort of a picture output is needed, but I cannot find that anywhere).
     Wel, there is the picture indicator in the picture palette. In newer versions it's called "2D picture". The palettes have a search function. Using the palette search function is a basic LabVIEW skill that you should know. If you've seen the example for the other discussion, it uses a 2D boolean array indicator. The boolean array is only recommended for a monochrome very low resolution display.
    EchoWolf wrote: -Set up some simple function that can output the dimensions of this field to use with collision tracking.
    -Create a ball that can be tracked by the program.
    That seems backwards. Properly programmed, the code always knows the dimension and the ball position. The program generates, (not tracks!) the ball movement. Of course you need to do some range checking on the ball position to see when it collides with the walls.
    EchoWolf wrote:
    -From my reading I understand that the simplest way to "bounce" the ball off the sides appears to simply reverse the X velocity of the ball when it strikes the vertical boundaries and the Y velocity when it strikes the horizontal boundaries.
    Of course you could make it more realistic by keeping track of three ball parameters: x, y, spin.
    EchoWolf wrote:
    -Insert some sort of a "paddle" that the user can control with the left and right arrow keys.
    Pong is typically played with the up-down arrow keys.
    EchoWolf wrote:
    Now, as I have mentioned I am a beginner with approximately one month maximum knowledge of this software, spread over about a year.
    LabVIEW knowledge is not measured in time units. What did you do during that month? Did you attend some lectures, study tutorials, wrote some programs?
    EchoWolf wrote:
    So for starters, would anyone be willing to walk me through creating a visual output for this and creating a ball that will bounce off all sides?
    I have found some LabView code for a simple game like this, but it also includes a score keeping loop as well as an "automatic play" option, and I am attempting to wade through all that code to find the bones of it to help me with this, but due to my inexperience, this might thake a lot of time.
    Start with the posted example and delete all the controls and indicators that you don't want, then surgically remove all code with broken wires.
    Alternatively, start from scratch: Create your playing field. Easiest would be a 2D classic boolean array that is all false. Use initialize array to make it once. Now use a loop to show the ball as a function of time.
    Start with a random ball position. to display it, turn one of the array elements true before wiring to the array indicator using replace array subset.
    Keep a shift register with xy positions and xy velocities and update the positions as a function of the velocities with each iteration of the loop. Do range checking and reverse the velocieis when a edge is encountered.
    What LabVIEW version do you have?
    LabVIEW Champion . Do more with less code and in less time .

  • Basic query in JAVA Threads....Please reply !!

    I have a class (say ABC) which extends Thread...This class basically
    reads some file which provides some start-time and stop-time information..
    File structure is like:-
    ===========================================
    <Entry1>Starttime = A and Stoptime = B
    ===========================================
    Logic is that thread sleeps till time A arrived, then do some operations (which are written
    in it's run() method) till stoptime..
    The object of ABC class is being constructed in some other class.
    Now there is a change....File can have multiple entries like..
    ======================================
    <Entry1>starttime = A and stoptime = B
    <Entry2>starttime = X and stoptime = Z
    <Entry3>starttime = A and stoptime = B
    <Entryn>starttime = X and stoptime = Z
    ======================================
    The start-time and stop-time of any two Entries can be same or different.
    The operations should start executing at the defined time..
    In this case, multiple threads are required, which can do the operations
    mentioned in Entry1,2 etc.....But how should it be implemented..
    My query is:-
    1) Can I have a common-wrapper class, which reads the file and based on
    the number of Entries, instantiates that much number of threads...
    But how to do that....I am new to JAVA...Should that class be a simple
    class...or should it also implement Thread/Runnable interface.....
    Or can I implement it as ThreadGroup......
    Please give soem suggestions....Thanks...

    e.g.
            ScheduledExecutorService exec = Executors.newScheduledThreadPool(2);
            exec.schedule(new Runnable() {
                public void run() {
                    runTask();
            }, delay, TimeUnit.MILLISECONDS);

  • Help with a basic query

    Hello
    I am looking at a set of records and need to query them but cannot work out what syntax to use to get the desired result.
    This is the query for the basic data
    SELECT
    SCE_STUC,
    SCE_CRSC,
    SCE_STAC
    FROM SRS_SCE
    WHERE SCE_AYRC = '2009/0'
    and Sce_stuc LIKE '0702794'
    This gives:
    SCE_STUC SCE_CRSC SCE_STAC
    0702794     OAKC3ZSKG     C
    0702794     UBSH1BINS W
    0702794     UBSH1WIDS C
    So I need to create a query that shows where a person (sce_stuc) has a C status for sce_crsc OAKC3ZSKG but also has another SCE_CRSC not OAKC3ZSKG that is not status C.
    I am using Oracle SQL developer btw
    Any help much appreciated

    Hi thanks for these
    So I am looking for people that are C on course OAKC3ZSKG but have a record that is not C for another course this could be an In ('W','N') etc.
    Sorry I have not been that clear so looking to return:
    SCE_STUC SCE_CRSC SCE_STAC
    *0702794     UBSH1BINS      W*
    where the student has
    SCE_STUC SCE_CRSC SCE_STAC
    0702794     OAKC3ZSKG     C
    0702794     OAKC3ZSKG     C
    0702794     UBSH1BINS     W
    Again many thanks

  • Basic query regarding work-area and select query

    hi
    dear sdn members,
    thanks too all for solving all my query's up till now
    i am stuck in a problem need help
    1)  why basically work-area has been used ? the sole purpose
    2)  different types of select query ? only coding examples
    note: no links pls
    regards,
    virus

    hi,
    Work Area
    Description for a data object that is particularly useful when working with internal tables or database tables as a source for changing operations or a target for reading operations.
    WORKAREA is a structure that can hold only one record at a time. It is a collection of fields. We use workarea as we cannot directly read from a table. In order to interact with a table we need workarea. When a Select Statement is executed on a table then the first record is read and put into the header of the table and from there put into the header or the workarea(of the same structure as that of the table)of the internal table and then transferred top the body of the internal table or directly displayed from the workarea.
    Each row in a table is a record and each column is a field.
    While adding or retrieving records to / from internal table we have to keep the record temporarily.
    The area where this record is kept is called as work area for the internal table. The area must have the same structure as that of internal table. An internal table consists of a body and an optional header line.
    Header line is a implicit work area for the internal table. It depends on how the internal table is declared that the itab will have the header line or not.
    .g.
    data: begin of itab occurs 10,
    ab type c,
    cd type i,
    end of itab. " this table will have the header line.
    data: wa_itab like itab. " explicit work area for itab
    data: itab1 like itab occurs 10. " table is without header line.
    The header line is a field string with the same structure as a row of the body, but it can only hold a single row.
    It is a buffer used to hold each record before it is added or each record as it is retrieved from the internal table. It is the default work area for the internal table.
    With header line
    SELECT.
    Put the curson on that word and press F1 . You can see the whole documentation for select statements.
    select statements :
    SELECT result
    FROM source
    INTO|APPENDING target
    [[FOR ALL ENTRIES IN itab] WHERE sql_cond]
    Effect
    SELECT is an Open-SQL-statement for reading data from one or several database tables into data objects.
    The select statement reads a result set (whose structure is determined in result ) from the database tables specified in source, and assigns the data from the result set to the data objects specified in target. You can restrict the result set using the WHERE addition. The addition GROUP BY compresses several database rows into a single row of the result set. The addition HAVING restricts the compressed rows. The addition ORDER BY sorts the result set.
    The data objects specified in target must match the result set result. This means that the result set is either assigned to the data objects in one step, or by row, or by packets of rows. In the second and third case, the SELECT statement opens a loop, which which must be closed using ENDSELECT. For every loop pass, the SELECT-statement assigns a row or a packet of rows to the data objects specified in target. If the last row was assigned or if the result set is empty, then SELECT branches to ENDSELECT . A database cursor is opened implicitly to process a SELECT-loop, and is closed again when the loop is ended. You can end the loop using the statements from section leave loops.
    Up to the INTO resp. APPENDING addition, the entries in the SELECTstatement define which data should be read by the database in which form. This requirement is translated in the database interface for the database system´s programming interface and is then passed to the database system. The data are read in packets by the database and are transported to the application server by the database server. On the application server, the data are transferred to the ABAP program´s data objects in accordance with the data specified in the INTO and APPENDING additions.
    System Fields
    The SELECT statement sets the values of the system fields sy-subrc and sy-dbcnt.
    sy-subrc Relevance
    0 The SELECT statement sets sy-subrc to 0 for every pass by value to an ABAP data object. The ENDSELECT statement sets sy-subrc to 0 if at least one row was transferred in the SELECT loop.
    4 The SELECT statement sets sy-subrc to 4 if the result set is empty, that is, if no data was found in the database.
    8 The SELECT statement sets sy-subrc to 8 if the FOR UPDATE addition is used in result, without the primary key being specified fully after WHERE.
    After every value that is transferred to an ABAP data object, the SELECT statement sets sy-dbcnt to the number of rows that were transferred. If the result set is empty, sy-dbcnt is set to 0.
    Notes
    Outside classes, you do not need to specify the target area with INTO or APPENDING if a single database table or a single view is specified statically after FROM, and a table work area dbtab was declared with the TABLES statement for the corresponding database table or view. In this case, the system supplements the SELECT-statement implicitly with the addition INTO dbtab.
    Although the WHERE-condition is optional, you should always specify it for performance reasons, and the result set should not be restricted on the application server.
    SELECT-loops can be nested. For performance reasons, you should check whether a join or a sub-query would be more effective.
    Within a SELECT-loop you cannot execute any statements that lead to a database commit and consequently cause the corresponding database cursor to close.
    SELECT - result
    Syntax
    ... lines columns ... .
    Effect
    The data in result defines whether the resulting set consists of multiple rows (table-like structure) or a single row ( flat structure). It specifies the columns to be read and defines their names in the resulting set. Note that column names from the database table can be changed. For single columns, aggregate expressions can be used to specify aggregates. Identical rows in the resulting set can be excluded, and individual rows can be protected from parallel changes by another program.
    The data in result consists of data for the rows lines and for the columns columns.
    SELECT - lines
    Syntax
    ... { SINGLE }
    | { { } } ... .
    Alternatives:
    1. ... SINGLE
    2. ... { }
    Effect
    The data in lines specifies that the resulting set has either multiple lines or a single line.
    Alternative 1
    ... SINGLE
    Effect
    If SINGLE is specified, the resulting set has a single line. If the remaining additions to the SELECT command select more than one line from the database, the first line that is found is entered into the resulting set. The data objects specified after INTO may not be internal tables, and the APPENDING addition may not be used.
    An exclusive lock can be set for this line using the FOR UPDATE addition when a single line is being read with SINGLE. The SELECT command is used in this case only if all primary key fields in logical expressions linked by AND are checked to make sure they are the same in the WHERE condition. Otherwise, the resulting set is empty and sy-subrc is set to 8. If the lock causes a deadlock, an exception occurs. If the FOR UPDATE addition is used, the SELECT command circumvents SAP buffering.
    Note
    When SINGLE is being specified, the lines to be read should be clearly specified in the WHERE condition, for the sake of efficiency. When the data is read from a database table, the system does this by specifying comparison values for the primary key.
    Alternative 2
    Effect
    If SINGLE is not specified and if columns does not contain only aggregate expressions, the resulting set has multiple lines. All database lines that are selected by the remaining additions of the SELECT command are included in the resulting list. If the ORDER BY addition is not used, the order of the lines in the resulting list is not defined and, if the same SELECT command is executed multiple times, the order may be different each time. A data object specified after INTO can be an internal table and the APPENDING addition can be used. If no internal table is specified after INTO or APPENDING, the SELECT command triggers a loop that has to be closed using ENDSELECT.
    If multiple lines are read without SINGLE, the DISTINCT addition can be used to exclude duplicate lines from the resulting list. If DISTINCT is used, the SELECT command circumvents SAP buffering. DISTINCT cannot be used in the following situations:
    If a column specified in columns has the type STRING, RAWSTRING, LCHAR or LRAW
    If the system tries to access pool or cluster tables and single columns are specified in columns.
    Note
    When specifying DISTINCT, note that you have to carry out sort operations in the database system for this.
    SELECT - columns
    Syntax
    | { {col1|aggregate( col1 )}
    {col2|aggregate( col2 )} ... }
    | (column_syntax) ... .
    Alternatives:
    1. ... *
    2. ... {col1|aggregate( col1 )}
    {col2|aggregate( col2 )} ...
    3. ... (column_syntax)
    Effect
    The input in columns determines which columns are used to build the resulting set.
    Alternative 1
    Effect
    If * is specified, the resulting set is built based on all columns in the database tables or views specified after FROM, in the order given there. The columns in the resulting set take on the name and data type from the database tables or views. Only one data object can be specified after INTO.
    Note
    If multiple database tables are specified after FROM, you cannot prevent multiple columns from getting the same name when you specify *.
    Alternative 2
    ... {col1|aggregate( col1 )}
    {col2|aggregate( col2 )} ...
    Effect
    A list of column labels col1 col2 ... is specified in order to build the resulting list from individual columns. An individual column can be specified directly or as an argument of an aggregate function aggregate. The order in which the column labels are specified is up to you and defines the order of the columns in the resulting list. Only if a column of the type LCHAR or LRAW is listed does the corresponding length field also have to be specified directly before it. An individual column can be specified multiple times.
    The addition AS can be used to define an alternative column name a1 a2 ... with a maximum of fourteen digits in the resulting set for every column label col1 col2 .... The system uses the alternative column name in the additions INTO|APPENDING CORRESPONDING FIELDS and ORDER BY. .
    Column labels
    The following column labels are possible:
    If only a single database table or a single view is specified after FROM, the column labels in the database table - that is, the names of the components comp1 comp2... - can be specified directly for col1 col2 ... in the structure of the ABAP Dictionary.
    If the name of the component occurs in multiple database tables of the FROM addition, but the desired database table or the view dbtab is only specified once after FROM, the names dbtab~comp1 dbtab~comp2 ... have to be specified for col1 col2 .... comp1 comp2 ... are the names of the components in the structure of the ABAP Dictionary.
    If the desired database table or view occurs multiple times after FROM, the names tabalias~comp1 tabalias~comp2 ... have to be specified for col1 col2 .... tabalias is the alternative table name of the database table or view defined after FROM, and comp1 comp2 ... are the names of the components in the structure of the ABAP Dictionary.
    The data type of a single column in the resulting list is the datatype of the corresponding component in the ABAP Dictionary. The corresponding data object after INTO or APPENDING has to be selected accordingly.
    Note
    If multiple database tables are specified after FROM, you can use alternative names when specifying single columns to avoid having multiple columns with the same name.
    Example
    Read specific columns of a single row.
    DATA wa TYPE spfli.
    SELECT SINGLE carrid connid cityfrom cityto
    INTO CORRESPONDING FIELDS OF wa
    FROM spfli
    WHERE carrid EQ 'LH' AND connid EQ '0400'.
    IF sy-subrc EQ 0.
    WRITE: / wa-carrid, wa-connid, wa-cityfrom, wa-cityto.
    ENDIF.
    Alternative 3
    ... (column_syntax)
    Effect
    Instead of static data, a data object column_syntax in brackets can be specified, which, when the command is executed, either contains the syntax shown with the static data, or is initial. The data object column_syntax can be a character-type data object or an internal table with a character-type data type. The syntax in column_syntax, like in the ABAP editor, is not case-sensitive. When specifying an internal table, you can distribute the syntax over multiple rows.
    If column_syntax is initial when the command is executed, columns is implicitly set to * and all columns are read.
    If columns are specificied dynamically without the SINGLE addition, the resulting set is always regarded as having multiple rows.
    Notes
    Before Release 6.10, you could only specify an internal table with a flat character-type row type for column_syntax with a maximum of 72 characters. Also, before Release 6.10, if you used the DISTINCT addition for dynamic access to pool tables or cluster tables, this was ignored, but since release 6.10, this causes a known exception.
    If column_syntax is an internal table with header line, the table body and not the header line is evaluated.
    Example
    Read out how many flights go to and from a city. The SELECT command is implemented only once in a sub-program. The column data, including aggregate function and the data after GROUP BY, is dynamic. Instead of adding the column data to an internal l_columns table, you could just as easily concatenate it in a character-type l_columns field.
    PERFORM my_select USING `CITYFROM`.
    ULINE.
    PERFORM my_select USING `CITYTO`.
    FORM my_select USING l_group TYPE string.
    DATA: l_columns TYPE TABLE OF string,
    l_container TYPE string,
    l_count TYPE i.
    APPEND l_group TO l_columns.
    APPEND `count( * )` TO l_columns.
    SELECT (l_columns)
    FROM spfli
    INTO (l_container, l_count)
    GROUP BY (l_group).
    WRITE: / l_count, l_container.
    ENDSELECT.
    ENDFORM.
    SELECT - aggregate
    Syntax
    ... { MAX( col )
    | MIN( col )
    | AVG( col )
    | SUM( col )
    | COUNT( DISTINCT col )
    | COUNT( * )
    | count(*) } ... .
    Effect
    As many of the specified column labels as you like can be listed in the SELECT command as arguments of the above aggregate expression. In aggregate expressions, a single value is calculated from the values of multiple rows in a column as follows (note that the addition DISTINCT excludes double values from the calculation):
    MAX( col ) Determines the maximum value of the value in the column col in the resulting set or in the current group.
    MIN( col ) Determines the minimum value of the content of the column col in the resulting set or in the current group.
    AVG( col ) Determines the average value of the content of the column col in the resulting set or in the current group. The data type of the column has to be numerical.
    SUM( col ) Determines the sum of the content of the column col in the resulting set or in the current group. The data type of the column has to be numerical.
    COUNT( DISTINCT col ) Determines the number of different values in the column col in the resulting set or in the current group.
    COUNT( * ) (or count(*)) Determines the number of rows in the resulting set or in the current group. No column label is specified in this case.
    If you are using aggregate expressions, all column labels that are not listed as an argument of an aggregate function are listed after the addition GROUP BY. The aggregate functions evaluate the content of the groups defined by GROUP BY in the database system and transfer the result to the combined rows of the resulting set.
    The data type of aggregate expressions with the function MAX, MIN or SUM is the data type of the corresponding column in the ABAP Dictionary. Aggregate expressions with the function AVG have the data type FLTP, and those with COUNT have the data type INT4. The corresponding data object after INTO or APPENDING has to be selected accordingly.
    Note the following points when using aggregate expressions:
    If the addition FOR ALL ENTRIES is used in front of WHERE, or if cluster or pool tables are listed after FROM, no other aggregate expressions apart from COUNT( * ) can be used.
    Columns of the type STRING or RAWSTRING cannot be used with aggregate functions.
    When aggregate expressions are used, the SELECT command makes it unnecessary to use SAP buffering.
    Null values are not included in the calculation for the aggregate functions. The result is a null value only if all the rows in the column in question contain the null value.
    If only aggregate expressions are used after SELECT, the results set has one row and the addition GROUP BY is not necessary. If a non-table type target area is specified after INTO, the command ENDSELECT cannot be used together with the addition SINGLE. If the aggregate expression count( * ) is not being used, an internal table can be specified after INTO, and the first row of this table is filled.
    If aggregate functions are used without GROUP BY being specified at the same time, the resulting set also contains a row if no data is found in the database. If count( * ) is used, the column in question contains the value 0. The columns in the other aggregate functions contain initial values. This row is assigned to the data object specified after INTO, and unless count( * ) is being used exclusively, sy-subrc is set to 0 and sy-dbcnt is set to 1. If count( *) is used exclusively, the addition INTO can be omitted and if no data can be found in the database, sy-subrc is set to 4 and sy-dbcnt is set to 0.
    if helpful reward points

  • A basic query with respect to using Message Selectors in JMS

    Hi
    When i am going MEssage Selectors topic in web , it seems very confusing for me .
    I have written a simple JMS Application based on Weblogic as my Queue .
    I have two Java Files one for Message Producer and another file acting as Message Consumer using MDB
    I have a basic TextMessage with some header properties in my Producer file .
    Please tell me in what file should i put MessageSelector ??.
    Thanks for reading .
    Please clarify my query on this .

    Thank you very much .
    I found the code of a MDB making useage of a Selector .
    *<message-driven>*
    *     <message-selector>shirtType = 'polo'</message-selector>*
    *     </message-driven>*
    Assume that i written a MDB that listens to particular type of Messages (Polo in this case ) .
    Please tell me what happens to other messages in the Queue that were never listened by the MDB .
    Thank you .

  • How to make a really basic alleyway for a beginner

      Hello,I am a student making a project related to games and I picked an alleyway.I've
    read through a couple of threads on here dealing with making a game of
    alleyway in LabView.I a still a newbie and I am asking for some
    guideance inorder to be able to make such a game.I ask you to please have some patience with me.
      I
    am ,as you figured it out ,EchoWolf's class mate. And I also like also
    to learn LabView not just coping and cheating for I would like to
    increase my knowledge in LabView and because the purpose of this assignment is to learn.
     I
    have seen with EchoWolf's post and I was impressed how I was able to
    make a ball bounce from different starting positions and different
    angles.
    As I want to keep this game basic, I don't think I'll worry about having different ball speeds so far.
    Alley
    way is a game when the ball hits the brick and it
    breaks(disappears),how can I do it do I need to vanish it using the
    property node.
    I am sorry, I was not taught enough and I only ask
    for guideance and patience for I am a quick learner and I am very good
    at Math and Physics and I have some experience in C++ although the
    syntax stinks.
    Due to my inexperience, this might thake a lot of time.I thank you
    for any and all help anyone may be able to provide. Thank you in
    advanced for your patience.May I never fail you.
    This is what I have found .XD
     I am having trouble posting this message.
    “Give a man a fish and he will eat for a day; teach a man to fish and he will eat for a lifetime”
    "to learn a lesson is a far better reward than to win a prize early in the GAME"
    Attachments:
    alleyway.llb ‏318 KB

    LOL,
    First, let's play nice and actually give the source of the code you attached. I have the gut feeling that it is overly complicated and could be done with 25% of the code.
    As a first step, I would enable "smooth updates" on the image indicator to prevent the annoying flickering
    Echo Wolf2 wrote:
    As I want to keep this game basic, I don't think I'll worry about having different ball speeds so far.
    Yes, you have to worry, because the speed e.g. needs to change sign when it hits an object. Of course you could solve it with complex data and keep the speed magnitude constant.
    Echo Wolf2 wrote:
    Alley way is a game when the ball hits the brick and it breaks(disappears),how can I do it do I need to vanish it using the property node.
    I don't think you understand the meaning of "property node". What exactly did you have in mind?
    Echo Wolf2 wrote:
    I am sorry, I was not taught enough and I only ask for guideance and patience for I am a quick learner and I am very good at Math and Physics and I have some experience in C++ although the syntax stinks.
    It's probably the wrong approach trying to reverse engineer existing complicated code, so what I would do is start with some simple code like your classmate, writing someting where the ball bounces off walls only. Then you can expand it and add bricks. At the end add a paddle for user control.
    Make a plan about good data structures. How is the arena represented in memory?
    Echo Wolf2 wrote:
    Due to my inexperience, this might thake a lot of time.I thank you for any and all help anyone may be able to provide. Thank you in advanced for your patience.May I never fail you.
    The only way to really gain experience is to write programs. It's been 6+ hours since you posted. How far did you get in the meantime? Show us what you are doing and please ask questions when you get stuck.
    We won't write assignments for you, but we are willing to nudge you in the right direction.
    LabVIEW Champion . Do more with less code and in less time .

  • A lot of trace events on a basic query

    Hi All,
    We are struggling with a strange olap engine behavior on resolving basic MDX query on any measure
    even without any dimensions attributes involved. (on clear cache) 
    Enormous amount of Starting/Finishing Reading from Aggregation 0 emitted. (Progress Report Event; 14-Query sub event).
    We commented out all mdx script and enabled one native measure (count),
    but this take no effect. The product version is 2012 sp2.
    Has anyone ever met this issue before? 

    Hi Dimitri,
    According to your description, you can't execute MDX query at all. Right?
    In this scenario, pelase make sure the SSAS database is not corrupt. Re-deploy your cube and see if any error is thrown. Check the data in tables which are involved in dsv. You can use SQL query to join those tables and query the data in SSMS database engine.
    Go to SQL Server Configuration Manager and Services to see if SQL Server Analysis Services is running. And make sure the log on account has suffcient permission. If possbile please share some sample query and the detail error message.
    Simon Hou
    TechNet Community Support

Maybe you are looking for

  • Function Module for getting the desired date

    Hi All, I need a function module where in get the date value from Current date - 540 days. i,e System Date - 540 days = ???? Thanks Suresh

  • CQ45-144TX Bluetooth Driver

    I have just re-formatted the drive and reinstalled the Vista OS with the recovery CD created long time ago. Everything is going smooth except that I can't get the bluetooth to work now, it is off all the time as I have seen in Wireless Assistant no m

  • When i try to launch itunes nothing happens?

    I just updated to the latest software version 10.5 i beleive it said. and now when I try to open itunes nothing happens,no prompt no warning,absoulty nothing. does any one have any idea whats going on? this is a brandnew laptop it has worked upuntil

  • Will everything eventually be on iTunes Plus?

    Well I remember reading in the paper about a month ago that Apple was going to sell every song for $1.29. But, of course they didn't know the real facts. Then about 2 weeks later iTunes Plus comes around and songs were selling for $1.29, with all the

  • Xml file handling

    I’m working on File to file scenario. My source file is xml file. What sort of prerequisites I need to do before processing this file. I maintained the source file structure similar to xml file structure, do I need to maintain same attributes/tag nam