Questions on SQL executed by Answers about Row_number

While debugging from the log file of sql executed by OBIEE Answers, I found the following sql statements:
-------------------- Sending query to database named DW_TESTING (id: <<10886>>):
select D1.c2 as c1,
D1.c3 as c2,
D1.c1 as c3
from
(select D1.c1 as c1,
D1.c2 as c2,
D1.c3 as c3
from
(select sum(T1113.PRODUCT_SALES) as c1,
T1141.YEAR as c2,
T1141.QUARTER as c3,
ROW_NUMBER() OVER (PARTITION BY T1141.QUARTER ORDER BY T1141.QUARTER ASC) as c4
from
DWADMIN.DATE_MASTER T1141,
DWADMIN.DAILY_SALES T1113
where ( T1113.SALES_DATE = T1141.CALENDAR_DATE )
group by T1141.YEAR, T1141.QUARTER
) D1
where ( D1.c4 = 1 )
) D1
order by c2
+++Administrator:2e0000:2e0005:----2009/06/10 15:37:11
-------------------- Sending query to database named DW_TESTING (id: <<10931>>):
select D2.c2 as c1,
D2.c3 as c2,
D2.c1 as c3
from
(select D1.c1 as c1,
D1.c2 as c2,
D1.c3 as c3
from
(select sum(T620.PRODUCT_SALES) as c1,
T1141.YEAR as c2,
T1141.QUARTER as c3,
ROW_NUMBER() OVER (PARTITION BY T1141.QUARTER ORDER BY T1141.QUARTER ASC) as c4
from
DWADMIN.DATE_MASTER T1141,
BEADMIN.BE_DAILY_SALES T620
where ( T620.SALES_DATE = T1141.CALENDAR_DATE )
group by T1141.YEAR, T1141.QUARTER
) D1
where ( D1.c4 = 1 )
) D2
order by c2
Does anyone know why the Answers will filter the ROW_NUMBER = 1? I wonder how come the Answers run 2 different SQL statement instead of one.
My environment:
2 Fact tables
3 common dimensions + 1 dimension which can only join with one of the fact table
2 fact tables does not directly join together.
This problem is found whenever I choose any columns from both 2 fact tables. If columns are only from either one fact table, the results are correct.
Thx all ~

Wildmight,
May I ask what should I check for 'content tab' you mentioned?
Also for the time dimension, I did not check "time dimension" box in the timeDimension hierarchy property. Infact is that we MUST set the time dimension as "Time Dimension" in the property? What is the difference? I remembered I have tried to set it and assign the "Year" as the chronical key, but the problem remains.
Finally, I do not set any filters. That's why I wonder when I saw the Answers Engine has filtered the Row_number by c1 = 1.
Thanks a lot ~

