Looping Query logic Needed

Hi Team
I have requirement below , can you please help me with sql logic
My input table is below
INC_NUM
FA_ADD
HZ_ADD
PARENT_INC_NUM
ID
A0001
A
A
A0001-02
A
A
A0001
1
A0001-04
B
C
A0001
1
A0001-05
B
C
A0001
1
A0001-09
B
S
A0001
1
A0001-07
D
A
A0001
1
B0001
J
K
B0001-03
L
M
B0001
2
B0001-04
J
K
B0001
2
B0001-05
A
B
B0001
2
B0001-06
A
B
B0001
2
B0001-07
A
B
B0001
2
C0001-02
A
B
C0001-03
A
C
C0001-02
3
C0001-05
A
B
C0001-02
3
My output
INC_NUM
FA_ADD
HZ_ADD
PARENT_INC_NUM
A0001
A
A
A0001-02
A
A
A0001
A0001-04
B
C
A0001-05
B
C
A0001-09
B
S
A0001-07
D
A
B0001
J
K
B0001-03
L
M
B0001-04
J
K
B0001
B0001-05
A
B
B0001-06
A
B
B0001-07
A
B
C0001-02
A
B
C0001-03
A
C
C0001-05
A
B
C0001-02
Here i n considering  null values of parent_inc_num or null values of ID as Parent record  ID
And i m comparing this record  FA_ADD and HZ_ADD with its child records FA_ADD and HZ_ADD ,If they matches then i m assigning Parent_INC_NUM else null
Let me take example of record C0001-02, it has null values of PARENT_INC_NUM (or null for ID)
So C0001-02 is considered as base record ,
Now i m comparing FA_ADD and HZ_ADD values of C0001-02 with its child records FA_ADD and HZ-ADD (ie C0001-03,C0001-05 )
C0001-03 doesnt match so i m assigning null in target else i m assigning its base record ie C0001-02
Below is table sample data
could you please help
with t as
(select 'A0001' as INC_NUM,'A' as FA_ADD,'A' as HZ_ADD ,null as PARENT_INC_NUM ,null as ID from dual
union all
select 'A0001-02' as INC_NUM,'A' as FA_ADD,'A' as HZ_ADD ,'A0001' as PARENT_INC_NUM ,1 as ID from dual
union all
select 'A0001-04' as INC_NUM,'B' as FA_ADD,'C' as HZ_ADD ,'A0001' as PARENT_INC_NUM ,1 as ID from dual
union all
select 'A0001-05' as INC_NUM,'B' as FA_ADD,'C' as HZ_ADD ,'A0001' as PARENT_INC_NUM , 1 as ID from dual
union all
select 'A0001-09' as INC_NUM,'B' as FA_ADD,'S' as HZ_ADD ,'A0001' as PARENT_INC_NUM,1 as ID from dual
union all
select 'A0001-07' as INC_NUM,'D' as FA_ADD,'A' as HZ_ADD ,'A0001' as PARENT_INC_NUM,1 as ID from dual
union all
select 'B0001' as INC_NUM,'J' as FA_ADD,'K' as HZ_ADD ,null as PARENT_INC_NUM , null as ID from dual
union all
select 'B0001-03' as INC_NUM,'L' as FA_ADD,'M' as HZ_ADD ,'B0001' as PARENT_INC_NUM,2 as ID from dual
union all
select 'B0001-04' as INC_NUM,'J' as FA_ADD,'K' as HZ_ADD ,'B0001' as PARENT_INC_NUM ,2 as ID from dual
union all
select 'B0001-05' as INC_NUM,'A' as FA_ADD,'B' as HZ_ADD ,'B0001' as PARENT_INC_NUM,2 as ID from dual
union all
select 'B0001-06' as INC_NUM,'A' as FA_ADD,'B' as HZ_ADD ,'B0001' as PARENT_INC_NUM,2 as ID from dual
union all
select 'B0001-07' as INC_NUM,'A' as FA_ADD,'B' as HZ_ADD ,'B0001' as PARENT_INC_NUM,2 as ID  from dual
union all
select 'C0001-02' ,'A','B',null,null from dual
union all
select 'C0001-03','A','C','C0001-02',3 from dual
union all
select 'C0001-05','A','B','C0001-02',3 from dual
select * from t
I have 100 thousands of records of this  data ,so need to take care of performance as well
Thank you
Sumanth

with t as
(select 'A0001' INC_NUM,'A' FA_ADD,'A' HZ_ADD ,null as PARENT_INC_NUM ,null as ID from dual union all
select 'A0001-02','A','A','A0001',1 from dual union all
select 'A0001-04','B','C','A0001',1 from dual union all
select 'A0001-05','B','C','A0001',1 from dual  union all
select 'A0001-09','B','S','A0001',1 from dual union all
select 'A0001-07','D','A','A0001',1 from dual union all
select 'B0001','J','K',null,null from dual union all
select 'B0001-03','L','M','B0001',2 from dual union all
select 'B0001-04','J','K','B0001',2 from dual union all
select 'B0001-05','A','B','B0001',2 from dual union all
select 'B0001-06','A','B','B0001',2 from dual union all
select 'B0001-07','A','B','B0001',2 from dual union all
select 'C0001-03' ,'A','B',null,null from dual union all
select 'C0001-02','A','C','C0001-03',3 from dual union all
select 'C0001-05','A','B','C0001-03',3 from dual union all
select 'C0001-06','A','B','C0001-03',3 from dual
select INC_NUM,FA_ADD,HZ_ADD,
       case when fa_add = connect_by_root fa_add
             and hz_add = connect_by_root hz_add
            then parent_inc_num
       end parent_inc_num
  from t
start with parent_inc_num is null
connect by prior inc_num = parent_inc_num
INC_NUM
FA_ADD
HZ_ADD
PARENT_INC_NUM
A0001
A
A
A0001-02
A
A
A0001
A0001-04
B
C
A0001-05
B
C
A0001-07
D
A
A0001-09
B
S
B0001
J
K
B0001-03
L
M
B0001-04
J
K
B0001
B0001-05
A
B
B0001-06
A
B
B0001-07
A
B
C0001-03
A
B
C0001-02
A
C
C0001-05
A
B
C0001-03
C0001-06
A
B
C0001-03
Regards
Etbin

Similar Messages

  • Date selection in query : logic needed!

    Hi,
    we have one calendar day depending on which the query result is displayed!
    Now the requirement is such that when user enters one date the query has to generate the result for the multiple date ranges including the one which he has entered.
    example: if user has entered 15/9/2007 then query should not only display the result of the date 15/9/2007 but also the results of  -5 to +2 ( means 10/9,11/9,12/9,13/9 and 14/9 plus 16/9 and 17/9 )
    simlarly other ranges like -8 to + 7 and so on
    How to define this in query?
    Thanks,
    Ravi

    Hello ,
    I need to make a graph conveying the information of the deliveries by comparing the goods issue date and promised date !
    report also requires how many deliveries were on time, how many were late and how many were early!
    for this requirement, i had thought of making a date selection field which is promised date and make furthur more date ranges selections by query it self so that late deliveries and early deliveries also covered in these date ranges.
    -5 to + 2 is that one range which is on time delivery range
    if the delivery is more eally than the -5 days then it is early delivery. even in ealry delivery i want to make how early it is.
    and suppose the delivery has crossed the promised date 2 days more then it is late delivery.
    all has to be acheived by single date selection and there after the logic which takes care of all the date ranges i had explained.
    i am looking for that logic which i am not finding
    Hope this is clear now
    Thanks,
    Ravi

  • Simple Query Help Needed

    I must not be in the right mode today, because this is giving
    me a hard time...
    I have a SQL Server database with 250,000 records. Each
    record represents a medical visit.
    Each record has 25 fields that contain patient diagnosis. A
    visit may show one diagnosis, or it may show as many as 25. Any
    specific diagnosis (250.00 for example) may appear in a field
    called Code1, or a field called Code2.... Code25.
    There are a total of about 500 patients that make up the
    250,000 visits.
    What I need is a report that shows each DISTINCT diagnosis,
    and a listing (and count) of people that have been assigned that
    diagnosis.
    My thought is to first query the table to arrive at the
    unique list of diagnosis codes. Then, in a nested loop, query the
    database to see who has been assigned that code, and how many
    times.
    This strikes me as an incredibly database intensive query,
    however.
    What is teh correct way to do this?

    The correct way to do this is to normalize your database.
    Rather than having 25 separate colums that essentially
    contain the same data (different codes), break that out into a
    separate table.
    Patient
    patientid
    Visit
    patientid (foreign key referencing Patient)
    visitid
    Diagnosis
    visitid (foreign key referencing visitid in Visit)
    diagnosiscode
    order (if the 1-25 ordering of diagnosis codes is important)
    Once you correct your datamodel, what you're trying to do
    becomes simple.
    -- get all diagnosis codes
    select distinct(diagnosiscode) from diagnosis
    -- get a breakdown of diagnosis codes, patients, and counts
    for that diagnosis
    select diagnosiscode, patient.name, count(diagnosiscode) from
    patient left join visit on (patient.patientid =
    visit.patientid)
    left join diagnosis on (visit.visitid = diagnosis.visitid)
    group by diagnosiscode, patient.name

  • I havent any vocal loops on logic pro. its greyed out. How do i access this?

    I havent any vocal loops on logic pro, its greyed out. How do i access this?

    Have you downloaded the additional content?
    Go to menu bar in Logic.. and under Logic Pro/Download additonal Content, you will find what you need to download there..

  • Assistance in writing Query / Query Logic.

    I have a peculiar requirement to fetch data.
    Table Structure ( Sample ... although real table has more fields)
    Order ( orderid varchar2(30), custid varchar2(30), status varchar2(1), createdon datetime )
    Sample Data:
    OrderID CustID AccID Status createdon
    123 111 Y 20-Jan-2012 01:29:22
    124 111 100 Y 22-Jan-2012 01:23:02
    125 111 100 N 23-Jan-2012 02:34:24
    126 111 100 N 28-Jan-2012 04:23:22
    127 111 100 N 29-Jan-2012 07:32:26
    123Cancel 111 100 N 31-Jan-2012 03:27:29
    I want to write 2 Queries.
    a. input is OrderId, Need to find out how many order's present with status = 'N' after that orderid provided.
    b. input is OrderId, Need to find out what is the previous order with status = 'Y'
    Note: There can be 100's of orders and Status would be Y on first come first serve basis... if one does not have status = 'Y' ie it is 'N' the following order's will never turn to final status = 'Y'.
    There are millions of records in the table.
    Your help for writing this query / logic would be highly appreciated. Am intending to do thru single query.
    Best Regards
    MH Doshi

    select count(*) from order
    where createdon >( select created from order where order_id = &order_id);
    and status = 'N';
    select * from (select a.*, rownum rn from (select order_id from order
    where status = 'Y'
    and createdon<(seelect createdon from order where order_id = &order_id)
    order by createdon)) where rn=1

  • Complex Query which needs tuning

    Hello :
    I have a complex query that needs to be tuned. I have little experience in tuning the sql and hence taking the help of your guys.
    The Query is as given below:
    Database version 11g
    SELECT DISTINCT P.RESPONSIBILITY, P.PRODUCT_MAJOR, P.PRODUCT_MINOR,
    P.PRODUCT_SERIES, P.PRODUCT_CATEGORY AS Category1, SO.REGION_CODE,
    SO.STORE_CODE, S.Store_Name, SOL.PRODUCT_CODE, PRI.REPLENISHMENT_TYPE,
    PRI.SUPPLIER_CODE,
    SOL.SOLD_WITH_NIC, SOL.SUGGESTED_PRICE,
    PRI.INVOICE_COST, SOL.FIFO_COST,
    SO.ORDER_TYPE_CODE, SOL.DOCUMENT_NUM,
    SOS.SLSP_CD, '' AS FNAME, '' AS LNAME,
    SOL.PRICE_EXCEPTION_CODE, SOL.AS_IS,
    SOL.STATUS_DATE,
    Sum(SOL.QUANTITY) AS SumOfQUANTITY,
    Sum(SOL.EXTENDED_PRICE) AS SumOfEXTENDED_PRICE
    --Format([SALES_ORDER].[STATUS_DATE],"mmm-yy") AS [Month]
    FROM PRODUCT P,
    PRODUCT_MAJORS PM,
    SALES_ORDER_LINE SOL,
    STORE S,
    SALES_ORDER SO,
    SALES_ORDER_SPLITS SOS,
    PRODUCT_REGIONAL_INFO PRI,
    REGION_MAP R
    WHERE P.product_major = PM.PRODUCT_MAJOR
    and SOL.PRODUCT_CODE = P.PRODUCT_CODE
    and SO.STORE_CODE = S.STORE_CODE
    AND SO.REGION_CODE = S.REGION_CODE
    AND SOL.REGION_CODE = SO.REGION_CODE
    AND SOL.DOCUMENT_NUM = SO.DOCUMENT_NUM
    AND SOL.DELIVERY_SEQUENCE_NUM = SO.DELIVERY_SEQUENCE_NUM
    AND SOL.STATUS_CODE = SO.STATUS_CODE
    AND SOL.STATUS_DATE = SO.STATUS_DATE
    AND SO.REGION_CODE = SOS.REGION_CODE
    AND SO.DOCUMENT_NUM = SOS.DOCUMENT_NUM
    AND SOL.PRODUCT_CODE = PRI.PRODUCT_CODE
    AND PRI.REGION_CODE = R.CORP_REGION_CODE
    AND SO.REGION_CODE = R.DS_REGION_CODE
    AND P.PRODUCT_MAJOR In ('STEREO','TELEVISION','VIDEO')
    AND SOL.STATUS_CODE = 'D'
    AND SOL.STATUS_DATE BETWEEN '01-JUN-09' AND '30-JUN-09'
    AND SO.STORE_CODE NOT IN
    ('10','20','30','40','70','91','95','93','94','96','97','98','99',
    '9V','9W','9X','9Y','9Z','8Z',
    '8Y','92','CZ','FR','FS','FT','FZ','FY','FX','FW','FV','GZ','GY','GU','GW','GV','GX')
    GROUP BY
    P.RESPONSIBILITY, P.PRODUCT_MAJOR, P.PRODUCT_MINOR, P.PRODUCT_SERIES, P.PRODUCT_CATEGORY,
    SO.REGION_CODE, SO.STORE_CODE, /*S.Short Name, */
    S.Store_Name, SOL.PRODUCT_CODE,
    PRI.REPLENISHMENT_TYPE, PRI.SUPPLIER_CODE,
    SOL.SOLD_WITH_NIC, SOL.SUGGESTED_PRICE, PRI.INVOICE_COST,
    SOL.FIFO_COST, SO.ORDER_TYPE_CODE, SOL.DOCUMENT_NUM,
    SOS.SLSP_CD, '', '', SOL.PRICE_EXCEPTION_CODE,
    SOL.AS_IS, SOL.STATUS_DATE
    Explain Plan:
    SELECT STATEMENT, GOAL = ALL_ROWS               Cost=583     Cardinality=1     Bytes=253
    HASH GROUP BY               Cost=583     Cardinality=1     Bytes=253
    FILTER                         
    NESTED LOOPS               Cost=583     Cardinality=1     Bytes=253
    HASH JOIN OUTER               Cost=582     Cardinality=1     Bytes=234
    NESTED LOOPS                         
    NESTED LOOPS               Cost=571     Cardinality=1     Bytes=229
    NESTED LOOPS               Cost=571     Cardinality=1     Bytes=207
    NESTED LOOPS               Cost=569     Cardinality=2     Bytes=368
    NESTED LOOPS               Cost=568     Cardinality=2     Bytes=360
    NESTED LOOPS               Cost=556     Cardinality=3     Bytes=435
    NESTED LOOPS     Cost=178     Cardinality=4     Bytes=336
    NESTED LOOPS          Cost=7     Cardinality=1     Bytes=49
    HASH JOIN               Cost=7     Cardinality=1     Bytes=39
    VIEW     Object owner=CORP     Object name=index$_join$_015     Cost=2     Cardinality=3     Bytes=57
    HASH JOIN                         
    INLIST ITERATOR                         
    INDEX UNIQUE SCAN     Object owner=CORP     Object name=PRODMJR_PK     Cost=0     Cardinality=3     Bytes=57
    INDEX FAST FULL SCAN     Object owner=CORP     Object name=PRDMJR_PR_FK_I     Cost=1     Cardinality=3     Bytes=57
    VIEW     Object owner=CORP     Object name=index$_join$_016     Cost=4     Cardinality=37     Bytes=740
    HASH JOIN                         
    INLIST ITERATOR                         
    INDEX RANGE SCAN     Object owner=CORP     Object name=PRDMNR1     Cost=3     Cardinality=37     Bytes=740
    INDEX FAST FULL SCAN     Object owner=CORP     Object name=PRDMNR_PK     Cost=4     Cardinality=37     Bytes=740
    INDEX UNIQUE SCAN     Object owner=CORP     Object name=PRODMJR_PK     Cost=0     Cardinality=1     Bytes=10
    MAT_VIEW ACCESS BY INDEX ROWID     Object owner=CORP     Object name=PRODUCTS     Cost=171     Cardinality=480     Bytes=16800
    INDEX RANGE SCAN     Object owner=CORP     Object name=PRD2     Cost=3     Cardinality=681     
    TABLE ACCESS BY INDEX ROWID     Object owner=DS     Object name=SALES_ORDER_LINE     Cost=556     Cardinality=1     Bytes=145
    BITMAP CONVERSION TO ROWIDS                         
    BITMAP INDEX SINGLE VALUE     Object owner=DS     Object name=SOL2               
    TABLE ACCESS BY INDEX ROWID     Object owner=DS     Object name=SALES_ORDER     Cost=4     Cardinality=1     Bytes=35
    INDEX RANGE SCAN     Object owner=DS     Object name=SO1     Cost=3     Cardinality=1     
    TABLE ACCESS BY INDEX ROWID     Object owner=DS     Object name=REGION_MAP     Cost=1     Cardinality=1     Bytes=4
    INDEX RANGE SCAN     Object owner=DS     Object name=REGCD     Cost=0     Cardinality=1     
    MAT_VIEW ACCESS BY INDEX ROWID     Object owner=CORP     Object name=PRODUCT_REGIONAL_INFO     Cost=2     Cardinality=1     Bytes=23
    INDEX UNIQUE SCAN     Object owner=CORP     Object name=PRDRI_PK     Cost=1     Cardinality=1     
    INDEX UNIQUE SCAN     Object owner=CORP     Object name=BI_STORE_INFO_PK     Cost=0     Cardinality=1     
    MAT_VIEW ACCESS BY INDEX ROWID     Object owner=CORP     Object name=BI_STORE_INFO     Cost=1     Cardinality=1     Bytes=22
    VIEW     Object owner=DS     cost=11     Cardinality=342     Bytes=1710
    HASH JOIN               Cost=11     Cardinality=342     Bytes=7866
    MAT_VIEW ACCESS FULL     Object owner=CORP     Object name=STORE_CORP     Cost=5     Cardinality=429     Bytes=3003
    NESTED LOOPS               Cost=5     Cardinality=478     Bytes=7648
    MAT_VIEW ACCESS FULL     Object owner=CORP     Object name=STORE_GROUP     Cost=5     Cardinality=478     Bytes=5258
    INDEX UNIQUE SCAN     Object owner=CORP     Object name=STORE_REGIONAL_INFO_PK     Cost=0     Cardinality=1     Bytes=5
    INDEX RANGE SCAN     Object owner=DS     Object name=SOS_PK     Cost=2     Cardinality=1     Bytes=19
    Regards,
    BMP

    First thing that i notice in this query is you are Using Distinct as well as Group by.
    Your group by will always give you distinct results ,then again why do you need the Distinct?
    For example
    WITH t AS
         (SELECT 'clm1' col1, 'contract1' col2,10 value
            FROM DUAL
          UNION ALL
          SELECT 'clm1' , 'contract1' ,10 value
            FROM DUAL
          UNION ALL
          SELECT 'clm1', 'contract2',10
            FROM DUAL
          UNION ALL
          SELECT 'clm2', 'contract1',10
            FROM DUAL
          UNION ALL
          SELECT 'clm3', 'contract1',10
            FROM DUAL
          UNION ALL
          SELECT 'clm4', 'contract2',10
            FROM DUAL)
    SELECT  distinct col1,col2,sum(value) from t
    group by col1,col2Is always same as
    WITH t AS
         (SELECT 'clm1' col1, 'contract1' col2,10 value
            FROM DUAL
          UNION ALL
          SELECT 'clm1' , 'contract1' ,10 value
            FROM DUAL
          UNION ALL
          SELECT 'clm1', 'contract2',10
            FROM DUAL
          UNION ALL
          SELECT 'clm2', 'contract1',10
            FROM DUAL
          UNION ALL
          SELECT 'clm3', 'contract1',10
            FROM DUAL
          UNION ALL
          SELECT 'clm4', 'contract2',10
            FROM DUAL)
    SELECT  col1,col2,sum(value) from t
    group by col1,col2And also
    AND SOL.STATUS_DATE BETWEEN '01-JUN-09' AND '30-JUN-09'It would be best to use a to_date when hard coding your dates.
    Edited by: user5495111 on Aug 6, 2009 1:32 PM

  • Loop query

    i have a simple loop query. I want to get same data from 3 different tables into a single internal table like
    if tab1 data is not available then tab2 then tab3.
    now when i use my internal table how do i fill data into my internal table and what will be my loop condition.
    i have already written select statement.
    a sample code will be of great help

    Hi,
    The above said code I think it doesn't work properly because in the select statement from table name placed after the internal table and also no need of append statement.
    Use like this...(itab-Internal table name)
    Select * from tab1 into table itab
        where (condition).
    if sy-subrc <> 0.
      Select * from tab2 into table itab
         where(condition).
      if sy-subrc <> 0.
        Select * from tab3 into table itab
           where (condition).
      endif.
    endif.
    Now you will get value in the internal table itab.Three different tables where tab1,tab2,tab3.
    Thanks,
    Sakthi C
    *Rewards if useful--*

  • Things that Logic needs to be #1!!!!

    I think Logic needs to do some work on the waveform edit.
    More like Pro Tools.
    Right now, the main thing i miss is not to be able to quantize an Apple Loop. I mean, some parts of the loop that are offbeat are impossible to quantize.
    Message was edited by: Bob Antis

    Yes,i mean the blue apple loops.
    I wouldn't even mind if i could tweak the normal aiff loops like Ableton Live or Pro Tools, to be able to quantize by yourself with precision!
    I think Apple should include that in their next update, it's so important for waveform editing. My self, i edit a loop in Pro Tools,then export it and work it in Logic, it's so frustrating!!!

  • Can I delete logic pro 9 and keep all the loops for logic pro X

    I am running out of space on my computer and I want to delete as much as I can. I need to know if i delete logic pro 9 will i lose all apple loops for logic pro X.

    This is not the right forum for your question.
    Re-post the question here.
    Russ

  • PROBLEMS WITH LOOPS ON LOGIC PRO 9- PLEASE HELP

    I'm messing around the loop Browser. Actually I am getting quite good at it. Even starting doing my personal loops... but there's something in the organization that I don't understand.
    I need to make my personal folders with my loops AND I need to get rid of some redundant loops OR change some names but the system won't let me do that.
    It just let me put my new loops. They would show up as a bulk in "my Loops" and that's it:
    1) Redundant loops don't appear anyway. (except in the browser) and I looked on
    Library/Audio/Apple Loops
    Library/Application Support/Logic/Apple Loops
    Library/Application Support/GarageBand/Apple Loops
    Users/"You"/Library/Audio/Apple Loops
    Users/"You"/Library/Application Support/Logic/Apple Loops
    Users/"You"/Library/Application Support/GarageBand/Apple Loops
    2) I organized my loops with dedicated folders but they wouldn't show up in the browser... And I did re-index the Lybrary...
    3) Same when I try changing names...
    Anyone could help me with this matter? should I may be reinstall Logic again? My current computer was installed from a backup after the other one was stolen... just saying
    Thanks in advance
    Fran

    Are you using Logic Pro 9.1.8 which is the only version of LP9  that is fully compatible with Mavericks?
    Also, did you let LP9 rescan the plugins.. If you are not sure... open the Audio Units Manager found under preferences in LP9's menu bar...and see if any of your missing plugins are listed there..
    If not, quit LP9, delete the AudioUnit cache and launch LP9 again so it does a full rescan...
    http://support.apple.com/kb/TS1086?viewlocale=en_US&locale=en_US
    (This is for LP8 but it works the same in LP9)

  • Loops in Logic Studio, but missing otherwise...

    I see the Apple Loops Utility has been problematic for people...but i haven't seen this issue specifically:
    I have created an Apple Loop (several actually) in my Logic project. I can load them from DIFFERENT Logic projects, but if i go to the folder where the loops are SUPPOSED to be there is nothing there. The folder even says that it was recently updated, if i make a new loop, the time and date is correct, but the folder is empty. The Apple Loops Utility doesn't see these loops, but Logic does. This is messed up. How am i supposed to share my loops with my bandmate?
    OMGWTFBBQIRL??

    Hi Jaffles,
    The best thing to doo is go to the various "Apple Loops Index" folders, remove all the index files that are in there and then reindex your loops by dragging them into the loop Browser. The index files will then be rebuilt.
    regards, Erik.

  • Assigning Keys to Apple Loops in Logic

    I am creating Apple Loops in Logic by selecting an audio region and then selecting "Add to Apple loops library" under the mini region menu.
    The manual states that whatever key I set in Global tracks is the key that is assigned to the loop. This works well for pitched material, but for non pitched material I don't want a key designated. I have noticed that when I set a tag to the loop of "Drums" no key is assigned, but when I set a tag of "Percussion" the key does get assigned to the particular loop. This is a problem because the pitch of the percussion changes when that Apple Loop is brought back into another Logic session that has a different key assignment the a particular loop on the Global Track.
    I understand I can designate "No Key" in the Apple Loops utility, but I prefer to make my loops straight from the Logic arrange window. I am finding the Apple Loops Utility a bit buggy. Does anyone know the most recent version of the Apple Loops Utility?
    Thank you for your help.

    Any word on a fix for this?
    I've found Apple Loops VERY buggy in L9! Not only do they not loop correctly in the browser when your project is at a sample rate other than 44.1 (for example, working for broadcast at 48k as I mostly do), but I've also seen them behaving weirdly in the arrange page.
    Today I had a truncated Apple Loop in a project which would play back differently on subsequent attempts. Sometimes it would get to bar 4, for example, and other times it would only get midway through bar 3...! And this is with basic Apple factory installed loops.
    What's up with this? I've already re-indexed and re-installed the loops. No change. No fix.
    Totally unprofessional, Apple.

  • Apple loops in logic pro 7

    If i use a drum loop in logic.. would i be able to remove the the kick drum or snare in certain parts of the song? eg..for build ups and break downs. i know in reason if you use a drum loop you can remove parts of the sample. because the sample is rex formatted (in slices).

    Just in case you don't already know, the EXS24 can import a REX file and in one step it assigns the individual slices to keys and exports the MIDI file to the selected sequencer track. It's quicker than loading a REX into DrRex.
    The only problem is you can't preview REX files like you can in DrRex.
    Phatmatik Pro is the other way to accomplish the same thing.
    All of them have unique and different features/options.

  • Why does logic need to be "warmed up"?

    Whenever I start logic pro 7.1.1 and load up my most recent song, I always have to go through a series of core overloads. Most of my softsynths ( I typically use around 25 ) are EXS24 samples, and it seems as though whenever I load up an instrument I have a huge spike in CPU when a new note is played for the first time, and then it plays fine after that. The problem is when I load up a song and press play, I have to go through an annoying and tedious series of core overloads every time a new note is played until logic cashes all of the notes and I can actualy get to work. Is there any settings that I should change so logic will play the song the first time?
    My core audio settings
    256mb buffer
    larger disk buffer
    medium process buffer range
    power book g4 1.5ghz 512mb ram logic 7.1.1 pro

    512mb ram
    That's problem #1
    larger disk buffer
    Not a good idea, in view of your low RAM.
    Are you using an external drive for your projects?
    Having said that, I know this has been mentioned here before, so you might want to search for EXS24+missing notes. I think it was iSchwartz that had a theory about this - but I know that even with plenty of memory it seems that Logic needs its pump primed sometimes.

  • Problem in Query Logic

    Hello,
    m having a query logic problem..
    i am getting 2 id's ... from which i want to select that particular id which has a maximum date.... this i wanted to search in another table ...
    any idea ,...??

    Aijaz Mallick wrote:
    Hello,
    m having a query logic problem..
    i am getting 2 id's ... from which i want to select that particular id which has a maximum date.... this i wanted to search in another table ...
    any idea ,...??Do you mean something like this?
    SQL> ed
    Wrote file afiedt.buf
      1  with table1 as (select 1 as id, to_date('03/04/2010','DD/MM/YYYY') as start_date from dual union all
      2                  select 2, to_date('05/04/2010','DD/MM/YYYY') from dual union all
      3                  select 3, to_date('04/04/2010','DD/MM/YYYY') from dual)
      4      ,table2 as (select 1 as id, 'Fred' as emp_name from dual union all
      5                  select 2, 'Bob' from dual union all
      6                  select 3, 'Jim' from dual)
      7  --
      8  -- END OF EXAMPLE DATA
      9  --
    10  select emp_name
    11  from   table2
    12  where  id = (select id
    13               from (select id, row_number() over (order by start_date desc) as rn
    14                     from   table1
    15                    )
    16               where rn = 1
    17*             )
    SQL> /
    EMP_
    Bob
    SQL>

Maybe you are looking for

  • Dynamic data in Spry Collapsible Panel

    Hi guys, Am trying to get data from a Data Set into the Spry Collapsible Panel, with little luck. Have tried the following and was wondering if i am doing something wrong? <div spry:region="dsProduct"> <div id="CollapsiblePanel1" class="CollapsiblePa

  • W2408h wakes up immediately from sleep

    I have a w2408h connected to a MacBook Pro (2012, non-Retina, OS 10.8.2) with a mini-DisplayPort-to-HDMI adapter. In the Mac's Energy Saver preferences, it's set to put the monitor to sleep after 1 minute. Recently, the sleep feature has stopped work

  • Lost All FW Ports !

    Hello there, Suddenly my Mac has lost all Fire Wire ports Any advice please will be much appreciated Message was edited by: another new convert

  • SAP Print to IFS

    Hi, Is it possible to set up a SAP printer that will send the spool to a text file on the IFS? Cheers, Dan

  • Purchase order release stratergy Workflow

    Hi All, I am using SAP standard PO rel. workflow WS200000075 using BO BUS2012. At the first Activity - task(TS20000166) it determines Agent(receiver of workitem for releasing), through default rule(20000027), at simulation of rule it determines agent