How can I iterate over the columns of a REF CURSOR?

I have the following situation:
DECLARE
   text   VARCHAR2 (100) := '';
   TYPE gen_cursor is ref cursor;
   c_gen gen_cursor;
   CURSOR c_tmp
   IS
        SELECT   *
          FROM   CROSS_TBL
      ORDER BY   sn;
BEGIN
   FOR tmp IN c_tmp
   LOOP
      text := 'select * from ' || tmp.table_name || ' where seqnum = ' || tmp.sn;
      OPEN c_gen FOR text;
      -- here I want to iterate over the columns of c_gen
      -- c_gen will have different number of columns every time,
      --        because we select from a different table
      -- I have more than 500 tables, so I cannot define strong REF CURSOR types!
      -- I need something like
      l := c_gen.columns.length;
      for c in c_gen.columns[1]..c_gen.columns[l]
      LOOP
          -- do something with the column value
      END LOOP;
   END LOOP;
END;As you can see from the comments in the code, I couln'd find any examples on the internet with weak REF CURSORS and selecting from many tables.
What I found was:
CREATE PACKAGE admin_data AS
   TYPE gencurtyp IS REF CURSOR;
   PROCEDURE open_cv (generic_cv IN OUT gencurtyp, choice INT);
END admin_data;
CREATE PACKAGE BODY admin_data AS
   PROCEDURE open_cv (generic_cv IN OUT gencurtyp, choice INT) IS
   BEGIN
      IF choice = 1 THEN
         OPEN generic_cv FOR SELECT * FROM employees;
      ELSIF choice = 2 THEN
         OPEN generic_cv FOR SELECT * FROM departments;
      ELSIF choice = 3 THEN
         OPEN generic_cv FOR SELECT * FROM jobs;
      END IF;
   END;
END admin_data;
/But they have only 3 tables here and I have like 500. What can I do here?
Thanks in advance for any help!

The issue here is that you don't know your columns at design time (which is generally considered bad design practice anyway).
In 10g or before, you would have to use the DBMS_SQL package to be able to iterate over each of the columns that are parsed from the query... e.g.
CREATE OR REPLACE PROCEDURE run_query(p_sql IN VARCHAR2) IS
  v_v_val     VARCHAR2(4000);
  v_n_val     NUMBER;
  v_d_val     DATE;
  v_ret       NUMBER;
  c           NUMBER;
  d           NUMBER;
  col_cnt     INTEGER;
  f           BOOLEAN;
  rec_tab     DBMS_SQL.DESC_TAB;
  col_num     NUMBER;
  v_rowcount  NUMBER := 0;
