Using "with as select" to do a recursive query

Hello dear all
I have a question about "with as select" structure.
Is it possible to do a recursive query with this structure?
for example for this table ( river: name,river,lake,sea) i wrote this query to get all of the rivers flowing directly or indirectly in a specific river:
select name from RIVER r
start with r.river='Zaire'
connect by prior r.name=r.river
order by level
now how i can write the same function with "with as select"?
im using oracle 11g.
if you need ,i'll provide create/insert for the table.
best,david

set linesize 132
column Name format a20
column River format a20
column Lake format a20
column Sea format a20
WITH StartWith(
               Name,
               River,
               Lake,
               Sea,
               Length,
               LevelNum
              ) AS (
                     SELECT  Name,
                             River,
                             Lake,
                             Sea,
                             Length,
                             1 LevelNum
                       FROM  RIVER
                       WHERE  River IS NULL
                    UNION ALL
                       SELECT  r.Name,
                               r.River,
                               r.Lake,
                               r.Sea,
                               r.Length,
                               s.LevelNum + 1 LevelNum
                         FROM      RIVER r
                               INNER JOIN
                                   StartWith s
                                 ON s.Name = r.River
  SEARCH DEPTH FIRST BY Name SET NameOrder
SELECT  lpad(' ',LevelNum - 1) || Name Name,
        River,
        Lake,
        Sea,
        Length
  FROM  StartWith
  ORDER BY NameOrder
NAME                 RIVER                LAKE                 SEA                      LENGTH
Amazonas                                                       Atlantic Ocean             6518
Amudarja                                  Ozero Aral                                      1415
Pjandsh             Amudarja                                                             1125
Amur                                                           Arctic Ocean               2918
Argun               Amur                                                                 1620
Schilka             Amur                                                                  560
  Ingoda             Schilka                                                               708
  Onon               Schilka                                                              1032
Chatanga                                                       Arctic Ocean               1636
Colorado                                                       Pacific Ocean              2700
Columbia River                                                 Pacific Ocean              1952
NAME                 RIVER                LAKE                 SEA                      LENGTH
Connecticut River                                              Atlantic Ocean              660
Cuanza                                                         Atlantic Ocean
Cunene                                                         Atlantic Ocean
Dalaelv                                                        Baltic Sea                  520
Oesterdalaelv       Dalaelv
Vaesterdalaelv      Dalaelv
Djuba                                                          Indian Ocean
Dnepr                                                          Black Sea                  2201
Don                                                            Sea of Azov                1870
Donau                                                          Black Sea                  2850
Drin                                                           Mediterranean Sea
NAME                 RIVER                LAKE                 SEA                      LENGTH
Black Drin          Drin                                                                  133
White Drin          Drin
Elbe                                                           North Sea                  1144
Moldau              Elbe                                                                  435
Gambia                                                         Atlantic Ocean
Garonne                                                        Atlantic Ocean              650
Gloma                                                          North Sea                   598
Goetaaelv                                                      North Sea                    93
Han                                                            Yellow Sea
Hudson River                                                   Atlantic Ocean              493
Hwangho                                                        Yellow Sea
NAME                 RIVER                LAKE                 SEA                      LENGTH
Jangtse-Kiang                                                  East China Sea             6100
Jenissej                                                       Arctic Ocean               4130
Grosser Jenissej    Jenissej                                                              605
Kleiner Jenissej    Jenissej                                                              680
Joekulsa a Fjoellum                                            Norwegian Sea               206
Karun                                                          Persian Gulf                890
Kemijoki                                                       Baltic Sea                  520
Ounasjoki           Kemijoki
Kitakami                                                       Pacific Ocean
Klaraelv                                  Vaenern                                          347
Kokemaeenjoki                                                  Baltic Sea                  169
NAME                 RIVER                LAKE                 SEA                      LENGTH
Kolyma                                                         Arctic Ocean               2513
Kura                                      Caspian Sea                                     1364
Lena                                                           Arctic Ocean               4400
Limpopo                                                        Indian Ocean
Loire                                                          Atlantic Ocean             1010
Mekong                                                         South China Sea            4500
Mississippi                                                    Gulf of Mexico             3750
Arkansas            Mississippi                                                          2334
Missouri            Mississippi                                                          3726
Neva                                                           Baltic Sea                   74
Niger                                                          Atlantic Ocean
NAME                 RIVER                LAKE                 SEA                      LENGTH
Bani                Niger
Benue               Niger
Nile                                                           Mediterranean Sea
Atbara              Nile
Blue Nile           Nile
White Nile          Nile
  Bahr el-Djebel     White Nile
  Bahr el-Gasal      White Nile
  Sobat              White Nile
   Baro              Sobat
   Pibor             Sobat
NAME                 RIVER                LAKE                 SEA                      LENGTH
Northern Dwina                                                 Arctic Ocean                740
Jug                 Northern Dwina                                                        574
Suchona             Northern Dwina                                                        562
Ob                                                             Arctic Ocean               3680
Bija                Ob                                                                    688
Irtysch             Ob                                                                   4248
  Black Irtysch      Irtysch                                                               672
  Ischim             Irtysch                                                              2450
Katun               Ob                                                                    306
Tobol               Ob                                                                   1591
Oranje                                                         Atlantic Ocean
NAME                 RIVER                LAKE                 SEA                      LENGTH
Vaal                Oranje
Orinoco                                                        Atlantic Ocean             2736
Oulujoki                                                       Baltic Sea
Petschora                                                      Arctic Ocean               1809
Rhein                                     Bodensee             North Sea                  1320
Rhone                                                          Mediterranean Sea           812
Rio Balsas                                                     Atlantic Ocean              770
Rio Grande                                                     Gulf of Mexico             3030
Rio de la Plata                                                Atlantic Ocean              300
Parana              Rio de la Plata                                                      4700
  Paraguay           Parana                                                               2200
NAME                 RIVER                LAKE                 SEA                      LENGTH
Uruguay             Rio de la Plata                                                      1650
Rufiji                                                         Indian Ocean
Ruvuma                                                         Indian Ocean
Sanaga                                                         Atlantic Ocean
Save                                                           Indian Ocean
Schari                                    Tschadsee
Seine                                                          North Sea                   776
Senegal                                                        Atlantic Ocean
St. Lorenzstrom                                                Atlantic Ocean             1170
Syrdarja                                  Ozero Aral                                      2212
Tana                                                           Indian Ocean
NAME                 RIVER                LAKE                 SEA                      LENGTH
Thames                                                         North Sea                   346
Thjorsa                                                        Atlantic Ocean              230
Torneaelv                                                      Baltic Sea                  375
Umeaelv                                                        Baltic Sea
Ural                                      Caspian Sea                                     2428
Volga                                     Caspian Sea                                     3531
Oka                 Volga                                                                1480
Volta                                                          Atlantic Ocean
Webi Schebeli                                                  Indian Ocean
Weichsel                                                       Baltic Sea                 1068
Weser                                                          North Sea                   477
NAME                 RIVER                LAKE                 SEA                      LENGTH
Fulda               Weser                                                                 218
Werra               Weser                                                                 292
Western Dwina                                                  Baltic Sea                 1020
Zaire                                                          Atlantic Ocean             4320
Kwa                 Zaire                                                                 100
  Casai              Kwa                                                                  1570
  Cuango             Kwa                                                                  1230
  Cuilo              Kwa                                                                   970
Lomami              Zaire                                                                1600
Lukuga              Zaire                                                                 230
Luvua               Zaire                                                                 210
NAME                 RIVER                LAKE                 SEA                      LENGTH
Ruki                Zaire                                                                 730
  Busira             Ruki                                                                  830
   Tshuapa           Busira                                                               1300
Sanga               Zaire                                                                 530
Ubangi              Zaire                                                                2300
  Bomu               Ubangi                                                                280
  Uelle              Ubangi                                                                560
Zambezi                                                        Indian Ocean
Chire               Zambezi
Kafue               Zambezi
Luangwa             Zambezi
132 rows selected.
SQL>SY.

Similar Messages

  • Using presentation variables selected in dashboard prompt in query builder

    In dashboard prompt I have made four dropdowns(have four presentation variables) and based on these values selected,can the Query Builder generate dynamic reports based on the presentation variables selected?
    I will provide the link(i.e Link of BI publisher where I stored the report) displayed to the user based on Four presentation variables.
    If we click on that link can we use the presentation variables in where clause of Query Builder in BI Publisher?
    Please help me out
    Thanks in Advance

    - OK. In the second prompt, instead of setting Default to SQL Results, set it to Specific Value.
    - Then insert '{pres_var}' in the window. I got it to work this way.
    - It supplied the PV as the default in the second prompt after hitting "Go" on the first prompt.
    Hi, thanks for your suggestion but I don't need to have the value of the presentation variable itself as the prompt default. The variable is a filter for a specific SQL clause and the default is the result of this SQL.
    Cheers
    DrPlexi

  • Different row count for select versus insert in XML query

    Hi,
    I encounter a situation where a SELECT * returns a different rows count than an INSERT INTO... (SELECT *) by xmltable join. This makes no sense at all!!!
    In breif, I tried to convert xml data into traditional relational tables. I wrote an xml query to select data from xmltable... I checked row count. When I used "create table as select" that was the same query above, I got correct row count. However when I used "insert into select" that was the same query above, I got the wrong info in the table I just inserted.
    Does any one have any idea what caused this issue? Thanks for your help.

    DUPLICATE post
    count of rows in a schema tables

  • How can i use index in select query.. facing problem with the select query.

    Hi Friends,
    I am facing a serious problem in one of the select query. It is taking a lot of time to fetch data in Production Scenario.
    Here is the query:
      SELECT * APPENDING CORRESPONDING FIELDS OF TABLE tbl_summary
        FROM ztftelat LEFT JOIN ztfzberep
         ON  ztfzberep~gjahr = st_input-gjahr
         AND ztfzberep~poper = st_input-poper
         AND ztfzberepcntr  = ztftelatrprctr
        WHERE rldnr  = c_telstra_accounting
          AND rrcty  = c_actual
          AND rvers  = c_ver_001
          AND rbukrs = st_input-bukrs
          AND racct  = st_input-saknr
          AND ryear  = st_input-gjahr
          And rzzlstar in r_lstar                            
          AND rpmax  = c_max_period.
    There are 5 indices present for Table ZTFTELAT.
    Indices of ZTFTELAT:
      Name   Description                                               
      0        Primary key( RCLNT,RLDNR,RRCTY,RVERS,RYEAR,ROBJNR,SOBJNR,RTCUR,RUNIT,DRCRK,RPMAX)                                          
      005    Profit (RCLNT,RPRCTR)
      1        Ledger, company code, account (RLDNR,RBUKRS, RACCT)                                
      2        Ledger, company code, cost center (RLDNR, RBUKRS,RCNTR)                           
      3        Account, cost center (RACCT,RCNTR)                                        
      4        RCLNT/RLDNR/RRCTY/RVERS/RYEAR/RZZAUFNR                        
      Z01    Activity Type, Account (RZZLSTAR,RACCT)                                        
      Z02    RYEAR-RBUKRS- RZZZBER-RLDNR       
    Can anyone help me out why it is taking so much time and how we can reduce it ? and also tell me if I want to use index number 1 then how can I use?
    Thanks in advance.

    Hi Shiva,
    I am using two more select queries with the same manner ....
    here are the other two select query :
    ***************1************************
    SELECT * APPENDING CORRESPONDING FIELDS OF TABLE tbl_summary
        FROM ztftelpt LEFT JOIN ztfzberep
         ON  ztfzberep~gjahr = st_input-gjahr
         AND ztfzberep~poper = st_input-poper
         AND ztfzberepcntr  = ztftelptrprctr
        WHERE rldnr  = c_telstra_projects
          AND rrcty  = c_actual
          AND rvers  = c_ver_001
          AND rbukrs = st_input-bukrs
          AND racct  = st_input-saknr
          AND ryear  = st_input-gjahr
          and rzzlstar in r_lstar             
          AND rpmax  = c_max_period.
    and the second one is
    *************************2************************
      SELECT * APPENDING CORRESPONDING FIELDS OF TABLE tbl_summary
        FROM ztftelnt LEFT JOIN ztfzberep
         ON  ztfzberep~gjahr = st_input-gjahr
         AND ztfzberep~poper = st_input-poper
         AND ztfzberepcntr  = ztftelntrprctr
        WHERE rldnr  = c_telstra_networks
          AND rrcty  = c_actual
          AND rvers  = c_ver_001
          AND rbukrs = st_input-bukrs
          AND racct  = st_input-saknr
          AND ryear  = st_input-gjahr
          and rzzlstar in r_lstar                              
          AND rpmax  = c_max_period.
    for both the above table program is taking very less time .... although both the table used in above queries have similar amount of data. And i can not remove the APPENDING CORRESPONDING. because i have to append the data after fetching from the tables.  if i will not use it will delete all the data fetched earlier.
    Thanks on advanced......
    Sourabh

  • My brand new macbookpro is locked up. It's been trying to select the apps I want to use with my email account for over an hour. Please help

    My brand-new MacBook Pro is locked up. It's been trying to select the apps I want to use with my email account. How can I cancel it I've tried everything that I know of

    - Make an appointment at the Genius Bar of an Apple store.
      Apple Retail Store - Genius Bar
    - Or call Apple . You have 90 days of free telephone support
    Complimentary Support (USA)

  • Delete statement that uses a sub-select with the statement in the cursor

    Hi all,
    How to write write a delete statement that uses a sub-select with the statement in the cursor?
    CURSOR excluded_dates IS         
           SELECT TO_TIMESTAMP(report_parameter_value, in_date_format_mask)
          INTO my_current_date_time
          FROM report_parameters
         WHERE report_parameters.report_parameter_id    = in_report_parameter_id
           AND report_parameters.report_parameter_group = 'DATE_TIME'
           AND report_parameters.report_parameter_name  = 'EXCLUDED_DATE';
    OPEN excluded_dates;
      LOOP
        FETCH excluded_dates INTO my_excluded_date;
        EXIT WHEN excluded_dates%NOTFOUND;
        DELETE FROM edr_rpt_tmp_inclusion_table
        WHERE TO_CHAR(date_time, 'mm/dd/yyyy') = TO_CHAR(my_excluded_date, 'mm/dd/yyyy');
      END LOOP;
      CLOSE excluded_dates;Thanks

    Hi,
    In such case I think is better to create a view an perform the delete using it. Example (using HR schema):
    Connected to Oracle Database 10g Express Edition Release 10.2.0.1.0
    Connected as hr
    SQL> create or replace view v_employees as select * from employees where first_name like 'J%';
    View created
    SQL> select * from v_employees;
    EMPLOYEE_ID FIRST_NAME           LAST_NAME                 EMAIL                     PHONE_NUMBER         HIRE_DATE   JOB_ID         SALARY COMMISSION_PCT MANAGER_ID DEPARTMENT_ID
            110 John                 Chen                      JCHEN                     515.124.4269         28/09/1997  FI_ACCOUNT    8200,00                       108           100
            112 Jose Manuel          Urman                     JMURMAN                   515.124.4469         07/03/1998  FI_ACCOUNT    7800,00                       108           100
            125 Julia                Nayer                     JNAYER                    650.124.1214         16/07/1997  ST_CLERK      3200,00                       120            50
            127 James                Landry                    JLANDRY                   650.124.1334         14/01/1999  ST_CLERK      2400,00                       120            50
            131 James                Marlow                    JAMRLOW                   650.124.7234         16/02/1997  ST_CLERK      2500,00                       121            50
            133 Jason                Mallin                    JMALLIN                   650.127.1934         14/06/1996  ST_CLERK      3300,00                       122            50
            139 John                 Seo                       JSEO                      650.121.2019         12/02/1998  ST_CLERK      2700,00                       123            50
            140 Joshua               Patel                     JPATEL                    650.121.1834         06/04/1998  ST_CLERK      2500,00                       123            50
            145 John                 Russell                   JRUSSEL                   011.44.1344.429268   01/10/1996  SA_MAN       14000,00           0,40        100            80
            156 Janette              King                      JKING                     011.44.1345.429268   30/01/1996  SA_REP       10000,00           0,35        146            80
            176 Jonathon             Taylor                    JTAYLOR                   011.44.1644.429265   24/03/1998  SA_REP        8600,00           0,20        149            80
            177 Jack                 Livingston                JLIVINGS                  011.44.1644.429264   23/04/1998  SA_REP        8400,00           0,20        149            80
            181 Jean                 Fleaur                    JFLEAUR                   650.507.9877         23/02/1998  SH_CLERK      3100,00                       120            50
            186 Julia                Dellinger                 JDELLING                  650.509.3876         24/06/1998  SH_CLERK      3400,00                       121            50
            189 Jennifer             Dilly                     JDILLY                    650.505.2876         13/08/1997  SH_CLERK      3600,00                       122            50
            200 Jennifer             Whalen                    JWHALEN                   515.123.4444         17/09/1987  AD_ASST       4400,00                       101            10
    16 rows selected
    SQL> delete from v_employees where hire_date >= to_date('01/06/1998', 'dd/mm/yyyy');
    2 rows deleted
    SQL> regards,

  • I want to change my primary e-mail address that I use with Apple ID - help guide says Select Edit next to "Apple ID and Primary Email Address." But there is no 'edit' on that section there is on every other but not that one. Can anyone help?

    I want to change my primary e-mail address that I use with Apple ID - help guide says Select Edit next to “Apple ID and Primary Email Address.” But there is no 'edit' on that section there is on every other but not that one. Can anyone help?

    You can create an alias @icloud.com email address within your current account that will receive email in your current iCloud inbox (see http://help.apple.com/icloud/#/mm6b1a490a).  (@me.com addresses are no longer available as new addresses.)  Just be aware that you cannot use an alias address later to create a new iCloud account or move it to a different account.
    Also, even if you created a new iCloud account with a new ID, your existing purchases would not be lost.  They are permanently tied to the original ID you used to purchase them.  You can also continue to use the existing ID for the iTunes store; it does not need to be the same as the ID you use for iCloud.

  • Photo shop is not allowing me to use the "Intersect with current selection"

    Photoshop is not allowing me to use the "Itersect with current selection" marquee. (The "UNION" between two selection marquees.) When I press the [Shift] + [Option] keys while dragging on a first selection marquee, this just creates a new selection and removes the old selection. I have also tried using the "intersect with selection" icon which is not working either.

    Lack of experience possibly'.
    To get the 360 degree scroll you need to be 'zoomed in' closer (than 1:1) to a picture or web page so that it is too large to fit on your screen.
    As you know, with Windows you need, at all times' to scroll the bars at the bottom and/or right of the screen to move the display around (a little like an altazimuth telescope is manouvred). Also, if you accidently leave the scroll bar when dragging, the screen immediately snaps back to where you started from rather than knowing how far down you got before your cursor moved off the bar (if it did). You are certain to know what I mean.
    If you are similarly 'zoomed in' to a picture on your new Mac, you don't necessarily need to click and drag on the scroll bars at the bottom (or right) of the window, or use the scroll wheel to move the screen vertically. With your Mac, when zoomed in to a greater than 100%, the mouse allows one toscroll 360 degrees with the mouse - not just vertically. But the picture (or web page needs to be zoomed in somewhat - i.e. greater than 1:1)
    With Web pages in Safari and any other Web Browser (with the possible exception of IE with which I have had no experience with sometime before 2002 and I have only 'heard' that it doesn't work ), if you use the keys 'cmd and '+" together.
    At he end of the day, you just need to keep exploring your new Mac and have fun finfing all the added extras for yourself.
    (There's do many little treasures, it just gettng the time to find them all, in my experience.)

  • Is it possible to delete a plot with using mouse to select it on the graph control?

    For example, when I use PlotLine to plot thousands of lines on the graph control, I want to delete some of them, but there is thousands of plotHandle generated.
    How can I get the plotHandle of the specific line on the graph control with using mouse to select it?
    If I record information of the lines, ex. the plotHandle and the coordinates, on a table or list, etc. , I have to compare the information of lines to get the plotHandle of the specific line.
    Is there any user-friendly way to delete a plot by select it on the graph control?
    Solved!
    Go to Solution.

    Sure! Look at the example located in \samples\userint\graphcursors for an example of how to accomplish this task.
    Briefly:
    The cursor must be in "Snap to point" mode
    (To be confirmed) The graph must be in "Retain" data mode
    You must have a callback for the graph control
    You can use GetGraphCursorIndex to retrieve the plot handle
    GetGrpahCursor retrieves values of cursor position in engineering units
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • 'Missing select' error for update statement using WITH clause

    Hi,
    I am getting the below error for update statement using WITH clause
    SQL Error: ORA-00928: missing SELECT keyword
      UPDATE A
      set A.col1 = 'val1'
         where
      A.col2 IN (
      WITH D AS
      SELECT col2 FROM
      (SELECT col2, MIN(datecol) col3 FROM DS
      WHERE <conditions>
        GROUP BY PATIENT) D2
      WHERE
      <conditions on A.col4 and D2.col3>

    Hi,
    The format of a query using WITH is:
    WITH  d  AS
        SELECT  ...  -- sub_query
    SELECT  ...   -- main query
    You don't have a main query.  The keyword FROM has to come immediately after the right ')' that ends the last WITH clause sub-query.
    That explains the problem based on what you posted.  I can't tell if the real problem is in the conditions that you didn't post.
    I hope this answers your question.
    If not, post a complete test script that people can run to re-create the problem and test their ideas.  Include a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all the tables involved, and the results you want from that data.
    In the case of a DML operation (such as UPDATE) the sample data should show what the tables are like before the DML, and the results will be the contents of the changed table(s) after the DML.
    Explain, using specific examples, how you get those results from that data.
    Always say what version of Oracle you're using (e.g. 11.2.0.2.0).
    See the forum FAQ: https://forums.oracle.com/message/9362002

  • How to use SELECTION-SET with FREE-SELECTIONS?

    Hi,
    how to use SELECTION-SET with FREE-SELECTIONS?
    Regards,
    Vinay.

    Check http://help.sap.com/abapdocu_70/en/ABAPSUBMIT_SELSCREEN_PARAMETERS.htm

  • In interactive how to use AT LINE-SELECTION WITH SET PF-STATUS

    Hi all,
             I am developing an interactive report in which i am using gui status (pf-status ) for AT USER-COMMAND and AT LINE-SELECTION  event .But when i used at line-selection event is  not working with pf-status even though i use PICK function code .
    plz help me to work with both the event i.e.
    AT USER-COMMAND.
    AT LINE-SELECTION.
    Thanks a lot in Advance .
    Regards,
    Tarak

    hi,
      In PBO of Module Pool, Please Write in this way
    MODULE status_9001 OUTPUT.
    Set the PF-STATUS
      SET PF-STATUS '9001'.
    To Set the Title of Screen
      SET TITLEBAR 'TITLE'.
    ENDMODULE
    Setting PF status to the (SAP) system default
    set pf-status 'BASIC'.
    How to check for pf-status
    AT USER-COMMAND.
    CASE SY-UCOMM.
    WHEN 'ART'.
    PERFORM STYR_ARTSKONTI.
    WHEN 'PST'.
    PERFORM STYR_POSTER.
    WHEN 'BIL'.
    PERFORM VIS_BILAG.
    ENDCASE..

  • Reporting: using operators with relative selection

    Dear all,
    i am facing an problem when trying to create a certain report.
    The requirement is to gather all opportunities for which the sales phase has started more than 1 month ago.
    Phase start date is a characteristic you can use using data sources for opportunity header.
    However, to select on phase start  date (an any other type of date characteristic) you can only use operators (is, is less than, is greater than, ...) with a fixed date (for example: is less than 01.03.2015) or you can use a relative selection (last week, last month, last 4 days, ...).
    I need to be able to achieve the following: "phase start date" "is less than" "last month"
    Is there a way we can do this?
    Regards,
    Michael

    Hi Michael,
    You should design the new reporting using existing data source 'OPPORTUNITY HEADER'.
    Step 1. Define report and data source
    Step 2. Select Key Figures
    Step 3. Select Characteristics
    Step 4. Characteristics Properties : In this step you select Phase start date and make the value selection as 'FIXED VALUE SELECTION', in fixed value selection click on more option button ( +-> sign) now this will give the option for relative selection.
    Step 5, 6 and 7 as standard steps as you  have to follow them.
    I have attach the screenshot of Phase start date, just follow as defined in the screenshot:
    This will the issue that you have.
    Cheer! Anil Poply

  • Using Refine edge with Quick Selection......

    I think I'm doing something wrong, because I can do a quick selection, but when I hit the "Refine Edge" button and make a change to the selection, my change doesn't "take"...
    I have an image, one layer (background), absolutely normal, boring image (for example, a white swan sitting in the blue water).  I go in with Quick Select and select PART OF
    the swan.  I have areas that aren't selected, and areas that are selected and shouldn't be.  So, I need to refine my selection.  I subtract and add bits of selection with the
    Quick Select tool, but leave a big piece of the swan's body NOT selected, and a bit of water SELECTED.  So, I need to go in with a tool and refine the edge of my selection...
    SO, I hit "Refine Edge" from the tool bar and select "Overlay" for my view mode.  I can now see what's selected, and know what I'd like to change.  And, I have a red overlay
    so I have a visual guide to changing things....
    Go to the "Refine Radius Tool" and paint over an area I want ADDED to my selection (a piece of swan immediately adjacent to my original selection)...  It runs red, like I'd expect. 
    I release the mouse and a second later, the red goes away, but the selection has NOT been changed.  I've tried this directly from the Quick Select tool.  I've double-clicked the
    background layer and changed it so it's not background any more - made no difference.  I've created a layer mask on the no-longer background layer (the mask contains my
    Quick Selection just fine).  I've then used the Mask panel to specify "Mask Edge" and again tried the "Refine Radius Tool" to add an area to my selection.  Again, it turns red
    while selecting, then stops being red when I let go, and the area I selected is NOT added to the selection...
    I watched a presentation by a Photoshop person who DEMONSTRATED exactly what I'm doing, and it worked.  I looked at Martin Evening's CS5 book, and as near as I can tell,
    I did exactly what he described...  He got a selection, added to the selection, and it worked fine... 
    I figure I've got something configured wrong, or something else goofed up.  What am I missing here? 

    It's not my intention (intent?) to beat up on the "Refine Edge".  I figured when I couldn't get the same pristine results as all the demos that I was doing something wrong, and kept watching more people doing this 'cause I figured I was doing something dumb...
    Mostly, I've been trying this on different images over the last couple weeks just to see if I could figure out how to get it to work.
    From the responses in here I suspect I'm doing it correctly, but the images I'm trying it on just don't lend themselves to perfect edges without some additional work.....  The Quick Select and a bit of edge cleanup is still faster than the "good old days", so its definitely a step forward. 
    As far as the swans, yes, no matter what I did, I was getting a lot of extraneous selections and wonky edges and stuff.  One of these days I'll try pulling an eagle or a great egret out of a clear sky and see how that goes.  I suspect it'll work a lot better... 
    I only fiddled with the rodeo image 'cause I figured it was "like" hair.  But my background is pretty busy.  With a little additional work I DID get a very, very good selection, and was able to soften the background, and do a gradient so the ground under the horse is sharp, gradually blurring as it moves to the grandstands... 
    Thanks for all the replies...

  • When i try to sync photos from iPhoto to my iPad using iTunes,  the "Selected Folders" option is greyed out with only the "All Folders" option available, how do i change this?

    When i try to sync photos from iPhoto to my iPad using iTunes,  the "Selected Folders" option is greyed out with only the "All Folders" option available, how do i change this?

    I add the keyword 'sync' to any photos I want added to the iPhone/iPad.
    Then, during the regular process of syncing the iPhone/iPad with my computer (mac), the photos with that keyword would be copied onto the iPhone, iPad.
    I've been doing it this way ever since I was shown how to; ie after I got my iPhone 2 years ago. And every time the process worked - until the last few weeks. Suddenly it doesn't do it any more.
    I believe I have upgraded software (either iTunes or iPhoto or both) during this period. I try to keep my software updated but have noticed previously that the new version often is disappointing.
    I've not tended to use Smart albums much.
    MM

Maybe you are looking for

  • Server app v3.01 User Accounts password add/reset/editing functions greyed out

    I recently upgraded a Lion server to Mavericks with 1500 users and 450 clients on Xserve early2009 2.26Ghz Quad core Xeon 24GB RAM  32 TB Raid.         All the upgrade went ok through 10.7 to 10.8 to 10.9 apart from having to rekerberise the realm to

  • Error Code 1402 Could not open Key

    When I try to run the auto installer I get a message that says.: Error 1402.Could not open key: UNKNOWN\Components\2A31EAB9FA7E3C blalhblhablah BLALBLAHBLAH.............................. Verify that you have sufficient access to that key, or contact

  • Macbook air or Macbook pro retina?

         I am in the market to buy a new laptop. I have been thinking about it for quite some time now. However, I just cannot seem to decide between the 13 inch baseline Macbook Air (possibly 8gb ram upgrade) and the 13 inch Macbook Pro with Retina Disp

  • Row Coloring problem

    hi all, i am trying to color a row in a table, my table contains 2 columns and about 100 row, whenever the second row contains the word "Updated", I want to highlight the ENTIRE row yellow, the code i provide below, only highlight the "cell" contains

  • After stoping the MDM Server there will write a core-file

    Hello, I have a question about stopping the MDM Server. My MDM Server is running on a SUN Server. When I stopped the MDM Server with sapcontrol -nr 00 -function Stop and sapcontrol -nr 00 -function StopService the MDM Server alsways write a core-File