Similar Messages

  • TS4036 I forgot my icloud password and the answer to the security questions so how do i go about resetting my icloud password?

    i forgot my icloud password and the answer to the security questions so how do i go about resetting my password?

    The Three Best Alternatives for Security Questions and Rescue Mail
         1.  Send Apple an email request at: Apple - Support - iTunes Store - Contact Us.
         2.  Call Apple Support in your country: Customer Service: Contact Apple support.
         3.  Rescue email address and how to reset Apple ID security questions.
    A substitute for using the security questions is to use 2-step verification:
    Two-step verification FAQ Get answers to frequently asked questions about two-step verification for Apple ID.

  • When ask me about my security question i cant remember my answer, how can i solve this problem?

    when ask me about my security question i cant remember my answer, how can i solve this problem?

    Go to:
    https://appleid.apple.com/
    Click "Manage My Account", sign in, and go to the Password and Security section. If you've forgotten your answers, there should be a link just under the security questions fields where you can have a reset email sent to your Rescue email address. If the link for the email doesn't appear, as can happen if you didn't set a rescue email address or (apparently) have a .Mac email address, see the user tip created by Kappy, another user here, on how to proceed:
    https://discussions.apple.com/docs/DOC-4551
    Regards.
    Forum Tip: Since you're new here, you've probably not discovered the Search feature available on every Communities page, but next time, it might save you time (and everyone else from having to answer the same question multiple times) if you search a couple of ways for a topic, both in the relevant forums and in the Apple Knowledge Base, before you post a question.

  • HT3591 I was about to download (buy) some music from ITunes when they said I had to answer these security questions, however I've never answered in my hole apple experience which has left me unable to buy anything because I don't know my security question

    I was about download music when it then asked me for my security questions. The problem for me is that I've never answered these questions ever in my hole apple experience and even if I did, I've 100% completely forgot about them. I then decided to email a link to deactivate my questions however this email from Apple had never come, I'm know left unable to download music, apps, and books.

    You need to manage your Apple ID and change your security question there.

  • HOW  DO YOU GET TO ASK A QUESTION AND GET AN ANSWER ABOUT ADOBE

    HOW DO YOU GET ANSWER ABOUT ADOBE
    MESSING WITH EVERY THING I TRY AND DO ON MY COMPUTER IS THERE AWAY TO SET IT SO IT WILL NOT MESS WITH EVERYTHING I DO ?
    [edited by forum host - you have violated the Community Guidelines on acceptable language]

    Well, the first thing to bear in mind that we are all just folk like you who use Adobe products. And we choose to share our time here helping people.
    So, you need to be
    1. Informative. What EXACTLY happens. Give details, exact messages, screen shots, whatever.
    2. Polite. Because if we don't take to you we just won't help. You should understand that posting in all caps is considered rude, like going into a store SHOUTING. Unlike the store staff we don't have to deal with you, we can just ignore you. I know you explained why you use caps in another message, but seriously, it really hinders your chances of getting help. No wonder you find it FRUSTRATING.

  • Mass SQL executing from standalone app to sever  - Suggestion only.

    Which way can be the best way to execute the SQL to server in mass form.
    I 'm trying to make a program which executes the mass SQL to server from the local SQL server.I even need to show the progress of excuted SQL in percentage form (multi-threading via SwingWorker) and futher more it must be recoverable when there is interrupt / crash during SQL executing process.
    According to my idea I'm suceeded to execute the mass SQL from local SQL via these steps (Algorithm).
    1.Query for the SQL which are not being updated in server e.g "SELECT 'SQL' FROM 'PENDING' WHERE UPLOADED=0"
    2.Getting SQL one by one via Loop.
    3.Creating TEMP FILE in client and write "1"
    4.Execute the SQL to Server
    5.Change the value of '1' to '2' in TEMP FILE
    6.Update the value of UPLOADED=0 to 1 in PENDING Table
    7.Finally delete the TEMP FILE from client computer .
    8.Goes to next SQL until the Loop ends
    I'm using TEMP_FILE so that i can know whether the SQL executing process was completed sucessfully or not. And to correct the interrupted/crashed SQL process i've used 1,2 in TEMP FILE as the step of executing process.
    But somehow I think there is good way to handle this problem.So I posted here to get better solution for my problem . I 've even thought about SQL Batch Processing but I don't think it's good idea for recovering SQL from crashes and interrupt

    Hello DynamicBasics
    I've followed the tutorial but not working for me!
    public boolean uploadData(){
            boolean isUploaded = true;
            Statement s = null;
            ResultSet rs = null;     
            connectServer();
            try{
              //disabling autocommit = false
                    getServerConnection().setAutoCommit(false);
                    String sql = ("INSERT INTO transaction VALUES(?,?)");               
                    PreparedStatement stmt = getServerConnection().prepareStatement(sql);
                    stmt.setString(1,"SALES");
                    stmt.setInt(2,0);
                    stmt.executeUpdate();   //does it update as seperately
                    PreparedStatement stmt2 = getServerConnection().prepareStatement(sql);
                    stmt2.setString(1, "PURCHASE");
                    stmt2.setInt(2, 1);
                    stmt2.executeUpdate();  //does it update as seperately    
              //i've not done commit() but even it's being executed                    
            catch(SQLException se){
                se.printStackTrace();
             isUploaded = false;
            return isUploaded;
    }As I read using Transaction is meant to execute many sql as a single unit but it's being executed seperately even i've not done commit().
    I think executeUpdate() already executes the sql . Or do i need to used batch for it ??
    Please help

  • High "CPU + Wait for CPU" event on pl/sql execute operation

    I am executing a pl/sql in 256 parallel sessions, on 11G r2 DB (RAC 2 nodes), on a 42core IBM P7 Machine.
    PL/sql function opens a cursor on a huge table with around 20M rows and does further processing.
    Work-load is equally divided into 256 parallel sessions. 256 parallel sessions are opened by a middle-ware application and each session processes data based on an identifier (there are 256 distinct identifier values).
    PL/sql function is comprised of some SQL operations, on which i am experiencing some cluster waits. But CPU + wait for CPU event on pl/sql execute operation is close to 80% of the total execution time.
    Top user events:
    Event Event Class % Event Avg Active Sessions
    CPU + Wait for CPU CPU 80.88 98.15
    gc current block 2-way Cluster 3.33 4.05
    gc cr block busy Cluster 2.01 2.44
    gc cr block 2-way Cluster 1.97 2.39
    db file sequential read User I/O 1.81 2.20
    Top SQL command type:
    SQL Command Type Distinct SQLIDs % Activity Avg Active Sessions
    PL/SQL EXECUTE 3 60.99 74.02
    SELECT 66 12.90 15.65
    INSERT 24 9.89 12.01
    UPDATE 9 6.00 7.28
    DELETE 2 1.33 1.61Rest of the SQL queries seem to be very optimum, but waits on pl/sql execute operation are causing very low tps.
    Can anybody give me some heads-up about where to and what to look for to resolve?
    Please let me know if any extra information is required.

    AWR report :
    Header
    DB      Name      DB Id           Instance      Inst num      Startup Time           Release RAC
    FCR           1304316316      fcrypp1      1                01-12ÔÂ-12 04:12      11.2.0.2.0 YES
    Host           Name Platform                     CPUs      Cores      Sockets Memory (GB)
    z4ci2011      AIX-Based Systems (64-bit)      168      42        320.00
                   Snap Id      Snap Time                     Sessions      Cursors/Session
    Begin Snap: 40650           01-12ÔÂ-12 06:40:03      1203           5.8
    End Snap:      40669           01-12ÔÂ-12 09:50:01      1122           5.3
    Elapsed:        189.96 (mins)    
    DB Time:        22,251.65 (mins)
    Load profile
    Per Second           Per Transaction      Per Exec      Per Call
    DB Time(s):           117.1                19.5                     0.00           3.89
    DB CPU(s):                16.1                2.7                     0.00           0.53
    Redo size:                12,759,186.3      2,126,361.0    
    Logical reads:           181,875.9           30,310.2    
    Block changes:           54,515.5           9,085.2    
    Physical reads:      1,340.3           223.4    
    Physical writes:      8,788.9           1,464.7    
    User calls:           30.1                5.0    
    Parses:                26.5                4.4    
    Hard parses:           0.4                0.1    
    W/A MB processed:      8.5                1.4    
    Logons:                0.1                0.0    
    Executes:                41,176.0           6,862.1    
    Rollbacks:                1.9                0.3    
    Transactions:           6.0      
    Time model statistics
    Statistic Name                                             Time (s)          % of DB Time
    sql execute elapsed time                              1,334,935.55     99.99
    PL/SQL execution elapsed time                         1,180,376.60     88.41
    DB CPU                                                       182,904.44          13.7
    repeated bind elapsed time                              292.83               0.02
    sequence load elapsed time                              279.75               0.02
    parse time elapsed                                        87.4               0.01
    hard parse elapsed time                                   22.52               0
    failed parse elapsed time                              5.12               0
    connection management call elapsed time               4.61               0
    PL/SQL compilation elapsed time                         1.91               0
    hard parse (sharing criteria) elapsed time          0.49               0
    hard parse (bind mismatch) elapsed time               0.39               0
    inbound PL/SQL rpc elapsed time                         0.1     0
    DB time                                                       1,335,099.30     
    background elapsed time                                   33,298.67     
    background cpu time                                        11,692.76     
    Operating System Statistics
    Statistic Value End Value
    AVG_BUSY_TIME 202,428  
    AVG_IDLE_TIME 936,397  
    AVG_IOWAIT_TIME 4,124  
    AVG_SYS_TIME 84,480  
    AVG_USER_TIME 117,573  
    BUSY_TIME 34,074,303  
    IDLE_TIME 157,378,825  
    IOWAIT_TIME 755,368  
    SYS_TIME 14,256,010  
    USER_TIME 19,818,293  
    LOAD 21 10
    OS_CPU_WAIT_TIME 23,770,800  
    VM_IN_BYTES 20,496  
    VM_OUT_BYTES 2,086,940,520  
    PHYSICAL_MEMORY_BYTES 343,597,383,680  
    NUM_CPUS 168  
    NUM_CPU_CORES 42  
    NUM_LCPUS 168  
    NUM_VCPUS 42  
    GLOBAL_RECEIVE_SIZE_MAX 41,943,040  
    GLOBAL_SEND_SIZE_MAX 41,943,040  
    TCP_RECEIVE_SIZE_DEFAULT 16,384  
    TCP_RECEIVE_SIZE_MAX 9,223,372,036,854,775,807  
    TCP_RECEIVE_SIZE_MIN 4,096  
    TCP_SEND_SIZE_DEFAULT 16,384  
    TCP_SEND_SIZE_MAX 9,223,372,036,854,775,807  
    TCP_SEND_SIZE_MIN 4,096
    SQL ordered by CPU Time
    CPU Time (s)      Executions       CPU per Exec (s) %Total      Elapsed Time (s)      %CPU      %IO      SQL Id SQL Module SQL Text
    180,330.13           127                1,419.92                98.59      1,326,401.03           13.60      1.08      04kt8u64udphu    BEGIN :1 := ap_ch_eod_shell_en...
    8,025.48           9,868,469           0.00                     4.39      10,809.88                74.24      9.21      arnkbsnzhha77 ch_txn_shell_115  SELECT * FROM CH_ACCT_MAST WHE...
    6,117.64           9,873,495           0.00                     3.34      8,557.64                71.49      7.14      8qcryvj294s79 ch_eod_shell_138  UPDATE CH_ACCT_MAST_PAR SET DA...
    4,614.71           3,185,313           0.00                     2.52      11,130.77                41.46      11.88      b75wwkxw34x2k ch_eod_shell_228  INSERT INTO CH_TMP_XF_GL_TXNS ...
    4,374.29           9,866,217           0.00                     2.39      5,876.00                74.44      37.88      g22p493ra2zr5 ch_eod_shell_248  UPDATE CH_ACCT_MAST SET BAL_LA...
    3,514.57           14,026,451           0.00                     1.92      6,274.60                56.01      29.55      7bwhphfnnuqpr ch_eod_shell_59  INSERT INTO CH_ACCT_INT_BREAKU...
    3,253.36           3,185,706           0.00                     1.78      3,875.42                83.95      9.20      9dq134q9btxq8 ch_eod_shell_74  INSERT INTO CH_ST_CAP_INPUT_TX...
    3,131.64           9,875,603           0.00                     1.71      5,338.43                58.66      15.55      6xhwk1b37rh1t ch_txn_shell_143  UPDATE CH_ACCT_ATTRIBUTES SET ...
    2,954.15           9,878,718           0.00                     1.62      5,692.88                51.89      13.22      b4at7uq2hw6r7 ch_sweepin_shell  SELECT TRIM(A.COD_PKG) FROM RP...
    2,572.01           9,867,277           0.00                     1.41      4,605.88                55.84      12.58      54ud0a8tuwwbc ch_txn_shell_17  SELECT * FROM CH_ACCT_ATTRIBUT...
    1,941.29           19,730,455           0.00                     1.06      5,580.38                34.79      7.02      dx5kng8qu560t ch_txn_shell_59  UPDATE CH_ACTIONS_DUE SET COD_...
    1,846.01           9,875,239           0.00                     1.01      4,737.66                38.96      12.55      af7f92f13rmy4 ch_txn_shell_85  INSERT INTO CH_ACTIONS_DUE (CO...

  • Query to find duplicate sql executed

    What is the sql to find the duplicate sql executed and count of executions.
    I need the query ( though we can get directly the results from OEM)
    Please let me know.
    Thanks
    Naveen

    >
    What is the sql to find the duplicate sql executed and count of executions.
    I need the query ( though we can get directly the results from OEM)Get to know V$SQL, V$SQL_AREA and V$SQL_TEXT.
    Check out Christoper Lawson's Oracle performance tuning book - it's
    very good on the basics of this subject.
    HTH.
    Paul...
    Naveen--
    When asking database related questions, please give other posters
    some clues, like OS (with version), version of Oracle being used and DDL.
    Other trivia such as CPU, RAM + Disk configuration might also be useful.
    The exact text and/or number of error messages is useful (!= "it didn't work!"). Thanks.
    Furthermore, as a courtesy to those who spend time analysing and attempting to help,
    please do not top post and do try to trim your replies!

  • All sqls executed by an user with a timeframe with bind variables.

    10.2.0.4 Version.
    Is there a way to get list of all the sqls executed by an user between time t1 and t2 with bind variables along with the stats from v$sql.
    I am able to get binds from v$sql_bind_capture for an user but not able to restrict to the time frame I want.
    Thanks for help in advance.

    Enable 10046 trace (level=12) for the sessions in question.
    Make sure you have enough free space available as this could result in a huge file depending on session's activity.
    Asif Momen
    http://momendba.blogspot.com

  • Do you think this SQL Server exam answer is correct?

    Recently I have come across below exam questions for SQL Server 2012.
    You administer a Windows Azure SQL Database database named Human_Resources. The database contains 2 tables named Employees and SalaryDetails.
    You add two Windows groups as logins for the server:
    CORPEmployees – All company employees
    CORPHRAdmins – HR administrators only
    HR Administrators are also company employees.
    You need to grant users access according to the following requirements:
    CORPEmployees should have SELECT access to the Employees table.
    Only users in CORPHRAdmins should have SELECT access to the SalaryDetails table.
    Logins are based only on Windows security groups.
    What should you do?
    A.
    Create a database role called Employees.
    Add CORPEmployees to the db_datareader role.
    Add all company employees except HR administrators to the Employees role.
    Deny SELECT access to the SalaryDetails table to the Employees role.
    B.
    Create a database role called HRAdmins.
    Add all company employees except HR administrators to the db_datareader role,
    Add all HR administrators to the HRAdmins role.
    Grant SELECT access to the SalaryDetails table to the HRAdmins role.
    Deny SELECT access to the SalaryDetails table to the db_datareader role.
    C.
    Create two database roles: Employees and HRAdmins.
    Add all company employees to the Employees role.
    Add HR administrators to the HRAdmins role.
    Grant SELECT access to all tables except SalaryDetails to the Employees role.
    Grant SELECT access to the SalaryDetails table to the HRAdmins role.
    Deny SELECT access to the SalaryDetails table to the Employees role.
    D.
    Create a database role called Employees.
    Add all HR administrators to the db_datareader role.
    Add all company employees to the Employees role.
    Grant SELECT access to all tables except the SalaryDetails table to the Employees role.
    Deny SELECT access to the SalaryDetails table to the Employees role.
    In the website where I saw this question, the correct answer is provided to be "D". But I definitely think it should be "A" not "D".
    The answer is simple. In "D", "Add all company employees to the Employees role" will also add "HRAdmins" to the "Employees" role because the question specifically
    indicated the HRAdmins are also employees. So later on "Deny SELECT access to the SalaryDetails table to the Employees role" will cause "HRAdmins"
    to be denied for selecting from  "SalaryDetails" table, too.
    Please let me know if my understanding is right?

    The question mentions there are only 2 tables in this database, Employee and SalaryDetails, and the requirements mention permissions on only these.  Only GRANT (no DENY) is needed to provide these permissions so the best answer is a modified version
    of C:
    Create two database roles: Employees and HRAdmins.
    Add all company employees to the Employees role.
    Add HR administrators to the HRAdmins role.
    Grant SELECT access on the Employees table to the Employees role.
    Grant SELECT access on the SalaryDetails table to the HRAdmins role.
    One of the things I don't like about test questions like this is that they are sometimes outright wrong or require clarification to make the proper decisions.  One cannot take then too literally but it's sometimes hard to read between the lines to comprehend
    the purpose of the question.
    It is common in the real world to get ambiguous or improperly stated requirements but we can at least ask for clarification. A good DBA might consider this database could contain additional tables in the future, but should be wary about granting
    permissions in advance (e.g. with fixed database role membership or granting permissions at a higher level) on those before they are created without knowing what sensitive data they might contain.
    Dan Guzman, SQL Server MVP, http://www.dbdelta.com

  • I'm not sure if I am writing this in the correct area (this is my second attempt at posting a question), but I have a comment about a recent store experience in Sandusky, OH.  I am not a current Verizon customer, but I was visiting friends and we had to g

    I'm not sure if I am writing this in the correct area (this is my second attempt at posting a question), but I have a comment about a recent store experience in Sandusky, OH.  I am not a current Verizon customer, but I was visiting friends and we had to go to the store to get something taken care of.  First off, allow me to compliment the nice, new store.  Boy, its changed over the past few years ago when I was in last. My comment is mostly directed to one specific employee.  When we entered the store, we were "welcomed" by a sloppy dressed gentlemen (his clothes were probably two sizes two small), which really struck me as unusual because every other employee in the store was dressed really "casual" with nice sporty clothing and red shoes.  Either way, after being entered into the computer, the gentlemen told me to wander around or have a seat in the back and someone would be with us soon.  As soon as we walked away from the door, the gentlemen handed his "duty" off to another employee who took over welcoming people coming in.  For whatever reason, I felt glued to him as he stood out to me.  After leaving the door, he immediately went to the back of the room, hunched over a cabinet, where he stood for the next 30+ minutes playing on his phone, frowning and not speaking to anyone around him.  Again, I found this unusual because everyone else was overly friendly and smiling.  I finally decided to walk by and see what he was doing.  It appeared that he was texting someone.  He paid no attention to me whatsoever as I walked by, just continued to frown and text on his phone.  I did take not of his name tag for future reference.  His name was Justin.  I am assuming he's the manager of the location as he was just standing around while everyone else worked.  I do understand that managers aren't necessarily doing the "dirty work" of the employees, but he could have at least found some better fitting clothing (I find it hard to believe Verizon doesn't supply it), been a little friendly, pretended to be busy, and not been texting the entire time we were there.  Again, the store was great, the other employees were very helpful, but the manager seemed to be doing is own little thing and it didn't put off a good image for the rest of the store.  Just wanted to share my comments.

    lisab101,
    We appreciate you reaching out to us. We greatly appreciate the feedback that you have provided us. Please know that we will lift this up to management and the issues will be addressed.
    Thank you,
    RobinD_VZW
    Follow us on twitter @VZWSupport

  • Hi I want to change your e-secret questions because I forgot the answers I have tried sending reset questions on my mail and I have not received mail

    hi I want to change your e-secret questions because I forgot the answers I have tried sending reset questions on my mail and I have not received mail
    New mail that I want is [email protected]
    Alternative to the Old one

    From  King Penguin
    If you have a rescue email address set up on your account then you can try going to https://appleid.apple.com/ and click 'Manage your Apple ID' on the right-hand side of that page and log into your account. Then click on 'Password and Security' on the left-hand side of that page and on the right-hand side you might see an option to send security question reset info to your rescue email address.
    If you don't have a rescue email address set up then go to Express Lane  and select 'iTunes' from the list of 'products' in the middle of the screen.
    Then select 'iTunes Store', and on the next screen select 'Account Management'
    Next choose 'iTunes Store Account Questions' or 'iTunes Store account security' (it appears to vary by country) and fill in that you'd like your security questions/answers reset.
    You should get an email reply within about 24 hours (and check your Spam folder as well as your Inbox)

  • Error in PL/SQL - execute immediate

    Hi ,
    I am getting this error when executing the procedure.Could you help me what wrong in it?
    SQL >create or replace procedure delete_emp_copy (tname in varchar2) is
    sql_stmt varchar2(200);
    begin
    sql_stmt :='delete from :1';
    execute immediate sql_stmt using tname;
    end;
    Procedure created
    .SQL> execute delete_emp_copy('EMPLOYEES_COPY');
    BEGIN delete_emp_copy('EMPLOYEES_COPY'); END;
    ERROR at line 1:
    ORA-00903: invalid table name
    ORA-06512: at "HR.DELETE_EMP_COPY", line 5
    ORA-06512: at line 1
    EMPLOYEES_COPY exists in my schema? what could be wrong?

    You can't bind in a table name. You would have to concatenate the table name. Youd can use bind variables for values in the where clause, for example, but not for object names.
    create or replace procedure delete_emp_copy (tname in varchar2) is
    sql_stmt varchar2(200);
    begin
    sql_stmt :='delete from ' || tname;
    execute immediate sql_stmt;
    end;I'd recommend you to validate the table name, using a select from all_tables to check if it exists, or using the DBMS_ASSERT if your Oracle version supports it.

  • HT1918 How to change my sercurity question if I forgot the answers to them?

    How to change security questions if I forgot the answers to them?

    If you have a rescue email address set up on your account then you can try going to https://appleid.apple.com/ and click 'Manage your Apple ID' on the right-hand side of that page and log into your account. Then click on 'Password and Security' on the left-hand side of that page and on the right-hand side you might see an option to send security question reset info to your rescue email address.
    If you don't have a rescue email address set up then go to Express Lane  and select 'iTunes' from the list of 'products' in the middle of the screen.
    Then select 'iTunes Store', and on the next screen select 'Account Management'
    Next choose 'iTunes Store Account Questions' and fill in that you'd like your security questions/answers reset.
    You should get an email reply within about 24 hours (and check your Spam folder as well as your Inbox)

  • How to find all the sql executed in the database

    Hi
    We want to be able to collect all the sql statements executed in the database and be able to dump them in a file or a table. Can anyone tell me how we can get that done?
    Regards,

    if you are using oracle 10g, you can use one of the
    option of datapump tool to do thisthat's new to me, can you show us how ?
    For OP, you can check v$sqlarea view to find out all the sql statement still in shared_pool, however, there's no guarantee you will have all sql executed since database started.
    Like other poster mentioned, enable auditing if you want to collect that information.

Maybe you are looking for