How can i achive this result by writing SQL Query ?

Dear Exparts,
Here is my banner
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
PL/SQL Release 10.2.0.3.0 - Production
"CORE     10.2.0.3.0     Production"
TNS for 32-bit Windows: Version 10.2.0.3.0 - Production
NLSRTL Version 10.2.0.3.0 - ProductionI have two table with relation. Here is the scripts of create table and insert data.
TABLE
CREATE TABLE TAB1
  T1_ID NUMBER(5)
, T1_NAME VARCHAR2(100)
ALTER TABLE TAB1 
MODIFY (T1_ID NOT NULL);
ALTER TABLE TAB1
ADD CONSTRAINT TAB1_PK PRIMARY KEY
  T1_ID
ENABLE;
CREATE TABLE TAB2
  T2_ID NUMBER(5) NOT NULL
, T2_T1_ID NUMBER(5)
, T2_RV_NO VARCHAR2(20)
, T2_RV_DATE DATE
, T2_F1 VARCHAR2(20)
, T2_F2 VARCHAR2(20)
, T2_F3 VARCHAR2(20)
, CONSTRAINT TAB2_PK PRIMARY KEY
    T2_ID
  ENABLE
ALTER TABLE TAB2
ADD CONSTRAINT TAB2_TAB1_FK1 FOREIGN KEY
  T2_T1_ID
REFERENCES TAB1
  T1_ID
ENABLE;INSERT DATA
Insert into TAB1 (T1_ID,T1_NAME) values (1,'Test 1');
Insert into TAB1 (T1_ID,T1_NAME) values (2,'Test 2');
Insert into TAB2 (T2_ID,T2_T1_ID,T2_RV_NO,T2_RV_DATE,T2_F1,T2_F2,T2_F3) values (1,1,'00',to_date('01-OCT-2012','DD-MON-RRRR'),'Probation','05','Yes');
Insert into TAB2 (T2_ID,T2_T1_ID,T2_RV_NO,T2_RV_DATE,T2_F1,T2_F2,T2_F3) values (2,1,'01',to_date('06-OCT-2012','DD-MON-RRRR'),'Confirm','06','Yes');
Insert into TAB2 (T2_ID,T2_T1_ID,T2_RV_NO,T2_RV_DATE,T2_F1,T2_F2,T2_F3) values (3,2,'00',to_date('02-OCT-2012','DD-MON-RRRR'),'Probation','07','No');
Insert into TAB2 (T2_ID,T2_T1_ID,T2_RV_NO,T2_RV_DATE,T2_F1,T2_F2,T2_F3) values (4,2,'01',to_date('09-OCT-2012','DD-MON-RRRR'),'Probation','07','Yes');
Insert into TAB2 (T2_ID,T2_T1_ID,T2_RV_NO,T2_RV_DATE,T2_F1,T2_F2,T2_F3) values (5,1,'02',to_date('10-OCT-2012','DD-MON-RRRR'),'Confirm','06','No');Now i want to produce the following reports..
Period:      06-OCT-2012 to 09-OCT-2012
T2_RV_DATE     T1_NAME          T2_RV_NO     Revised_Column     Previous_Value     Revised_value
06-OCT-2012     Test 1          01          T2_F1          Probation     Confirm
                              T2_F2          05          06