BEGIN
  -- create a cursor
  c := DBMS_SQL.OPEN_CURSOR;
  -- parse the SQL statement into the cursor
  DBMS_SQL.PARSE(c, p_sql, DBMS_SQL.NATIVE);
  -- execute the cursor
  d := DBMS_SQL.EXECUTE(c);
  -- Describe the columns returned by the SQL statement
  DBMS_SQL.DESCRIBE_COLUMNS(c, col_cnt, rec_tab);
  -- Bind local return variables to the various columns based on their types
  FOR j in 1..col_cnt
  LOOP
    CASE rec_tab(j).col_type
      WHEN 1 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_v_val,2000); -- Varchar2
      WHEN 2 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_n_val);      -- Number
      WHEN 12 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_d_val);     -- Date
    ELSE
      DBMS_SQL.DEFINE_COLUMN(c,j,v_v_val,2000);  -- Any other type return as varchar2
    END CASE;
  END LOOP;
  -- Display what columns are being returned...
  DBMS_OUTPUT.PUT_LINE('-- Columns --');
  FOR j in 1..col_cnt
  LOOP
    DBMS_OUTPUT.PUT_LINE(rec_tab(j).col_name||' - '||case rec_tab(j).col_type when 1 then 'VARCHAR2'
                                                                              when 2 then 'NUMBER'
                                                                              when 12 then 'DATE'
                                                     else 'Other' end);
  END LOOP;
  DBMS_OUTPUT.PUT_LINE('-------------');
  -- This part outputs the DATA
  LOOP
    -- Fetch a row of data through the cursor
    v_ret := DBMS_SQL.FETCH_ROWS(c);
    -- Exit when no more rows
    EXIT WHEN v_ret = 0;
    v_rowcount := v_rowcount + 1;
    DBMS_OUTPUT.PUT_LINE('Row: '||v_rowcount);
    DBMS_OUTPUT.PUT_LINE('--------------');
    -- Fetch the value of each column from the row
    FOR j in 1..col_cnt
    LOOP
      -- Fetch each column into the correct data type based on the description of the column
      CASE rec_tab(j).col_type
        WHEN 1  THEN DBMS_SQL.COLUMN_VALUE(c,j,v_v_val);
                     DBMS_OUTPUT.PUT_LINE(rec_tab(j).col_name||' : '||v_v_val);
        WHEN 2  THEN DBMS_SQL.COLUMN_VALUE(c,j,v_n_val);
                     DBMS_OUTPUT.PUT_LINE(rec_tab(j).col_name||' : '||v_n_val);
        WHEN 12 THEN DBMS_SQL.COLUMN_VALUE(c,j,v_d_val);
                     DBMS_OUTPUT.PUT_LINE(rec_tab(j).col_name||' : '||to_char(v_d_val,'DD/MM/YYYY HH24:MI:SS'));
      ELSE
        DBMS_SQL.COLUMN_VALUE(c,j,v_v_val);
        DBMS_OUTPUT.PUT_LINE(rec_tab(j).col_name||' : '||v_v_val);
      END CASE;
    END LOOP;
    DBMS_OUTPUT.PUT_LINE('--------------');
  END LOOP;
  -- Close the cursor now we have finished with it
  DBMS_SQL.CLOSE_CURSOR(c);
END;
SQL> exec run_query('select empno, ename, deptno, sal from emp where deptno = 10');
-- Columns --
EMPNO - NUMBER
ENAME - VARCHAR2
DEPTNO - NUMBER
SAL - NUMBER
Row: 1
EMPNO : 7782
ENAME : CLARK
DEPTNO : 10
SAL : 2450
Row: 2
EMPNO : 7839
ENAME : KING
DEPTNO : 10
SAL : 5000
Row: 3
EMPNO : 7934
ENAME : MILLER
DEPTNO : 10
SAL : 1300
PL/SQL procedure successfully completed.
SQL> exec run_query('select * from emp where deptno = 10');
-- Columns --
EMPNO - NUMBER
ENAME - VARCHAR2
JOB - VARCHAR2
MGR - NUMBER
HIREDATE - DATE
SAL - NUMBER
COMM - NUMBER
DEPTNO - NUMBER
Row: 1
EMPNO : 7782
ENAME : CLARK
JOB : MANAGER
MGR : 7839
HIREDATE : 09/06/1981 00:00:00
SAL : 2450
COMM :
DEPTNO : 10
Row: 2
EMPNO : 7839
ENAME : KING
JOB : PRESIDENT
MGR :
HIREDATE : 17/11/1981 00:00:00
SAL : 5000
COMM :
DEPTNO : 10
Row: 3
EMPNO : 7934
ENAME : MILLER
JOB : CLERK
MGR : 7782
HIREDATE : 23/01/1982 00:00:00
SAL : 1300
COMM :
DEPTNO : 10
PL/SQL procedure successfully completed.
SQL> exec run_query('select * from dept where deptno = 10');
-- Columns --
DEPTNO - NUMBER
DNAME - VARCHAR2
LOC - VARCHAR2
Row: 1
DEPTNO : 10
DNAME : ACCOUNTING
LOC : NEW YORK
PL/SQL procedure successfully completed.
SQL>From 11g onwards, you can create your query as a REF_CURSOR, but then you would still have to use the DBMS_SQL package with it's new functions to turn the refcursor into a dbms_sql cursor so that you can then describe the columns in the same way.
http://technology.amis.nl/blog/2332/oracle-11g-describing-a-refcursor
Welcome to the issues that are common when you start to attempt to create dynamic code. If your design isn't specific then your code can't be either and you end up creating more work in the coding whilst reducing the work in the design. ;)