09-OCT-2012     Test 2          01          T2_F3          No          YesI just achieve Revised_Column     Previous_Value     Revised_value for a particular name.
Here is my code
SELECT T2_RV_NO,T2_RV_DATE,T1_NAME,'T2_F1' Revised_Column,PREVIOUS_VALUE,REVISED_VALUE
FROM(
SELECT T2_RV_NO,T2_RV_DATE,T1_NAME,'T2_F1',
LAG(T2_F1) OVER (ORDER BY T2_RV_DATE) PREVIOUS_VALUE ,T2_F1 REVISED_VALUE
FROM TAB2,TAB1
WHERE TAB1.T1_ID=TAB2.T2_T1_ID
AND TAB1.T1_ID=:EMP_ID)
WHERE NVL(PREVIOUS_VALUE,'null')<>NVL(REVISED_VALUE,'null')
AND T2_RV_DATE BETWEEN :BEGIN_DATE AND :END_DATE
AND T2_RV_NO<>'00'
UNION ALL
SELECT T2_RV_NO,T2_RV_DATE,T1_NAME,'T2_F2' Revised_Column,PREVIOUS_VALUE,REVISED_VALUE
FROM(
SELECT T2_RV_NO,T2_RV_DATE,T1_NAME,'T2_F2',
LAG(T2_F2) OVER (ORDER BY T2_RV_DATE) PREVIOUS_VALUE ,T2_F2 REVISED_VALUE
FROM TAB2,TAB1
WHERE TAB1.T1_ID=TAB2.T2_T1_ID
AND TAB1.T1_ID=:EMP_ID)
WHERE NVL(PREVIOUS_VALUE,'null')<>NVL(REVISED_VALUE,'null')
AND T2_RV_DATE BETWEEN :BEGIN_DATE AND :END_DATE
AND T2_RV_NO<>'00'
UNION ALL
SELECT T2_RV_NO,T2_RV_DATE,T1_NAME,'T2_F3' Revised_Column,PREVIOUS_VALUE,REVISED_VALUE
FROM(
SELECT T2_RV_NO,T2_RV_DATE,T1_NAME,'T2_F3',
LAG(T2_F3) OVER (ORDER BY T2_RV_DATE) PREVIOUS_VALUE ,T2_F3 REVISED_VALUE
FROM TAB2,TAB1
WHERE TAB1.T1_ID=TAB2.T2_T1_ID
AND TAB1.T1_ID=:EMP_ID)
WHERE NVL(PREVIOUS_VALUE,'null')<>NVL(REVISED_VALUE,'null')
AND T2_RV_DATE BETWEEN :BEGIN_DATE AND :END_DATE
AND T2_RV_NO<>'00'but it's not work for multiple employee id
Thanks in advance
Edited by: Asked to Learn on Oct 6, 2012 9:18 PM

Asked to Learn wrote:
thanks members. i get a solution of my own for my reporting purpos. Thanks..Well why don't you post your solution? Why not be helpful to others like yourself who might search the forum looking for answers? Don't just take, give back.
Cheers, APC

Similar Messages

  • [SQL] how can i get this result....??(accumulation distinct count)

    [SQL] how can i get this result....??(accumulation distinct count)
    Hi everybody,
    pls tell me how can it possible to get result?
    ### sample data
    date visitor
    10-01 A
    10-01 A
    10-01 B
    10-01 B
    10-01 C
    10-01 C
    10-02 A
    10-02 C
    10-02 C
    10-02 D
    10-02 D
    10-03 B
    10-03 B
    10-03 B
    10-03 A
    10-03 A
    10-03 F
    10-04 A
    10-04 A
    10-04 F
    result that i want...like this.
    date date_unqiue_visitors acc_date_unique_visitors
    10-01 3 3
    10-02 3 4
    10-03 3 5
    10-04 2 5
    date distinct visitors : count(distinct visitor)
    but how can i get accumulation distinct visitor count???
    Thanks to every body..

    SQL> select dt,cnt,sum(cnt1) over(order by dt) cnt1
      2  from(
      3  select dt,count(distinct visitor) cnt,sum(flg) cnt1
      4  from
      5   (select dt,visitor,(select decode(count(*),0,1,0)
      6                           from test
      7                           where rowid < t.rowid
      8                           and visitor = t.visitor) flg
      9   from test t)
    10  group by dt);
    DT                CNT       CNT1
    10-01               3          3
    10-02               3          4
    10-03               3          5
    10-04               2          5
    Message was edited by:
            jeneesh
    Wrong...                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How can I perform this kind of range join query using DPL?

    How can I perform this kind of range join query using DPL?
    SELECT * from t where 1<=t.a<=2 and 3<=t.b<=5
    In this pdf : http://www.oracle.com/technology/products/berkeley-db/pdf/performing%20queries%20in%20oracle%20berkeley%20db%20java%20edition.pdf,
    It shows how to perform "Two equality-conditions query on a single primary database" just like SELECT * FROM tab WHERE col1 = A AND col2 = B using entity join class, but it does not give a solution about the range join query.

    I'm sorry, I think I've misled you. I suggested that you perform two queries and then take the intersection of the results. You could do this, but the solution to your query is much simpler. I'll correct my previous message.
    Your query is very simple to implement. You should perform the first part of query to get a cursor on the index for 'a' for the "1<=t.a<=2" part. Then simply iterate over that cursor, and process the entities where the "3<=t.b<=5" expression is true. You don't need a second index (on 'b') or another cursor.
    This is called "filtering" because you're iterating through entities that you obtain from one index, and selecting some entities for processing and discarding others. The white paper you mentioned has an example of filtering in combination with the use of an index.
    An alternative is to reverse the procedure above: use the index for 'b' to get a cursor for the "3<=t.b<=5" part of the query, then iterate and filter the results based on the "1<=t.a<=2" expression.
    If you're concerned about efficiency, you can choose the index (i.e., choose which of these two alternatives to implement) based on which part of the query you believe will return the smallest number of results. The less entities read, the faster the query.
    Contrary to what I said earlier, taking the intersection of two queries that are ANDed doesn't make sense -- filtering is the better solution. However, taking the union of two queries does make sense, when the queries are ORed. Sorry for the confusion.
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How can i get this result?

    I want to make a menu bar like this:
    http://otn.oracle.com/tech/blaf/specs/tabs_nav/level2_tabs.gif
    Please help me.
    Thanks.

    You want to use a pageLayout with tabs and pageHeader filled with tabBar and globalHeader respectively. You can find information about pageLayout and these other components in the UIX Developer's Guide and the UIX Element Reference, available in JDeveloper's help system or online at: http://otn.oracle.com/jdeveloper/help
    You can also get this by using the wizard to create a UIX page with header, footer and navigation -- it will set this up for you.
    A simple example would be like this:
    <pageLayout>
    <tabs>
    <tabBar>
    <contents>
    <link text="Home" destination="#" />
    <link text="Shop" destination="#" selected="true" />
    <link text="Order History" destination="#" />
    </contents>
    </tabBar>
    </tabs>
    <pageHeader>
    <globalHeader>
    <contents>
    <link text="Catalogs" destination="#" selected="true" />
    <link text="Shopping Lists" destination="#" />
    <link text="Corporate Lists" destination="#" />
    </contents>
    </globalHeader>
    </pageHeader>
    <contents>
    <!-- main body of your page goes here -->
    </contents>
    </pageLayout>

  • How i achive this data by writing exact query ?

    Dear Exparts,
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
    PL/SQL Release 10.2.0.3.0 - Production
    "CORE     10.2.0.3.0     Production"
    TNS for 32-bit Windows: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - ProductionI have a table Name TB and Column A and B with the following data.
    A       B
    10     02-AUG-2012
    10     04-AUG-2012
    10     01-SEP-2012
    10     10-AUG-2012
    11     04-AUG-2012
    11     01-SEP-2012
    11     01-AUG-2012
    10     12-AUG-2012
    10     15-JUL-2012I need data like
    A                      B
    10            10-AUG-2012
    10            12-AUG-2012
    10            01-SEP-2012
    11            01-SEP-2012How we get this data ?
    We have to count column B group by Column A. then devided the count_value by 2 and trunc it and base on the result out put will come. the data are the maximum data.
    Like when we count group A result will be
    A            B
    10           3
    11           1base on above result my desire outpul will come...
    Here is the script
    CREATE TABLE TB
        "A" VARCHAR2(20 BYTE),
        "B" DATE
    Insert into TB (A,B) values ('10',to_date('02-AUG-2012','DD-MON-RRRR'));
    Insert into TB (A,B) values ('10',to_date('04-AUG-2012','DD-MON-RRRR'));
    Insert into TB (A,B) values ('10',to_date('01-SEP-2012','DD-MON-RRRR'));
    Insert into TB (A,B) values ('10',to_date('10-AUG-2012','DD-MON-RRRR'));
    Insert into TB (A,B) values ('11',to_date('04-AUG-2012','DD-MON-RRRR'));
    Insert into TB (A,B) values ('11',to_date('01-SEP-2012','DD-MON-RRRR'));
    Insert into TB (A,B) values ('11',to_date('01-AUG-2012','DD-MON-RRRR'));
    Insert into TB (A,B) values ('10',to_date('12-AUG-2012','DD-MON-RRRR'));
    Insert into TB (A,B) values ('10',to_date('15-JUL-2012','DD-MON-RRRR'));Thanks in advance...
    Ask2Learn
    Edited by: Asked to Learn on Sep 1, 2012 7:55 AM
    Edited by: Asked to Learn on Sep 1, 2012 8:38 AM (CHANGE DATA TYPE) SORRY

    this ?
    with t as
    select a,b,round(count(*) over(partition by a)/2) cnt,row_number() over(order by null) rn from tb
    ),t1 as
    select a.*,row_number() over(order by null) rn from tb a
    select t1.a,t1.b from t,t1 where t1.rn=t.rn and  t1.b>t.cnt order by a;
    A                    B                     
    10                   4                     
    10                   6                     
    10                   5                     
    11                   3                     
    4 rows selected
    Or
    with t as
    select a,b,round(count(*) over(partition by a)/2) cnt from tb
    select a,b from t where cnt<b;

  • Please Give me reply for this problem(How can I get the result)???

    Hello Friends,
    I have one table CXATCMS.Which has 3 columns and has the following data
    start_no end_no activity_date
    05001000001 05001000002 01-OCT-03
    05001000015 05001000016 01-OCT-03
    05001000017 05001000018 12-JUN-05
    05001000019 05001000020 12-JUL-06
    I have to create a report which lists the the specific range.
    If the next record's start_no is the immediate next number for the prevoius record's
    end_no .....then it has to display all those numbers in a range until it finds a number which is not next immediate number for the previous record's end number.
    like for example....if the user wants to see from 1 to 20 range.
    then the result must be like this........
    start_no end_no
    05001000001 05001000002-------there is no 05001000003 number in the
    05001000015 05001000020 start numbers so it has to stop its range by this number).
    How can i get this result........

    Hi,
    Try this. I am sure you know how to write procedure, I have skipped those obligations, anyway u can sense the absic way of working from here I think. Pls do the uppercase / lowercase adjustment as required by your operating system.
    Declare
    mnd CXATCMS.end_no%type;
    numRec CXATCMS.%rowtype;
    Cursor C is select * from CXATCMS where start_no between 1 and 20 order by start_no;
    begin
    select min(end_no)+1 into mnd from CXATCMS where start_no between 1 and 20;
    open C;
    Loop
    fetch C into numRec;
    DBMS_OUTPUT.putline(numRec);
    exit when mnd<>numrec.start_no;
    if mnd=numrec.start_no then
    mnd:=numRec.end_no + 1;
    end if;
    end loop;
    Exception
    when no_data_found raise application_error;
    end;
    gimme feadback pl,
    Pragati.

  • How can I format the results?

    hi,
    I do this caculation
    double cal = 1.0/3.0;
    I just want the result like this "0.3333". How can I format this result?
    Thanks,
    Bin

    java.text.DecimalFormat xForm = new java.text.DecimalFormat("#, ##0.00");:)

  • Result of an SQL query as a Column name of another query

    Hi Friends,
    Can we use a result of a SQL Query as a column name of another table to retrieve data. If so please help me.
    For eg :
    I have a table where is store numbers;
    select col1 from table1 where col1='5';
    and i have another table where .. this value of col is a column name..
    select ( select col1 from table1 where col1='5') from table2;
    Thanks in advance.

    Hi,
    ORAFLEX wrote:
    Hi Friends,
    Can we use a result of a SQL Query as a column name of another table to retrieve data. If so please help me.
    For eg :
    I have a table where is store numbers;
    select col1 from table1 where col1='5';
    and i have another table where .. this value of col is a column name..
    select ( select col1 from table1 where col1='5') from table2;
    Thanks in advance.Do you really mean that?
    select col1 from table1 where col1='5';That query will always return either '5' or nothing. Whatever you're trying to accomplish with that, you can do with an EXISTS query.
    Perhaps you meant to reference two different columns in that query:
    select col1 from table1 where col2='5';In that case, sorry, no, you can't do that without resorting to dynamic SQL.
    If the same column is used throughout the query (but could change every time you run the query), then the dynamic SQL might be pretty easy. In SQL*Plus, for example, you could use substitution variables, defined in another query at run-time.
    If there are only a few possible values that the sub-query could possibly return, and you know what they all are, then you can fake a dynamic query like this:
    SELECT     CASE     ( SELECT  col1
                FROM       table1
                WHERE       col2     = '5'
              WHEN  'BONUS'     THEN  bonus
              WHEN  'COMM'     THEN  comm
              WHEN  'SAL'     THEN  sal
         END     AS col1
    FROM     table2
    ;Sorry to give such a vague answer, but it's the best I can do with the information I have.
    It would help if you posted a little sample data (CREATE TABLE and INSERT statments for both tables), and the results you want to get from that data. If you want to pass a parameter to the query, give the results you want for a couple of different parameters.

  • TS1389 Only one song won't play after authorizing my computer. I authorized it over and over. I even deauthorized all computers, and still same results. How can I fix this ? I'm using a MacBook Pro with iTunes 11

    Only one song won't play after authorizing my computer. I authorized it over and over. I even deauthorized all computers, and still same results. How can I fix this ? I'm using a MacBook Pro with iTunes 11

    Hi Deb,
    Deauthorizing all is definitely the way to go.  You will just need to authorize your computer again after, as well as your husband's.
    Here's some additional information on deauthorizing all:
    iTunes Store: About authorization and deauthorization
    http://support.apple.com/kb/ht1420
    I hope this helps!
    - Ari

  • I purchases additional storage last night when advised by iCloud that I had little storage left on iCloud. Discovered that an unknown iPhone was added to my account resulting in lack of storage. How can I cancel this. And get refund?

    I purchased addional storage for iCloud after being advised that I was running out of storage. Later I discovered a iPhone which I do not own was added to my account . How I don't know. Anyway I want to cancel and get refund. How can I do this. Try various apple contact methods..can't get to talk or email anyone.

    I have the same problem. For about 1 month ago I extended my iCloud storage account (+20 GB) in order to maintain my backups for iPHONE and iPAD as my account would expire 14/10. In spite of this, I got an email 15/10, which said that iCloud was reduced to 5 GB. 2 hours later I received a new email with comfirmation on the purchase of +20 GB storage plan. However, I only have access to 5 GB on my iPad and iPhone. Called Apple Support but they couldn´t help me. Did you find any solution ?

  • My new iMac had the old data transferred in-store but now it won't accept the password on the first screen. How can I reset this? I can't get past the first screen as a result.

    I cannot get past the initial screen on my new iMac. Data was transferred from my old computer so when I turned it on It automatically had my name in the window and asked for the password, but none of my old passwords seem to be accepted. How can I fix this?? It's a new IMac with osx.

    Which password isn't working? The one to access the iPad or the one to get your hotmail?
    If hot mail, you go into the settings, mail, contacts and calendars and edit your hot mail account. Of if it won't edit, delete it off the iPad, then re-add it with the new password.

  • When updating my phone4 it had to be connected to itunes and as a result has picked up someone else's icloud account login. how can i remove this?

    When updating my iphone 4 it had to be connected to itunes. As there is 2 other phones on the same itunes account my phone has picked up someone else's icloud login and i can not use the app store. how can i remove this?

    Hello lesley142
    To sign out of what ever Apple ID is signed in, go to Settings > iTunes & App Stores and then tap the Apple ID and you will see an option to sign out.
    iOS: Sign in with a different Apple ID in the iTunes Store, App Store, and iBooks Store
    http://support.apple.com/kb/ht1311
    Regards,
    -Norm G.

  • How can i display the result of java class in InputText ?

    Hi all,
    How can i get the result of java class to InputText Or OutputText ???
    also can every one in the forum give me road map for dealing with java in oracle adf because i'm beginner in oracle adf
    i saw some samples in oracle adf corner but it's difficult for me.

    User,
    Always mention your JDev version, technologies used and clear usecase description (read through this announcement : https://forums.oracle.com/forums/ann.jspa?annID=56)
    How can i get the result of java class to InputText Or OutputText ???Can you elaborate on your requirement? Do you mean the return value of a method in a class as output text? Or an attribute in your class (bean?) as text field?
    -Arun

  • My 2009 iMac freezes and won't run more than one application at a time - how can I fix this?

    Help! My iMac has been getting worse regarding freezing, especially when trying to open iPhoto. It will load slowly, and then I get the pinwheel of death for ever, until I shutdown and try over again. It usually takes several tries, and usually overnight. How can I resolve this issue?

    First, back up all data immediately, as your boot drive might be failing.
    Step 1
    This diagnostic procedure will query the log for messages that may indicate a system issue. It changes nothing, and therefore will not, in itself, solve your problem.
    If you have more than one user account, these instructions must be carried out as an administrator.
    Triple-click anywhere in the line below on this page to select it:
    syslog -k Sender kernel -k Message CReq 'GPU |hfs: Ru|I/O e|find tok|n Cause: -|NVDA\(|timed? ?o' | tail | open -ef
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key.
    The command may take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear.
    A TextEdit window will open with the output of the command. Normally the command will produce no output, and the window will be empty. If the TextEdit window (not the Terminal window) has anything in it, stop here and post it — the text, please, not a screenshot. The title of the TextEdit window doesn't matter, and you don't need to post that.
    Step 2
    There are a few other possible causes of generalized slow performance that you can rule out easily.
    Disconnect all non-essential wired peripherals and remove aftermarket expansion cards, if any.
    Reset the System Management Controller.
    Run Software Update. If there's a firmware update, install it.
    If you're booting from an aftermarket SSD, see whether there's a firmware update for it.
    If you have a portable computer, check the cycle count of the battery. It may be due for replacement.
    If you have many image or video files on the Desktop with preview icons, move them to another folder.
    If applicable, uncheck all boxes in the iCloud preference pane. See whether there's any change.
    Check your keychains in Keychain Access for excessively duplicated items.
    Boot into Recovery mode, launch Disk Utility, and run Repair Disk.
    If you have a MacBook Pro with dual graphics, disable automatic graphics switching in the Energy Saverpreference pane for better performance at the cost of shorter battery life.
    Step 3
    When you notice the problem, launch the Activity Monitor application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Activity Monitor in the icon grid.
    Select the CPU tab of the Activity Monitor window.
    Select All Processes from the View menu or the menu in the toolbar, if not already selected.
    Click the heading of the % CPU column in the process table to sort the entries by CPU usage. You may have to click it twice to get the highest value at the top. What is it, and what is the process? Also post the values for User, System, and Idle at the bottom of the window.
    Select the Memory tab. What value is shown in the bottom part of the window for Swap used?
    Next, select the Disk tab. Post the approximate values shown for Reads in/sec and Writes out/sec (not Reads in andWrites out.)
    Step 4
    If you have more than one user account, you must be logged in as an administrator to carry out this step.
    Launch the Console application in the same way you launched Activity Monitor. Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Select the 50 or so most recent entries in the log. Copy them to the Clipboard by pressing the key combinationcommand-C. Paste into a reply to this message (command-V). You're looking for entries at the end of the log, not at the beginning.
    When posting a log extract, be selective. Don't post more than is requested.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some personal information, such as your name, may appear in the log. Anonymize before posting. That should be easy to do if your extract is not too long.

  • Regarding Mail:  When I return to my computer after it has gone to sleep, my accounts go offline, and are always asking me for the password.  THis is very annoying.  How can I prevent this?

    Regarding Mail:  When I return to my computer after it has gone to sleep, my accounts go offline, and are always asking me for the password.  THis is very annoying.  How can I prevent this?

    Back up all data.
    Launch the Keychain Access application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Keychain Access in the icon grid.
    Select the login keychain from the list on the left side of the Keychain Access window. If your default keychain has a different name, select that.
    If the lock icon in the top left corner of the window shows that the keychain is locked, click to unlock it. You'll be prompted for the keychain password, which is the same as your login password, unless you've changed it.
    Right-click or control-click the login entry in the list. From the menu that pops up, select Change Settings for Keychain "login". In the sheet that opens, uncheck both boxes, if not already unchecked.
    From the menu bar, select
    Keychain Access ▹ Preferences ▹ First Aid
    If the box marked Keep login keychain unlocked is not checked, check it.
    Select
    Keychain Access ▹ Keychain First Aid
    from the menu bar and repair the keychain. Quit Keychain Access.

Maybe you are looking for

  • Is there a way to communicate across subnets with the GPIB-ENET/100?

    I have a GPIB-ENET/100 that I am using. It is sitting on my engineering subnet. My PC is sitting on my corporate subnet and I am trying to communicate between the two. I can ping the device from my PC but the MAX cannot discover it. I noticed there i

  • Color Correcting but advanced!

    Hey guys, here I am with yet another question. I know how to color correct pretty well but not as well as I want to. I bought some apple books to teach me but I still can't figure it out. Here's my problem, just say it's two people and any background

  • How should I setup my HD configuration

    I have looked at Harm's guides and learned a lot, but I am pretty new to the RAID and video editing community and would like some direction and advice. I currently have bought all of the parts and pieces for my build with CS5 (Premiere Pro) in mind. 

  • $10,000 Mac Pro won't read $1,500 Apple Final Cut Pro DVDs.  Awesome.

    Have tried rebooting, updating, etc. No luck. DVD Drive just rejects the disk(s). What does $11,500 get you from Apple? A boat anchor. Piece of crap won't read brand new Apple FCP disks, so the 60gb, 8 hour install either won't start at all, or fails

  • Ultrabase vs docking station for X220

    I have a lenovo thinkpad x220.  I want to be able to use a docking station with the monitor down on the laptop.  My end goal is to use a monitor with the tinkpad in a docking station and then use the usb ports to connect a full size keyboard and mous