Similar Messages

  • How can I display all the columns on the screen without scrolling from side to side?

    My clinic software has many columns. How can I display all the columns without having to scroll from left to right all the time?

    If the software you are using doesn't offer the ability to increase or decrease document size, as many do, then the only way is to increase your screen resolution. If that's not possible, maybe you can decrease your font size?  If you can't do any of these, I think you're out of luck!

  • How can i text over the top of photos

    how can i text over the top of photos

    I do not understand you question. Do you want to add text to a photo?

  • DNS: Client can't connect because .local domain isn't in DNS. How can I connect over the WAN to server.domain.local?

    So my 2012 server is set up on the LAN with a .local domain name. 
    Remote Desktop Services are set up and remoteapp stuff works fine on the LAN.
    I've set up port forwarding so I can connect to the server over the WAN too, but remoteapp stuff is a bit different. I can connect to the server by specifying the correct IP address. Giving a Web browser the address
    https://serverIPAddress/RDWeb
    lets me get the login screen and see the range of apps for me to run. I select one, the connectoid is downloaded correctly (in Chrome) and I click on the downloaded connectoid. 
    Unfortunately, rather than pursuing the sensible IP-address approach that I started with, the connectoid has been given the server's name on the LAN:  server.domain.local. Clearly, the client machine tries to look this up but DNS hasn't heard of
    it because it's a .local address. 
    I cannot be the only one to have come across this apparent oversight on Microsoft's part. Any ideas as to how this can sensibly be overcome? Obviously, I could put the IP address translation into every client's hosts file (and I've done this and shown it
    works) but I've got too many clients to mess about like this. Anybody know 'the Microsoft way' to fix this?
    Thank you for checking this out -- I am confident the details of the problem are completely specified in this query but, if I'm wrong, please ask.
    Many thanks again,
    Biffo

    Hi,
    I would like to suggest you to follow the checklist.
    Checklist: Make RemoteApp Programs Available from the Internet
    http://technet.microsoft.com/en-us/library/cc772415.aspx
    Thanks.
    Jeremy Wu
    TechNet Community Support

  • How can I list all the column names of a table by programming?

    Hi,
    Now I want to write an function which has the following features:
    Firstly, The function was given a parameter as table name.
    Then, it will lists all the columns names of the table.
    e.g
    table: person
    ---firstName------lastName----+
           Michale               Jackson
    We can get the columns 'firstname' and 'lastName' by calling the function with table name 'person'.
    And I also wonder that where I can get reference book or any other materials?
    Thanks.
    Edited by: wenjing wang on Feb 15, 2008 6:42 AM
    Edited by: wenjing wang on Feb 15, 2008 6:57 AM

    hi,
    hope the below code helps u. Just take the headee which contains the field name and split it like below and compare it with the field name u want here 'last name'.
    here,
    'First name' will be in wt_filedata1 and remaining field names in wt_filedata2, so 'do' continues.
    c_tab must be the separator, either , or + or tab etc..
    CODE:
    read table person into wl_header index 1.
    do.
        split wl_header at c_tab into: wt_filedata1 wt_filedata2.
        if wt_filedata1 <> 'lastname'.
          cnt1 = cnt1 + 1.
          wl_header = wt_filedata2.
        else.
          exit.
        endif.
      enddo.
    Please reward if it is useful.
    regards,
    sri

  • How can i Auto Size the Column width in RDLC Report

    Hi Friend's,
    I have created Windows application with RDLC Report. I am binding(Generating) dynamic columns and data's in RDLC Report Using Matrix control, I need to make Auto size of Column width for each Column in
    Matrix of RDLC report. So Can any one suggest me to make the Auto Size of Column Width in RDLC.
    Thanks in Advance,
    Mohan G

    Hi Mohan,
    In Reporting Services, the column width/height is hard-coded, hence, we cannot set the column width/height dynamically or based on an expression. So is the report size.
    In addition, since it is a RDLC report, we need a ReportViewer control to display this report within a custom application. If you need to change the size of the whole report, we can set the AsyncRendering property of the ReportViewer control to false, and
    set the SizeToReportContent property to true.
    Regards,
    Mike Yin
    TechNet Community Support

  • How to fetch less number of columns from a ref cursor

    I have a ref cursor which has 10 columns. After "OPEN"ing the ref cursor I want to "FETCH" only 3 columns. When I try that I am getting error. How to achieve that?
    Regards.
    Shantanu.

    Supposing your first 3 columns are "stable" in name and type for any SQL statement you use, you can do something like:
    SQL> create or replace procedure stable (sql_s in varchar2)
      2  is
      3   empno emp.empno%type;
      4   ename emp.ename%type;
      5   a sys_refcursor;
      6  begin
      7   open a for 'select empno, ename from (' || sql_s ||')';
      8   fetch a into empno, ename;
      9   while(a%found) loop
    10    dbms_output.put_line(ename || '/' || empno);
    11    fetch a into empno, ename;
    12   end loop;
    13   close a;
    14  end;
    15  /
    &nbsp
    Procedure created.
    &nbsp
    SQL> set serveroutput on;
    SQL> exec stable('select * from emp');
    SMITH/7369
    ALLEN/7499
    WARD/7521
    JONES/7566
    MARTIN/7654
    BLAKE/7698
    CLARK/7782
    SCOTT/7788
    KING/7839
    TURNER/7844
    ADAMS/7876
    JAMES/7900
    FORD/7902
    MILLER/7934
    &nbsp
    PL/SQL procedure successfully completed.
    &nbsp
    SQL> exec stable('select empno, ename, sal from emp');
    SMITH/7369
    ALLEN/7499
    WARD/7521
    JONES/7566
    MARTIN/7654
    BLAKE/7698
    CLARK/7782
    SCOTT/7788
    KING/7839
    TURNER/7844
    ADAMS/7876
    JAMES/7900
    FORD/7902
    MILLER/7934
    &nbsp
    PL/SQL procedure successfully completed.Rgds.

  • How can I iterate over all data in database?

    Hello,
    I need to copy all data from one database to another. Unfortunately I can't.
    1. When I use Cursor: database.openCursor, cursor.getFirst, cursor.getNext, cursor.getNext,.... after some period of time getNext returns me data which was loaded already and this operation never ends.
    2. When I use Cursor: database.openCursor, cursor.getLast, cursor.getPrev, cursor.getPrev,.... here is no infinite loop as in first case, but not all data was retrieved from database.
    3. When I use db dumb: same situation as in first case, operation never ends.
    Any other solution are available?
    p.s. database size is 18Gb, and we are using Berkeley DB 4.5.2 version.
    Best regards,
    Alexander

    Hello Alex.
    1. db_verify does not give anything. Just hangs up without any result.
    2. My steps to identify that the cursor is in a loop:
    - create HashSet for ids
    - open cursor and iterate database using cursor.getNext or cursor.getPrev, as a result I have key and value
    - check new key - contains in HashSet of ids or not
    Example of results:
    e.g.: I have ids in database: 1,2,3,4,5,6,7,8,9
    Possible variants of result
    1. Everything is OK
    - Iterating database using cursor.getFirst, cursor.getNext returns me keys: 1,2,3,4,5,6,7,8,9
    - Iterating database using cursor.getLast, cursor.getPrev returns me keys: 9,8,7,6,5,4,3,2,1
    2. Fail - 1
    - Iterating database using cursor.getFirst, cursor.getNext returns me keys: 1,2,3,4,5
    - Iterating database using cursor.getLast, cursor.getPrev returns me keys: 9,8,7
    3. Fail - 2
    - Iterating database using cursor.getFirst, cursor.getNext returns me keys: 1,2,3,4,5,5,5,5,5
    - Iterating database using cursor.getLast, cursor.getPrev returns me keys: 9,8,7
    Situation with results Nr2 and Nr3 appears after few months working on production.
    We are using BTREE database type.
    Database configuration:
    - page-size=16384
    - cache-size=1073741824
    - max-locks=20000
    - max-lockers=10000
    - max-lock-objects=5000
    - log-size=20971520
    - checkpoint-frequency=60
    - max-transactions=1000
    - database dir - memory disk
    - database logs dir - VTRAK
    - 1 master (Read/Write), 1 slave (for backup only)
    Database size
    - ~9.5GB
    - ~8M keys
    - ~1.2Kb average entry size
    Database load
    - ~4000 load operations/sec peak time, up to 160M loads per day
    - ~1400 update operations/sec peak time, up to 55M updates per day
    P.S. Newer version of Berkeley DB.
    Currently we are testing on our production servers a new version of Berkeley DB 5.0.21. Same configuration, same load, same database size, same database type.
    Result: works fine with one exception, but this exception does not allow us to migrate to the newest version.
    Problem symptoms:
    1. database started, everything is ok. average time of load operation 20K nanoseconds, save operation 75K nanoseconds
    2. works smoothly about 20 minutes
    3. suddenly all methods to DB read/write hangs up. As the result average time of read operation 110 milliseconds and max time 30 seconds, average time of save operation 50 milliseconds and max time 30 seconds
    4. After some period of time (up to one minute) response time as it was in point 1
    5. works smoothly for 5-10 minutes
    6. see point 3
    With no replication work without problems.
    Here it is vmstat statistics where we can see the number of Processes increased that time when response time is higher.
    >
    procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
    r b swpd free buff cache si so bi bo in cs us sy id wa
    0 0 0 19207660 279016 10752400 0 0 0 0 9142 3359 1 0 99 0
    0 0 0 19207040 279016 10752652 0 0 0 160 9435 3786 1 0 99 0
    0 0 0 19206948 279016 10752900 0 0 0 0 9165 3363 1 0 99 0
    0 0 0 19206852 279016 10753244 0 0 0 0 9115 3710 1 0 99 0
    0 0 0 19206148 279016 10753556 0 0 0 3876 9005 3275 1 0 99 0
    0 0 0 19205404 279016 10753840 0 0 0 0 9321 3438 1 0 99 0
    1 0 0 19205428 279016 10754120 0 0 0 92 9199 3422 1 0 99 0
    104 0 0 19204684 279016 10754404 0 0 0 0 9289 4560 8 0 91 0
    464 0 0 19204608 279016 10754464 0 0 0 0 6950 12271 44 0 56 0
    611 0 0 19203740 279016 10754464 0 0 0 0 5381 12078 44 0 56 0
    765 0 0 19203344 279016 10754464 0 0 0 32 5495 13164 44 0 56 0
    857 0 0 19202596 279016 10754464 0 0 0 12 5349 13021 44 0 56 0
    1027 0 0 19202152 279016 10754464 0 0 0 0 6135 13035 44 0 56 0
    1232 0 0 19200120 279016 10754464 0 0 0 0 7392 14701 44 0 56 0
    1443 0 0 19198584 279016 10754464 0 0 0 0 6185 14554 44 0 56 0
    1444 0 0 19198096 279016 10754464 0 0 0 0 4773 14873 44 0 56 0
    1444 0 0 19197848 279016 10754464 0 0 0 0 4409 14930 44 0 56 0
    1444 0 0 19197352 279016 10754464 0 0 0 28 4656 14975 44 0 56 0
    1444 0 0 19196360 279016 10754464 0 0 0 0 4836 14919 44 0 56 0
    1444 0 0 19196112 279016 10754464 0 0 0 0 4841 14929 44 0 56 0
    1445 0 0 19195864 279016 10754464 0 0 0 0 4553 14916 44 0 56 0
    1445 0 0 19195740 279016 10754464 0 0 0 0 4551 14924 44 0 56 0
    1444 0 0 19195616 279016 10754464 0 0 0 0 4493 14919 44 0 56 0
    1444 0 0 19195616 279016 10754464 0 0 0 0 4439 14915 44 0 56 0
    1444 0 0 19195616 279016 10754464 0 0 0 0 4433 14914 44 0 56 0
    1444 0 0 19195616 279016 10754464 0 0 0 0 4451 14936 44 0 56 0
    1 0 0 19198716 279016 10754464 0 0 0 44 11341 15083 36 0 64 0
    1 0 0 19202048 279016 10754812 0 0 0 4 19893 19704 3 1 96 0
    0 0 0 19202560 279016 10755404 0 0 48 0 19203 17524 3 1 96 0
    3 0 0 19200180 279016 10756032 0 0 0 0 14340 9686 2 1 97 0
    0 0 0 19199072 279016 10756376 0 0 0 2604 9914 3744 3 1 96 0
    0 0 0 19198824 279016 10756628 0 0 0 16 9152 3485 1 0 99 0
    0 0 0 19198692 279016 10756920 0 0 0 56 8502 6836 1 0 99 0
    0 0 0 19198220 279016 10757200 0 0 0 0 8580 3178 1 0 99 0
    >
    Can you please suggest where to look or some changes in configuration, etc.?
    I have logged all Berkeley DB internal statistics during the test: DatabaseStats, CacheStats, LockStats, LogStats, ReplicationStats, MutexStats, but there are plenty parameters. I do not know which parameters are interesting for me.
    Best regards,
    Alexander
    Edited by: user12995955 on Jun 21, 2010 9:05 AM

  • How can I skip over the enter passcode section with the i-pod 2nd generation?

    can I do this?

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: How to back up     
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        

  • How can I iterate through the TextObjects of a Report object?

    Post Author: EMoscosoCam
    CA Forum: Other
    Hello(Using Crystal Reports XI Release 2 and Visual Basic 6)I have the name of a TextObject as a string. I would like to make something like this:Dim objReport As CRAXDRT.Report' once initialized from an RPT fileobjReport.TextObjects(strName).Supress = TrueOf course, there is not such a thing as a TextObjects collection. Is there a similar way to do what I want? Consider that the TextObject's name to be supressed is a string, and that I do not have it before-hand.Thanks a lot.

    Post Author: JonathanP
    CA Forum: Other
    Hi;
    You can loop through every section, then through every object, and check to see if it is a TextObject or not.
    ie:
    Dim I As IntegerDim X As IntegerFor I = 1 To Report.Sections.Count    For X = 1 To Report.Sections.Item(I).ReportObjects.Count        If Report.Sections(I).ReportObjects.Item(X).Kind = crTextObject Then            Report.Sections(I).ReportObjects.Item(X).TextColor = vbRed        End If    Next XNext I
    Regards,
    Jonathan

  • How can you write over the other JTablecells while putting in information

    like windows excel when you write in a cell and you get to the border everything covers the other cells... when you press enter the string is in the textfield. But with the default settings of JTable or is it the DefaultTableEditor or the DefaultTableRenderer i don't know, when you write someting in a cell and get to the border everything is pushed to the left...i don't like that...
    Can someone help me here?
    thanks in advance

    Hello Tim,
    thanks for your response. Meanwhile I found out, that in fact things work fine. I "tested" the outputfile in opening it with the Notepad editor. That was not the proper way to do it. Making a file dump, I saw that everything was alright. So if one wants to work on such a file with the editor, one should use the Writer classes.
    Regards
    Joerg

  • How to iterate over the attributes of a single entity?

    I am working on a logical model transformation script. I take a list of all entities:
         var entities = model.getEntitySet().toArray();
    iterate over the entities:
         for (var e = 0; e < entities.length; e++) {
            var entity = entities[e];
    and try to get a list of all attributes for the current entity:
            var attributes = entity.getAttributeSet().toArray();
    After that I try to iterate over the attributes:
            for (var a = 0; a < attributes.length; a++) {
                var attribute = attributes[a];
    While iterating over the attributes I realized that the list is always the same. I get always a list of all attributes probably of the whole model even for entities without any attribute.
    How can I get a list of the attributes for one single entity?

    Hi,
    Use entity.getAttributes()

  • Why has iTunes seperated a album which I have copied over from my external hard drive into iTunes? How can you pull all the songs back together into one album again?

    Why has iTunes seperated a album into indevidual songs, which I have copied over from my external hard drive into iTunes? How can you pull all the songs back together into one album again?

    Steve MacGuire a.k.a. turingtest2 - iTunes & iPod Hints & Tips - Grouping Tracks Into Albums - http://www.samsoft.org.uk/iTunes/grouping.asp (older post on Apple Discussions http://discussions.apple.com/message/9910895)
    Quick answer:  Select all the tracks on the album, File > get info, and either give them all a single "album artist", or check the "compilation" flag (as in https://discussions.apple.com/message/17670085).
    If these are from multiple-CD sets you may also need to enter the appropriate information in the disc number fields.  If they are not a multiple CD set you still need to make sure the disc number fields are set correctly or all empty.

  • How can I edit a still image so that I can float it over the video?

    I would like to edit a still image so that I can float it over the video - How would I save the image in Photoshop so that just the image and not the background can be imported into Final Cut and the footage behind it still shows up?
    Thanks

    You need to either create an Alpha channel or cut out the area of interest and paste it into a transparent Photoshop document. You can save the former as PSD, TIFF or PNG. Save the latter as TIFF with transparency enabled (shows up in TIFF Options at step 2 of the save dialog).

  • In the final display list how can i change rows to columns and vice versa

    in the final display list how can i change rows to columns and vice versa
    It's Urgent
    Thanks
    Basu

    Hai,
    Check this following Threads,
    converting rows to columns in internal tables
    Re: logic- report to move columns to row in a list
    Regards,
    Padmam.

Maybe you are looking for

  • Looking for calendar widget similar to androids

    Im looking for a calendar widget similar to androids. Don't want to use google gmail

  • JPA2 / Hibernate on WL 10.3.5: exception in Bean Validation

    Hi all, I am deploying on Weblogic 10.3.5. Our application uses JPA 2.0 and our provider is Hibernate 4.1.7. So far this has been working for us without a problem. My problems started when I tried to add Bean Validation (JSR-303) implemented by the H

  • Dashboard prompts in multiple lines

    Hi experts i have more than 6 prompts on my report and i want them to show in two lines rather than on one line as it is giving horizontal scroll bar, i have tried looking into portalbanner.css but not of much use... can you help me how to do that...

  • Making a button visible upon closing a document

    Kind of a weird question, but is there a way to make a button visible upon closing a document? Here's my situation. I want users to click a link which will open a PDF. I then want the users to take a quiz based off of the information in the PDF. Is t

  • Blackberry Bridge with Proxy

    Hi, I'm using Blackberry Bridge with my Playbook and it works great for email when it's not connected to the Wifi, but when I connect to the corporate Wifi (which uses a proxy) the Bridge tries to use the Wifi for the Messaging (and other) applicatio