Max date in oracle

as we know the maximum date for the oracle is 12-31-9999.
Is there anyway to get this date without hardcoding the value???
if there is a oracle method its great..

I would also ask what you are trying to accomplish. If you are trying to use the max date as an indicator (i.e. rows that haven't been processed are assigned a bogus max date), that can cause the cost-based optimizer (CBO) some confusion since it assumes an even distribution of data.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC

Similar Messages

  • MAX DATA SIZE IN ORACLE APPLICATION

    WHAT IS MAX DATA SIZE DOES AN ORACLE APPLICATION CAN HANDLE I.E MAX TABLE SIZE

    Oracle Application can easily fill that.
    And can you hit the "Caps Lock" on your keyboard once more to turn it off.
    Daljit Singh

  • Insert data into oracle based on sql server data(here sql server acting as source to oracle and destination to oracle)

    Source is Oralce. Destination is SQL Server.
    Requirement - I have to fetch sql server server data (empid's) based emp table  and send this as input data to oracle to fetch and empid's are common.
    I cannot use merge or loopkup or for each as oracle have too many records.
    For example - In MS SQL - i have empid=1,2..Only these records, I have to fetch from oracle source into sql server destination. For this, I have adopted the below approaches...The major problem I face, when i build a empid's as a string, it is taking only
    4000 chars. My string lenght is 10000. How do I breakup this string lengh and send to data flow task till all broken strings length passed to DFT.
    Approach-1
    created two variables - oraquery string, empid string
    step1 - ms sql database - created sql task - declare @empid varchar(max)
    SELECT @empid=
    Stuff((SELECT ',' + empid
            FROM  
            (SELECT  DISTINCT  convert(varchar(10),empid ) empid FROM emp
             ) x
            For XML PATH ('')),1,1,'')
    select @empid =    '(' +  @empid + ')'
    select @empid
    resultset=singlerow
    resultset=resultname=0; variablename=User::empid (empid is declared as string)
    step2 - oracle database - created data flow task
    created oledb source
    I put  this statemnt in oraquery expression - "select * from dept where dept in  "
    +  @[User::empid] + "
    expression=true
    [OLE DB Source [1]] Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E14.
    An OLE DB record is available.  Source: "Microsoft OLE DB Provider for Oracle"  Hresult: 0x80040E14  Description: "ORA-00936: missing expression".
    Approach-2
    created three variables - oraquery string, empid  int, loop object--when I put int then it is automatically setting to 0
    step1 - ms sql database - created sql task - SELECT  DISTINCT  convert(varchar(10),empid ) empid FROM emp
    resultset=fullresult
    resultset=resultname=0; variablename=User::loop
    step2 - created a for each loop container
    for loop editor - for each ado ennumerator
    enumerator configuration - loop
    variablemapping - variable=empid;index=0
    step3 - oracle database - created data flow task (outside for each loop. If I put inside it is taking long time)
    created oledb source
    I put  this statemnt in oraquery expression - "select * from dept where dept in  "
    +  @[User::empid] + "
    expression=true
    Data inserting in a destination table but  empid=0.

    Sorry didnt understand if your step3 is outside loop how
    @[User::empid] will get values for the empids from User::loop. The iteration happens inside loop so you
    need to have a logic to form the delimited list inside using a script task or something and concatenating everything and storing to variable @[User::empid]
    . Then only it will have full value used to be used in step3 query
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Sending Long Raw Data to Oracle database through Stored  Procedure

    Hi,
    I am trying to push data to Oracle 9i database through Stored Procedure via thin driver. It is going smoothly upto 29411 bytes. But it is not accepting for 53843 bytes and giving following error :
    java.sql.SQLException: Data size bigger than max size for this type: 53843
    Is it thin driver limitation? Can I solve it by using OCI driver? Or is there any other approach?
    I tried creating connection pool in weblogic 7.0 through OCI driver. But I am not able to configure it. Is there any special way of configuration.
    Quick response will be greatly appreciated.
    Thanks
    Sanjiv

    It happens to me. But I am using CMP of Weblogic 7. If you write your own jdbc code, the following link may be helpful.
    http://otn.oracle.com/sample_code/tech/java/codesnippet/xmldb/HowToLoadLargeXML.html

  • Max date in each day

    Hi
    How can I to get the max Date in each day in data below , I must to do in unique query
    select to_date('1/6/2010 06:29:04','dd/mm/yyyy hh24:mi:ss') DATA  from dual union
    select to_date('1/6/2010 06:29:04','dd/mm/yyyy hh24:mi:ss') DATA  from dual union
    select to_date('1/6/2010 06:28:03','dd/mm/yyyy hh24:mi:ss') DATA  from dual union
    select to_date('1/6/2010 06:27:58','dd/mm/yyyy hh24:mi:ss') DATA  from dual union
    select to_date('1/6/2010 06:27:57','dd/mm/yyyy hh24:mi:ss') DATA  from dual union
    select to_date('1/6/2010 06:27:57','dd/mm/yyyy hh24:mi:ss') DATA  from dual union
    select to_date('1/6/2010 06:27:52','dd/mm/yyyy hh24:mi:ss') DATA  from dual union
    select to_date('1/6/2010 06:27:45','dd/mm/yyyy hh24:mi:ss') DATA  from dual union
    select to_date('1/6/2010 06:12:48','dd/mm/yyyy hh24:mi:ss') DATA  from dual union
    select to_date('1/6/2010 06:12:43','dd/mm/yyyy hh24:mi:ss')  DATA  from dual union                    
    select to_date('1/6/2010 06:12:43','dd/mm/yyyy hh24:mi:ss') DATA  from dual union
    select to_date('1/6/2010 06:12:42','dd/mm/yyyy hh24:mi:ss') DATA  from dual union
    select to_date('1/6/2010 06:12:41','dd/mm/yyyy hh24:mi:ss') DATA  from dual union
    select to_date('1/6/2010 06:12:41','dd/mm/yyyy hh24:mi:ss') DATA  from dual union
    select to_date('1/6/2010 06:09:53','dd/mm/yyyy hh24:mi:ss') DATA  from dual UNION    
    select to_date('31/05/2010 06:39:04','dd/mm/yyyy hh24:mi:ss') DATA  from dual union
    select to_date('31/05/2010 06:38:04','dd/mm/yyyy hh24:mi:ss') DATA  from dual union
    select to_date('31/05/2010 06:37:03','dd/mm/yyyy hh24:mi:ss') DATA  from dual union
    select to_date('31/05/2010 06:37:02','dd/mm/yyyy hh24:mi:ss') DATA  from dual union
    select to_date('31/05/2010 06:36:57','dd/mm/yyyy hh24:mi:ss') DATA  from dual union
    select to_date('31/05/2010 06:36:56','dd/mm/yyyy hh24:mi:ss') DATA  from dual union
    select to_date('31/05/2010 06:27:52','dd/mm/yyyy hh24:mi:ss') DATA  from dual union
    select to_date('31/05/2010 06:27:45','dd/mm/yyyy hh24:mi:ss') DATA  from dual union
    select to_date('31/05/2010 06:12:48','dd/mm/yyyy hh24:mi:ss') DATA  from dual union
    select to_date('31/05/2010 06:12:43','dd/mm/yyyy hh24:mi:ss')  DATA  from dual union
    select to_date('31/05/2010 06:12:43','dd/mm/yyyy hh24:mi:ss') DATA  from dual union
    select to_date('31/05/2010 06:12:42','dd/mm/yyyy hh24:mi:ss') DATA  from dual union
    select to_date('31/05/2010 06:12:41','dd/mm/yyyy hh24:mi:ss') DATA  from dual union
    select to_date('31/05/2010 06:12:41','dd/mm/yyyy hh24:mi:ss') DATA  from dual union
    select to_date('31/05/2010 06:09:53','dd/mm/yyyy hh24:mi:ss') DATA  from dual
    ORDER BY 1 DESCUsing Oracle 9.2.02
    TIA

    Also possible if you need all the days bettween your first and last day.
    with tab as (
        select to_date('1/6/2010 06:29:04','dd/mm/yyyy hh24:mi:ss') DATA  from dual union all
        select to_date('1/6/2010 06:29:04','dd/mm/yyyy hh24:mi:ss') DATA  from dual union all
        select to_date('1/6/2010 06:28:03','dd/mm/yyyy hh24:mi:ss') DATA  from dual union all
        select to_date('1/6/2010 06:27:58','dd/mm/yyyy hh24:mi:ss') DATA  from dual union all
        select to_date('1/6/2010 06:27:57','dd/mm/yyyy hh24:mi:ss') DATA  from dual union all
        select to_date('1/6/2010 06:27:57','dd/mm/yyyy hh24:mi:ss') DATA  from dual union all
        select to_date('1/6/2010 06:27:52','dd/mm/yyyy hh24:mi:ss') DATA  from dual union all
        select to_date('1/6/2010 06:27:45','dd/mm/yyyy hh24:mi:ss') DATA  from dual union all
        select to_date('1/6/2010 06:12:48','dd/mm/yyyy hh24:mi:ss') DATA  from dual union all
        select to_date('1/6/2010 06:12:43','dd/mm/yyyy hh24:mi:ss')  DATA  from dual union    all                 
        select to_date('1/6/2010 06:12:43','dd/mm/yyyy hh24:mi:ss') DATA  from dual union all
        select to_date('1/6/2010 06:12:42','dd/mm/yyyy hh24:mi:ss') DATA  from dual union all
        select to_date('1/6/2010 06:12:41','dd/mm/yyyy hh24:mi:ss') DATA  from dual union all
        select to_date('1/6/2010 06:12:41','dd/mm/yyyy hh24:mi:ss') DATA  from dual union all
        select to_date('1/6/2010 06:09:53','dd/mm/yyyy hh24:mi:ss') DATA  from dual UNION     all
        select to_date('31/05/2010 06:39:04','dd/mm/yyyy hh24:mi:ss') DATA  from dual union all
        select to_date('31/05/2010 06:38:04','dd/mm/yyyy hh24:mi:ss') DATA  from dual union all
        select to_date('31/05/2010 06:37:03','dd/mm/yyyy hh24:mi:ss') DATA  from dual union all
        select to_date('31/05/2010 06:37:02','dd/mm/yyyy hh24:mi:ss') DATA  from dual union all
        select to_date('31/05/2010 06:36:57','dd/mm/yyyy hh24:mi:ss') DATA  from dual union all
        select to_date('31/05/2010 06:36:56','dd/mm/yyyy hh24:mi:ss') DATA  from dual union all
        select to_date('31/05/2010 06:27:52','dd/mm/yyyy hh24:mi:ss') DATA  from dual union all
        select to_date('31/05/2010 06:27:45','dd/mm/yyyy hh24:mi:ss') DATA  from dual union all
        select to_date('31/05/2010 06:12:48','dd/mm/yyyy hh24:mi:ss') DATA  from dual union all
        select to_date('31/05/2010 06:12:43','dd/mm/yyyy hh24:mi:ss')  DATA  from dual union  all
        select to_date('31/05/2010 06:12:43','dd/mm/yyyy hh24:mi:ss') DATA  from dual union all
        select to_date('31/05/2010 06:12:42','dd/mm/yyyy hh24:mi:ss') DATA  from dual union all
        select to_date('31/05/2010 06:12:41','dd/mm/yyyy hh24:mi:ss') DATA  from dual union all
        select to_date('31/05/2010 06:12:41','dd/mm/yyyy hh24:mi:ss') DATA  from dual union all
        select to_date('31/05/2010 06:09:53','dd/mm/yyyy hh24:mi:ss') DATA  from dual union all
        select to_date('28/05/2010 02:09:53','dd/mm/yyyy hh24:mi:ss') DATA  from dual
      ,maxmin as (select trunc(min(data)) mindat, trunc(max(data)) maxdat, trunc(max(data))-trunc(min(data))+1 no_of_days from tab)
      ,days as (select rownum + (select mm2.mindat from maxmin mm2) - 1 dy
              from all_objects ao
              where rownum <= (select mm1.no_of_days from maxmin mm1))
    select d.dy, (select max(data) from tab where trunc(data) = d.dy) max_time
    from days d
    dy                max_time
    28.05.10 00:00:00     28.05.10 02:09:53
    29.05.10 00:00:00     
    30.05.10 00:00:00     
    31.05.10 00:00:00     31.05.10 06:39:04
    01.06.10 00:00:00     01.06.10 06:29:04

  • Loading FA data using ORACLE WEB ADI brings application down.

    Hi,
    Can anyone suggest on the below issue.
    Loading FA data using ORACLE WEB ADI brings application down.
    Regards
    Ketan.

    Application Release 12.0.6
    Database version 10.2.0.2
    The following error has occurred
    Exception Name: java.lang.NullPointerException
    Stack Trace: java.lang.NullPointerException at oracle.apps.fnd.common.WebAppsContext.doValidateSession(WebAppsContext.java:1425) at oracle.apps.fnd.common.WebAppsContext.validateSession(WebAppsContext.java:1775) at oracle.apps.bne.framework.BneOracleWebAppsContext.isValidateIcxSessionTicket(BneOracleWebAppsContext.java:2258) at oracle.apps.bne.framework.BneOracleWebAppsContext.setupContext(BneOracleWebAppsContext.java:1511) at oracle.apps.bne.framework.BneAbstractWebAppsContext.getContext(BneAbstractWebAppsContext.java:207) at oracle.apps.bne.framework.BneBaseBajaContext.getBneWebAppsContext(BneBaseBajaContext.java:191) at oracle.apps.bne.framework.BneBajaServlet.doRequest(BneBajaServlet.java:151) at oracle.apps.bne.framework.BneBaseServlet.doPost(BneBaseServlet.java:95) at javax.servlet.http.HttpServlet.service(HttpServlet.java:763) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64) at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15) at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:299) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595)
    Sometimes we are getting
    Fatal error FND_MESSAGE : max no of open file descriptors.
    In alert log file it is showing
    WARNING:Oracle instance running on a system with low open file descriptor
    limit. Tune your system to increase this limit to avoid
    severe performance degradation.
    Not able to understand exactly where the issue is.
    Regards

  • Query to fetch the max date

    Hi All,
    Taking the below data as sample,we have a requirement wherein we have to fetch the date based on the following criteria.
    Item     Cost     Transaction Date
    A     23     12-feb-2012 1:00 AM
    P     23     12-feb-2012 2:00 AM
    B     24     13-feb-2012
    C     43     14-feb-2012 3:00 AM
    M     43     14-feb-2012 8:00 AM
    D     12     16-feb-2012
    User will pass date as the parameter and if the table has Transaction Date same as the date parameter then that date is picked.
    Eg: if the parameter passed is 12-feb-2012, since it is present in table then 12-Feb-2012 2:00AM will be fetched. The table has 2 records, the onewith latest date is picked.
    Now if the table does not have Transaction Date same as the date parameter then the max date previous to that date passed as parameter should be picked.
    Eg: if the parameter passed is 15-feb-2012, since 15- FEB-2012 is not present in table, it should pick 14-FEB-2012 8:00 AM (latest date).
    I am not able to frame queries for the above criteria.
    If someone can help me with the same, it would be of great help.
    Regards,
    Shruti

    Hi, Shruti,
    this does waht you requested:
    SELECT     MAX (transaction_date)     AS max_transaction_date
    FROM     table_x
    WHERE     transaction_date < TO_DATE ( :given_date
                              , 'DD-Mon-YYYY'
                           ) + 1
    ;where :given_date is a string, such as '12-feb-2012'.
    Since the call to TO_DATE doesn't specify hours, minutes or seconds, they will befault to 00:00:00, so '12-feb-1012' would mean mignight at the beginning of February 12. We want it to mean anything later on the same day; that's why I added 1 to the date, and used < instead of <=.
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say which version of Oracle you're using.
    See the forum FAQ {message:id=9360002}

  • Find the correct max date and then  loop to find 3 consecutive unique no.'s

    Hi, this relates to a similar query I posted however this is my problem in its entirety. here is the link: Keep Dense_Rank problem
    This is what I need to do:
    1) Select the max date in a month per unique Receiver_ID. NOTE: there are special cases such as Due_Date = 01-March-2011 in the sample data. When this occurs, the date with the greatest acc_payment_no must be chosen.
    2) Each Receiver_ID has a corresponding payment_status and acc_payment_no. Payment_status is either 9 or 4.
    3) I have a variable called v_incident_date
    4) I am focused on the Due_Dates that are within 6 months of the v_incident_date ie where Due_Date Between  add_months(v_cla_event.Incident_date, - 6) and v_incident_date5) This is the tricky part. Once I have identified the Due_Dates I am interested in and their corresponding payment_status's, I want to search for THREE CONSECUTIVE payment_Status = 9 and if this is the case return 'Y' else 'N'.
    Here is the sample data:
    CREATE TABLE acc_payment_test_a (Receiver_ID varchar2(50), Due_Date Date, acc_paymnet_no varchar2(50), payment_status varchar2(50));
    CREATE TABLE acc_payment_test_a (Receiver_ID varchar2(50), Due_Date Date, acc_paymnet_no varchar2(50), payment_status varchar2(50));
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_paymnet_no, payment_status)  VALUES (151823,to_date('03-MAR-2008 00.00','DD-MON-YYYY HH24:MI'),1083,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_paymnet_no, payment_status)  VALUES (151823,to_date('05-MAR-2008 00.00','DD-MON-YYYY HH24:MI'),1084,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_paymnet_no, payment_status)  VALUES (151823,to_date('01-APR-2008 00.00','DD-MON-YYYY HH24:MI'),2762,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_paymnet_no, payment_status)  VALUES (151823,to_date('01-MAY-2008 00.00','DD-MON-YYYY HH24:MI'),8211,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_paymnet_no, payment_status)  VALUES (151823,to_date('02-JUN-2008 00.00','DD-MON-YYYY HH24:MI'),20144,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_paymnet_no, payment_status)  VALUES (151823,to_date('01-JUL-2008 00.00','DD-MON-YYYY HH24:MI'),36534,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_paymnet_no, payment_status)  VALUES (151823,to_date('01-AUG-2008 00.00','DD-MON-YYYY HH24:MI'),56661,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_paymnet_no, payment_status)  VALUES (151823,to_date('01-SEP-2008 00.00','DD-MON-YYYY HH24:MI'),78980,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_paymnet_no, payment_status)  VALUES (151823,to_date('01-OCT-2008 00.00','DD-MON-YYYY HH24:MI'),107595,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_paymnet_no, payment_status)  VALUES (151823,to_date('01-NOV-2008 00.00','DD-MON-YYYY HH24:MI'),192768,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_paymnet_no, payment_status)  VALUES (151823,to_date('01-DEC-2008 00.00','DD-MON-YYYY HH24:MI'),223835,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_paymnet_no, payment_status)  VALUES (151823,to_date('02-JAN-2009 00.00','DD-MON-YYYY HH24:MI'),281414,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_paymnet_no, payment_status)  VALUES (151823,to_date('02-FEB-2009 00.00','DD-MON-YYYY HH24:MI'),322990,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_paymnet_no, payment_status)  VALUES (151823,to_date('02-MAR-2009 00.00','DD-MON-YYYY HH24:MI'),364489,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_paymnet_no, payment_status)  VALUES (151823,to_date('01-APR-2009 00.00','DD-MON-YYYY HH24:MI'),417224,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_paymnet_no, payment_status)  VALUES (151823,to_date('02-MAY-2009 00.00','DD-MON-YYYY HH24:MI'),466501,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_paymnet_no, payment_status)  VALUES (151823,to_date('01-JUN-2009 00.00','DD-MON-YYYY HH24:MI'),523088,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_paymnet_no, payment_status)  VALUES (151823,to_date('01-JUL-2009 00.00','DD-MON-YYYY HH24:MI'),559526,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_paymnet_no, payment_status)  VALUES (151823,to_date('01-AUG-2009 00.00','DD-MON-YYYY HH24:MI'),619977,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_paymnet_no, payment_status)  VALUES (151823,to_date('01-SEP-2009 00.00','DD-MON-YYYY HH24:MI'),680457,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_paymnet_no, payment_status)  VALUES (151823,to_date('01-OCT-2009 00.00','DD-MON-YYYY HH24:MI'),731996,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_paymnet_no, payment_status)  VALUES (151823,to_date('02-NOV-2009 00.00','DD-MON-YYYY HH24:MI'),789924,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_paymnet_no, payment_status)  VALUES (151823,to_date('01-DEC-2009 00.00','DD-MON-YYYY HH24:MI'),850743,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_paymnet_no, payment_status)  VALUES (151823,to_date('01-JAN-2010 00.00','DD-MON-YYYY HH24:MI'),918113,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_paymnet_no, payment_status)  VALUES (151823,to_date('01-FEB-2010 00.00','DD-MON-YYYY HH24:MI'),982257,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_paymnet_no, payment_status)  VALUES (151823,to_date('01-MAR-2010 00.00','DD-MON-YYYY HH24:MI'),1029219,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_paymnet_no, payment_status)  VALUES (151823,to_date('01-APR-2010 00.00','DD-MON-YYYY HH24:MI'),1103165,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_paymnet_no, payment_status)  VALUES (151823,to_date('01-MAY-2010 00.00','DD-MON-YYYY HH24:MI'),1173876,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_paymnet_no, payment_status)  VALUES (151823,to_date('01-JUN-2010 00.00','DD-MON-YYYY HH24:MI'),1241791,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_paymnet_no, payment_status)  VALUES (151823,to_date('01-JUL-2010 00.00','DD-MON-YYYY HH24:MI'),1316343,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_paymnet_no, payment_status)  VALUES (151823,to_date('02-AUG-2010 00.00','DD-MON-YYYY HH24:MI'),1384261,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_paymnet_no, payment_status)  VALUES (151823,to_date('01-SEP-2010 00.00','DD-MON-YYYY HH24:MI'),1467071,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_paymnet_no, payment_status)  VALUES (151823,to_date('01-OCT-2010 00.00','DD-MON-YYYY HH24:MI'),1548259,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_paymnet_no, payment_status)  VALUES (151823,to_date('01-NOV-2010 00.00','DD-MON-YYYY HH24:MI'),1626770,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_paymnet_no, payment_status)  VALUES (151823,to_date('22-NOV-2010 00.00','DD-MON-YYYY HH24:MI'),1751476,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_paymnet_no, payment_status)  VALUES (151823,to_date('03-JAN-2011 00.00','DD-MON-YYYY HH24:MI'),1824718,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_paymnet_no, payment_status)  VALUES (151823,to_date('01-FEB-2011 00.00','DD-MON-YYYY HH24:MI'),1939968,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_paymnet_no, payment_status)  VALUES (151823,to_date('01-MAR-2011 00.00','DD-MON-YYYY HH24:MI'),2130326,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_paymnet_no, payment_status)  VALUES (151823,to_date('01-MAR-2011 00.00','DD-MON-YYYY HH24:MI'),2126550,9);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_paymnet_no, payment_status)  VALUES (151823,to_date('01-MAR-2011 00.00','DD-MON-YYYY HH24:MI'),2033664,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_paymnet_no, payment_status)  VALUES (151823,to_date('01-APR-2011 00.00','DD-MON-YYYY HH24:MI'),2151353,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_paymnet_no, payment_status)  VALUES (151823,to_date('03-MAY-2011 00.00','DD-MON-YYYY HH24:MI'),2251549,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_paymnet_no, payment_status)  VALUES (151823,to_date('01-JUN-2011 00.00','DD-MON-YYYY HH24:MI'),2384223,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_paymnet_no, payment_status)  VALUES (151823,to_date('01-JUL-2011 00.00','DD-MON-YYYY HH24:MI'),2504840,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_paymnet_no, payment_status)  VALUES (151823,to_date('01-AUG-2011 00.00','DD-MON-YYYY HH24:MI'),2615647,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_payment_no, payment_status)  VALUES (151823,to_date('01-SEP-2011 00.00','DD-MON-YYYY HH24:MI'),2756098,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_payment_no, payment_status)  VALUES (151823,to_date('05-SEP-2011 00.00','DD-MON-YYYY HH24:MI'),2789669,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_payment_no, payment_status)  VALUES (151823,to_date('01-OCT-2011 00.00','DD-MON-YYYY HH24:MI'),2944532,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_payment_no, payment_status)  VALUES (151823,to_date('01-NOV-2011 00.00','DD-MON-YYYY HH24:MI'),3056013,4);
    INSERT INTO acc_payment_test_a(Receiver_ID, Due_Date, acc_payment_no, payment_status)  VALUES (151824,to_date('01-DEC-2011 00.00','DD-MON-YYYY HH24:MI'),3230490,4);
    select * from acc_payment_test_aBanner:
    Oracle Database 11g Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    "CORE 11.2.0.2.0 Production"
    TNS for Linux: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    Edited by: 885178 on Jan 12, 2012 4:38 PM
    I added the acc_payment_no as time_stamp is not reliable

    Here is some sample data with the results I want. Note that I am creating a package and using the variables so v_cla_case_no and v_cla_event.Incident_date so there is no need to join onto the cla_case_table
    This is an example of the package and package body. Cla_case_no and name_id_no are from Cla_case and Incident_date is from cla_event.
    create or replace
    PACKAGE "FIND"
      IS
    v_cla_case                      cla_case%ROWTYPE;
    v_cla_event                     cla_event%ROWTYPE;
    v_score                          NUMBER(10);
    PROCEDURE Find_Factors(p_claim_case_no in number);
    END FIND;
    create or replace
    PACKAGE BODY "FIND" IS
    PROCEDURE Find_Factors(p_claim_case_no in number) IS
    BEGIN
      x_trace ('Find_Factors') ;
      x_trace ('Cla_Case') ;
        select      *
        into     v_cla_case
        from     cla_case
        where cla_case_no = p_claim_case_no;
      x_trace ('Cla_Event') ;
        select      *
        into     v_cla_event
        from    cla_event ce
        where ce.cla_event_no = v_cla_case.cla_event_no;
    --Here is an example of the code I use
    x_trace ('Score') ;
            Select score   
                  into v_score
                   from rbn_itc
                  where newest = 'Y'
                  and customer_no = v_cla_case.name_id_no;
    END Find_Factors;
    END FIND; 
    --DROP TABLE Cla_case
    CREATE TABLE Cla_case (Cla_case_no INT,Name_ID_no int, Incident_Date varchar2(50) );
    INSERT INTO Cla_case (Cla_case_no ,Name_ID_no , Incident_Date ) VALUES (2879,325309,'2008-06-28');
    INSERT INTO Cla_case (Cla_case_no ,Name_ID_no , Incident_Date ) VALUES (3706,227013,'2008-08-02');
    INSERT INTO Cla_case (Cla_case_no ,Name_ID_no , Incident_Date ) VALUES (3806,467693,'2008-08-11');
    INSERT INTO Cla_case (Cla_case_no ,Name_ID_no , Incident_Date ) VALUES (4346,221694,'2008-08-22');
    INSERT INTO Cla_case (Cla_case_no ,Name_ID_no , Incident_Date ) VALUES (4612,221694,'2008-08-29');
    INSERT INTO Cla_case (Cla_case_no ,Name_ID_no , Incident_Date ) VALUES (4870,422711,'2008-09-16');
    select * from Cla_case
    --DROP TABLE Acc_Payments
    CREATE TABLE Acc_Payments (Payment_Status INT,Receiver_ID int, Due_Date varchar2(50));
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,325309,'2008-04-29');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,325309,'2008-05-06');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,325309,'2008-06-02');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (4,325309,'2008-06-05');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,325309,'2008-07-01');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (4,325309,'2008-07-03');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (4,325309,'2008-07-28');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,227013,'2008-05-01');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,227013,'2008-06-02');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,227013,'2008-07-01');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (4,227013,'2008-07-26');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,227013,'2008-08-01');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,227013,'2008-08-26');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,227013,'2008-09-01');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,227013,'2008-09-26');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,227013,'2008-10-01');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,467693,'2008-06-07');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,467693,'2008-07-01');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,467693,'2008-07-26');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,467693,'2008-08-01');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (4,467693,'2008-08-26');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,467693,'2008-09-01');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,467693,'2008-09-26');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,467693,'2008-10-01');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,467693,'2008-10-27');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,467693,'2008-11-01');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,467693,'2008-12-01');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,467693,'2008-12-15');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,467693,'2009-01-15');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,467693,'2009-02-16');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (4,221694,'2008-05-01');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,221694,'2008-06-02');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,221694,'2008-07-01');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,221694,'2008-07-10');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,221694,'2008-08-01');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (4,221694,'2008-08-26');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,221694,'2008-09-01');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,221694,'2008-09-26');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,221694,'2008-10-01');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,221694,'2008-10-27');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,221694,'2008-11-01');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,221694,'2008-11-26');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,221694,'2008-12-01');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,221694,'2008-12-27');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,221694,'2009-01-02');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,221694,'2009-02-02');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,422711,'2008-06-05');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (4,422711,'2008-06-12');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,422711,'2008-07-07');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,422711,'2008-07-26');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,422711,'2008-08-11');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,422711,'2008-08-26');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,422711,'2008-09-09');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (4,422711,'2008-09-26');
    INSERT INTO Acc_Payments (Payment_Status ,Receiver_ID , Due_Date) VALUES (9,422711,'2008-10-09');
    Select * from Acc_Payments
    --Drop Table Result
    CREATE TABLE Result (Cla_case_no INT,Receiver_ID int, Name_ID_no int, Incident_Date varchar2(50), Desired_Missed varchar(25) );
    INSERT INTO Result (Cla_case_no ,Receiver_ID , Name_ID_no , Incident_Date, Desired_Missed ) VALUES (2879,325309,325309,'2008-06-28','N');
    INSERT INTO Result (Cla_case_no ,Receiver_ID , Name_ID_no , Incident_Date, Desired_Missed ) VALUES (3706,227013,227013,'2008-08-02','N');
    INSERT INTO Result (Cla_case_no ,Receiver_ID , Name_ID_no , Incident_Date, Desired_Missed ) VALUES (3806,467693,467693,'2008-08-11','Y');
    INSERT INTO Result (Cla_case_no ,Receiver_ID , Name_ID_no , Incident_Date, Desired_Missed ) VALUES (4346,221694,221694,'2008-08-22','Y');
    INSERT INTO Result (Cla_case_no ,Receiver_ID , Name_ID_no , Incident_Date, Desired_Missed ) VALUES (4612,221694,221694,'2008-08-29','N');
    INSERT INTO Result (Cla_case_no ,Receiver_ID , Name_ID_no , Incident_Date, Desired_Missed ) VALUES (4870,422711,422711,'2008-09-16','Y');
    Select * from Result

  • How to find the max data transfer rate(disk speed) supported by mobo?

    I plan on replacing my current HDD with a new and bigger HDD.
    For this I need to know the max data transfer rate(disk speed) that my mobo will support. However, dmidecode is not telling me that. Am I missing something?
    Here's dmidecode:
    # dmidecode 2.11
    SMBIOS 2.5 present.
    80 structures occupying 2858 bytes.
    Table at 0x000F0450.
    Handle 0xDA00, DMI type 218, 101 bytes
    OEM-specific Type
    Header and Data:
    DA 65 00 DA B2 00 17 4B 0E 38 00 00 80 00 80 01
    00 02 80 02 80 01 00 00 A0 00 A0 01 00 58 00 58
    00 01 00 59 00 59 00 01 00 75 01 75 01 01 00 76
    01 76 01 01 00 05 80 05 80 01 00 D1 01 19 00 01
    00 15 02 19 00 02 00 1B 00 19 00 03 00 19 00 19
    00 00 00 4A 02 4A 02 01 00 0C 80 0C 80 01 00 FF
    FF 00 00 00 00
    Handle 0xDA01, DMI type 218, 35 bytes
    OEM-specific Type
    Header and Data:
    DA 23 01 DA B2 00 17 4B 0E 38 00 10 F5 10 F5 00
    00 11 F5 11 F5 00 00 12 F5 12 F5 00 00 FF FF 00
    00 00 00
    Handle 0x0000, DMI type 0, 24 bytes
    BIOS Information
    Vendor: Dell Inc.
    Version: A17
    Release Date: 04/06/2010
    Address: 0xF0000
    Runtime Size: 64 kB
    ROM Size: 4096 kB
    Characteristics:
    PCI is supported
    PNP is supported
    APM is supported
    BIOS is upgradeable
    BIOS shadowing is allowed
    ESCD support is available
    Boot from CD is supported
    Selectable boot is supported
    EDD is supported
    Japanese floppy for Toshiba 1.2 MB is supported (int 13h)
    3.5"/720 kB floppy services are supported (int 13h)
    Print screen service is supported (int 5h)
    8042 keyboard services are supported (int 9h)
    Serial services are supported (int 14h)
    Printer services are supported (int 17h)
    ACPI is supported
    USB legacy is supported
    BIOS boot specification is supported
    Function key-initiated network boot is supported
    Targeted content distribution is supported
    BIOS Revision: 17.0
    Handle 0x0100, DMI type 1, 27 bytes
    System Information
    Manufacturer: Dell Inc.
    Product Name: OptiPlex 755
    Version: Not Specified
    UUID: 44454C4C-5900-1050-8033-C4C04F434731
    Wake-up Type: Power Switch
    SKU Number: Not Specified
    Family: Not Specified
    Handle 0x0200, DMI type 2, 8 bytes
    Base Board Information
    Manufacturer: Dell Inc.
    Product Name: 0PU052
    Version:
    Handle 0x0300, DMI type 3, 13 bytes
    Chassis Information
    Manufacturer: Dell Inc.
    Type: Space-saving
    Lock: Not Present
    Version: Not Specified
    Asset Tag:
    Boot-up State: Safe
    Power Supply State: Safe
    Thermal State: Safe
    Security Status: None
    Handle 0x0400, DMI type 4, 40 bytes
    Processor Information
    Socket Designation: CPU
    Type: Central Processor
    Family: Xeon
    Manufacturer: Intel
    ID: 76 06 01 00 FF FB EB BF
    Signature: Type 0, Family 6, Model 23, Stepping 6
    Flags:
    FPU (Floating-point unit on-chip)
    VME (Virtual mode extension)
    DE (Debugging extension)
    PSE (Page size extension)
    TSC (Time stamp counter)
    MSR (Model specific registers)
    PAE (Physical address extension)
    MCE (Machine check exception)
    CX8 (CMPXCHG8 instruction supported)
    APIC (On-chip APIC hardware supported)
    SEP (Fast system call)
    MTRR (Memory type range registers)
    PGE (Page global enable)
    MCA (Machine check architecture)
    CMOV (Conditional move instruction supported)
    PAT (Page attribute table)
    PSE-36 (36-bit page size extension)
    CLFSH (CLFLUSH instruction supported)
    DS (Debug store)
    ACPI (ACPI supported)
    MMX (MMX technology supported)
    FXSR (FXSAVE and FXSTOR instructions supported)
    SSE (Streaming SIMD extensions)
    SSE2 (Streaming SIMD extensions 2)
    SS (Self-snoop)
    HTT (Multi-threading)
    TM (Thermal monitor supported)
    PBE (Pending break enabled)
    Version: Not Specified
    Voltage: 0.0 V
    External Clock: 1333 MHz
    Max Speed: 5200 MHz
    Current Speed: 2666 MHz
    Status: Populated, Enabled
    Upgrade: Socket LGA775
    L1 Cache Handle: 0x0700
    L2 Cache Handle: 0x0701
    L3 Cache Handle: Not Provided
    Serial Number: Not Specified
    Asset Tag: Not Specified
    Part Number: Not Specified
    Core Count: 2
    Core Enabled: 2
    Thread Count: 2
    Characteristics:
    64-bit capable
    Handle 0x0700, DMI type 7, 19 bytes
    Cache Information
    Socket Designation: Not Specified
    Configuration: Enabled, Not Socketed, Level 1
    Operational Mode: Write Back
    Location: Internal
    Installed Size: 32 kB
    Maximum Size: 32 kB
    Supported SRAM Types:
    Other
    Installed SRAM Type: Other
    Speed: Unknown
    Error Correction Type: None
    System Type: Data
    Associativity: 8-way Set-associative
    Handle 0x0701, DMI type 7, 19 bytes
    Cache Information
    Socket Designation: Not Specified
    Configuration: Enabled, Not Socketed, Level 2
    Operational Mode: Varies With Memory Address
    Location: Internal
    Installed Size: 6144 kB
    Maximum Size: 6144 kB
    Supported SRAM Types:
    Other
    Installed SRAM Type: Other
    Speed: Unknown
    Error Correction Type: Single-bit ECC
    System Type: Unified
    Associativity: <OUT OF SPEC>
    Handle 0x0800, DMI type 8, 9 bytes
    Port Connector Information
    Internal Reference Designator: PARALLEL
    Internal Connector Type: None
    External Reference Designator: Not Specified
    External Connector Type: DB-25 female
    Port Type: Parallel Port PS/2
    Handle 0x0801, DMI type 8, 9 bytes
    Port Connector Information
    Internal Reference Designator: SERIAL1
    Internal Connector Type: None
    External Reference Designator: Not Specified
    External Connector Type: DB-9 male
    Port Type: Serial Port 16550A Compatible
    Handle 0x0802, DMI type 126, 9 bytes
    Inactive
    Handle 0x0803, DMI type 126, 9 bytes
    Inactive
    Handle 0x0804, DMI type 126, 9 bytes
    Inactive
    Handle 0x0805, DMI type 8, 9 bytes
    Port Connector Information
    Internal Reference Designator: USB1
    Internal Connector Type: None
    External Reference Designator: Not Specified
    External Connector Type: Access Bus (USB)
    Port Type: USB
    Handle 0x0806, DMI type 8, 9 bytes
    Port Connector Information
    Internal Reference Designator: USB2
    Internal Connector Type: None
    External Reference Designator: Not Specified
    External Connector Type: Access Bus (USB)
    Port Type: USB
    Handle 0x0807, DMI type 8, 9 bytes
    Port Connector Information
    Internal Reference Designator: USB3
    Internal Connector Type: None
    External Reference Designator: Not Specified
    External Connector Type: Access Bus (USB)
    Port Type: USB
    Handle 0x0808, DMI type 8, 9 bytes
    Port Connector Information
    Internal Reference Designator: USB4
    Internal Connector Type: None
    External Reference Designator: Not Specified
    External Connector Type: Access Bus (USB)
    Port Type: USB
    Handle 0x0809, DMI type 8, 9 bytes
    Port Connector Information
    Internal Reference Designator: USB5
    Internal Connector Type: None
    External Reference Designator: Not Specified
    External Connector Type: Access Bus (USB)
    Port Type: USB
    Handle 0x080A, DMI type 8, 9 bytes
    Port Connector Information
    Internal Reference Designator: USB6
    Internal Connector Type: None
    External Reference Designator: Not Specified
    External Connector Type: Access Bus (USB)
    Port Type: USB
    Handle 0x080B, DMI type 8, 9 bytes
    Port Connector Information
    Internal Reference Designator: USB7
    Internal Connector Type: None
    External Reference Designator: Not Specified
    External Connector Type: Access Bus (USB)
    Port Type: USB
    Handle 0x080C, DMI type 8, 9 bytes
    Port Connector Information
    Internal Reference Designator: USB8
    Internal Connector Type: None
    External Reference Designator: Not Specified
    External Connector Type: Access Bus (USB)
    Port Type: USB
    Handle 0x080D, DMI type 8, 9 bytes
    Port Connector Information
    Internal Reference Designator: ENET
    Internal Connector Type: None
    External Reference Designator: Not Specified
    External Connector Type: RJ-45
    Port Type: Network Port
    Handle 0x080E, DMI type 8, 9 bytes
    Port Connector Information
    Internal Reference Designator: MIC
    Internal Connector Type: None
    External Reference Designator: Not Specified
    External Connector Type: Mini Jack (headphones)
    Port Type: Audio Port
    Handle 0x080F, DMI type 8, 9 bytes
    Port Connector Information
    Internal Reference Designator: LINE-OUT
    Internal Connector Type: None
    External Reference Designator: Not Specified
    External Connector Type: Mini Jack (headphones)
    Port Type: Audio Port
    Handle 0x0810, DMI type 8, 9 bytes
    Port Connector Information
    Internal Reference Designator: LINE-IN
    Internal Connector Type: None
    External Reference Designator: Not Specified
    External Connector Type: Mini Jack (headphones)
    Port Type: Audio Port
    Handle 0x0811, DMI type 8, 9 bytes
    Port Connector Information
    Internal Reference Designator: HP-OUT
    Internal Connector Type: None
    External Reference Designator: Not Specified
    External Connector Type: Mini Jack (headphones)
    Port Type: Audio Port
    Handle 0x0812, DMI type 8, 9 bytes
    Port Connector Information
    Internal Reference Designator: MONITOR
    Internal Connector Type: None
    External Reference Designator: Not Specified
    External Connector Type: DB-15 female
    Port Type: Video Port
    Handle 0x090A, DMI type 9, 13 bytes
    System Slot Information
    Designation: SLOT1
    Type: x1 Proprietary
    Current Usage: In Use
    Length: Long
    Characteristics:
    PME signal is supported
    Handle 0x0901, DMI type 126, 13 bytes
    Inactive
    Handle 0x0902, DMI type 9, 13 bytes
    System Slot Information
    Designation: SLOT2
    Type: 32-bit PCI
    Current Usage: Available
    Length: Long
    ID: 2
    Characteristics:
    5.0 V is provided
    3.3 V is provided
    PME signal is supported
    Handle 0x0903, DMI type 126, 13 bytes
    Inactive
    Handle 0x0904, DMI type 126, 13 bytes
    Inactive
    Handle 0x0905, DMI type 126, 13 bytes
    Inactive
    Handle 0x0906, DMI type 126, 13 bytes
    Inactive
    Handle 0x0907, DMI type 126, 13 bytes
    Inactive
    Handle 0x0908, DMI type 126, 13 bytes
    Inactive
    Handle 0x0A00, DMI type 10, 6 bytes
    On Board Device Information
    Type: Video
    Status: Disabled
    Description: Intel Graphics Media Accelerator 950
    Handle 0x0A02, DMI type 10, 6 bytes
    On Board Device Information
    Type: Ethernet
    Status: Enabled
    Description: Intel Gigabit Ethernet Controller
    Handle 0x0A03, DMI type 10, 6 bytes
    On Board Device Information
    Type: Sound
    Status: Enabled
    Description: Intel(R) High Definition Audio Controller
    Handle 0x0B00, DMI type 11, 5 bytes
    OEM Strings
    String 1: www.dell.com
    Handle 0x0D00, DMI type 13, 22 bytes
    BIOS Language Information
    Language Description Format: Long
    Installable Languages: 1
    en|US|iso8859-1
    Currently Installed Language: en|US|iso8859-1
    Handle 0x0F00, DMI type 15, 29 bytes
    System Event Log
    Area Length: 2049 bytes
    Header Start Offset: 0x0000
    Header Length: 16 bytes
    Data Start Offset: 0x0010
    Access Method: Memory-mapped physical 32-bit address
    Access Address: 0xFFF01000
    Status: Valid, Not Full
    Change Token: 0x00000018
    Header Format: Type 1
    Supported Log Type Descriptors: 3
    Descriptor 1: POST error
    Data Format 1: POST results bitmap
    Descriptor 2: System limit exceeded
    Data Format 2: System management
    Descriptor 3: Log area reset/cleared
    Data Format 3: None
    Handle 0x1000, DMI type 16, 15 bytes
    Physical Memory Array
    Location: System Board Or Motherboard
    Use: System Memory
    Error Correction Type: None
    Maximum Capacity: 8 GB
    Error Information Handle: Not Provided
    Number Of Devices: 4
    Handle 0x1100, DMI type 17, 27 bytes
    Memory Device
    Array Handle: 0x1000
    Error Information Handle: Not Provided
    Total Width: 64 bits
    Data Width: 64 bits
    Size: 1024 MB
    Form Factor: DIMM
    Set: None
    Locator: DIMM_1
    Bank Locator: Not Specified
    Type: DDR2
    Type Detail: Synchronous
    Speed: 667 MHz
    Manufacturer: AD00000000000000
    Handle 0x1101, DMI type 17, 27 bytes
    Memory Device
    Array Handle: 0x1000
    Error Information Handle: Not Provided
    Total Width: 64 bits
    Data Width: 64 bits
    Size: 1024 MB
    Form Factor: DIMM
    Set: None
    Locator: DIMM_3
    Bank Locator: Not Specified
    Type: DDR2
    Type Detail: Synchronous
    Speed: 667 MHz
    Handle 0x1102, DMI type 17, 27 bytes
    Memory Device
    Array Handle: 0x1000
    Error Information Handle: Not Provided
    Total Width: 64 bits
    Data Width: 64 bits
    Size: 1024 MB
    Form Factor: DIMM
    Set: None
    Locator: DIMM_2
    Bank Locator: Not Specified
    Type: DDR2
    Type Detail: Synchronous
    Speed: 667 MHz
    Handle 0x1103, DMI type 17, 27 bytes
    Memory Device
    Array Handle: 0x1000
    Error Information Handle: Not Provided
    Total Width: 64 bits
    Data Width: 64 bits
    Size: 1024 MB
    Form Factor: DIMM
    Set: None
    Locator: DIMM_4
    Bank Locator: Not Specified
    Type: DDR2
    Type Detail: Synchronous
    Speed: 667 MHz
    Handle 0x1300, DMI type 19, 15 bytes
    Memory Array Mapped Address
    Starting Address: 0x00000000000
    Ending Address: 0x000FDFFFFFF
    Range Size: 4064 MB
    Physical Array Handle: 0x1000
    Partition Width: 1
    Handle 0x1400, DMI type 20, 19 bytes
    Memory Device Mapped Address
    Starting Address: 0x00000000000
    Ending Address: 0x0007FFFFFFF
    Range Size: 2 GB
    Physical Device Handle: 0x1100
    Memory Array Mapped Address Handle: 0x1300
    Partition Row Position: 1
    Interleave Position: 1
    Interleaved Data Depth: 1
    Handle 0x1401, DMI type 20, 19 bytes
    Memory Device Mapped Address
    Starting Address: 0x00080000000
    Ending Address: 0x000FDFFFFFF
    Range Size: 2016 MB
    Physical Device Handle: 0x1101
    Memory Array Mapped Address Handle: 0x1300
    Partition Row Position: 1
    Interleave Position: 1
    Interleaved Data Depth: 1
    Handle 0x1402, DMI type 20, 19 bytes
    Memory Device Mapped Address
    Starting Address: 0x00000000000
    Ending Address: 0x0007FFFFFFF
    Range Size: 2 GB
    Physical Device Handle: 0x1102
    Memory Array Mapped Address Handle: 0x1300
    Partition Row Position: 1
    Interleave Position: 2
    Interleaved Data Depth: 1
    Handle 0x1403, DMI type 20, 19 bytes
    Memory Device Mapped Address
    Starting Address: 0x00080000000
    Ending Address: 0x000FDFFFFFF
    Range Size: 2016 MB
    Physical Device Handle: 0x1103
    Memory Array Mapped Address Handle: 0x1300
    Partition Row Position: 1
    Interleave Position: 2
    Interleaved Data Depth: 1
    Handle 0x1410, DMI type 126, 19 bytes
    Inactive
    Handle 0x1800, DMI type 24, 5 bytes
    Hardware Security
    Power-On Password Status: Enabled
    Keyboard Password Status: Not Implemented
    Administrator Password Status: Enabled
    Front Panel Reset Status: Not Implemented
    Handle 0x1900, DMI type 25, 9 bytes
    System Power Controls
    Next Scheduled Power-on: *-* 00:00:00
    Handle 0x1B10, DMI type 27, 12 bytes
    Cooling Device
    Type: Fan
    Status: OK
    OEM-specific Information: 0x0000DD00
    Handle 0x1B11, DMI type 27, 12 bytes
    Cooling Device
    Type: Fan
    Status: OK
    OEM-specific Information: 0x0000DD01
    Handle 0x1B12, DMI type 126, 12 bytes
    Inactive
    Handle 0x1B13, DMI type 126, 12 bytes
    Inactive
    Handle 0x1B14, DMI type 126, 12 bytes
    Inactive
    Handle 0x2000, DMI type 32, 11 bytes
    System Boot Information
    Status: No errors detected
    Handle 0x8100, DMI type 129, 8 bytes
    OEM-specific Type
    Header and Data:
    81 08 00 81 01 01 02 01
    Strings:
    Intel_ASF
    Intel_ASF_001
    Handle 0x8200, DMI type 130, 20 bytes
    OEM-specific Type
    Header and Data:
    82 14 00 82 24 41 4D 54 01 01 00 00 01 A5 0B 02
    00 00 00 00
    Handle 0x8300, DMI type 131, 64 bytes
    OEM-specific Type
    Header and Data:
    83 40 00 83 14 00 00 00 00 00 C0 29 05 00 00 00
    F8 00 4E 24 00 00 00 00 0D 00 00 00 02 00 03 00
    19 04 14 00 01 00 01 02 C8 00 BD 10 00 00 00 00
    00 00 00 00 FF 00 00 00 00 00 00 00 00 00 00 00
    Handle 0x8800, DMI type 136, 6 bytes
    OEM-specific Type
    Header and Data:
    88 06 00 88 5A 5A
    Handle 0xD000, DMI type 208, 10 bytes
    OEM-specific Type
    Header and Data:
    D0 0A 00 D0 01 03 FE 00 11 02
    Handle 0xD100, DMI type 209, 12 bytes
    OEM-specific Type
    Header and Data:
    D1 0C 00 D1 78 03 07 03 04 0F 80 05
    Handle 0xD200, DMI type 210, 12 bytes
    OEM-specific Type
    Header and Data:
    D2 0C 00 D2 F8 03 04 03 06 80 04 05
    Handle 0xD201, DMI type 126, 12 bytes
    Inactive
    Handle 0xD400, DMI type 212, 242 bytes
    OEM-specific Type
    Header and Data:
    D4 F2 00 D4 70 00 71 00 00 10 2D 2E 42 00 11 FE
    01 43 00 11 FE 00 0F 00 25 FC 00 10 00 25 FC 01
    11 00 25 FC 02 12 00 25 FC 03 00 00 25 F3 00 00
    00 25 F3 04 00 00 25 F3 08 00 00 25 F3 0C 07 00
    23 8F 00 08 00 23 F3 00 09 00 23 F3 04 0A 00 23
    F3 08 0B 00 23 8F 10 0C 00 23 8F 20 0E 00 23 8F
    30 0D 00 23 8C 40 A6 00 23 8C 41 A7 00 23 8C 42
    05 01 22 FD 02 06 01 22 FD 00 8C 00 22 FE 00 8D
    00 22 FE 01 9B 00 25 3F 40 9C 00 25 3F 00 09 01
    25 3F 80 A1 00 26 F3 00 A2 00 26 F3 08 A3 00 26
    F3 04 9F 00 26 FD 02 A0 00 26 FD 00 9D 00 11 FB
    04 9E 00 11 FB 00 54 01 23 7F 00 55 01 23 7F 80
    5C 00 78 BF 40 5D 00 78 BF 00 04 80 78 F5 0A 01
    A0 78 F5 00 93 00 7B 7F 80 94 00 7B 7F 00 8A 00
    37 DF 20 8B 00 37 DF 00 03 C0 67 00 05 FF FF 00
    00 00
    Handle 0xD401, DMI type 212, 172 bytes
    OEM-specific Type
    Header and Data:
    D4 AC 01 D4 70 00 71 00 03 40 59 6D 2D 00 59 FC
    02 2E 00 59 FC 00 6E 00 59 FC 01 E0 01 59 FC 03
    28 00 59 3F 00 29 00 59 3F 40 2A 00 59 3F 80 2B
    00 5A 00 00 2C 00 5B 00 00 55 00 59 F3 00 6D 00
    59 F3 04 8E 00 59 F3 08 8F 00 59 F3 00 00 00 55
    FB 04 00 00 55 FB 00 23 00 55 7F 00 22 00 55 7F
    80 F5 00 58 BF 40 F6 00 58 BF 00 EB 00 55 FE 00
    EA 00 55 FE 01 40 01 54 EF 00 41 01 54 EF 10 ED
    00 54 F7 00 F0 00 54 F7 08 4A 01 53 DF 00 4B 01
    53 DF 20 4C 01 53 7F 00 4D 01 53 7F 80 68 01 56
    BF 00 69 01 56 BF 40 FF FF 00 00 00
    Handle 0xD402, DMI type 212, 152 bytes
    OEM-specific Type
    Header and Data:
    D4 98 02 D4 70 00 71 00 00 10 2D 2E 2D 01 21 FE
    01 2E 01 21 FE 00 97 00 22 FB 00 98 00 22 FB 04
    90 00 11 CF 00 91 00 11 CF 20 92 00 11 CF 10 E2
    00 27 7F 00 E3 00 27 7F 80 E4 00 27 BF 00 E5 00
    27 BF 40 D1 00 22 7F 80 D2 00 22 7F 00 45 01 22
    BF 40 44 01 22 BF 00 36 01 21 F1 06 37 01 21 F1
    02 38 01 21 F1 00 39 01 21 F1 04 2B 01 11 7F 80
    2C 01 11 7F 00 4E 01 65 CF 00 4F 01 65 CF 10 D4
    01 65 F3 00 D5 01 65 F3 04 D2 01 65 FC 00 D3 01
    65 FC 01 FF FF 00 00 00
    Handle 0xD403, DMI type 212, 157 bytes
    OEM-specific Type
    Header and Data:
    D4 9D 03 D4 70 00 71 00 03 40 59 6D 17 01 52 FE
    00 18 01 52 FE 01 19 01 52 FB 00 1A 01 52 FB 04
    1B 01 52 FD 00 1C 01 52 FD 02 1D 01 52 F7 00 1E
    01 52 F7 08 1F 01 52 EF 00 20 01 52 EF 10 21 01
    52 BF 00 22 01 52 BF 40 87 00 59 DF 20 88 00 59
    DF 00 E8 01 66 FD 00 E9 01 66 FD 02 02 02 53 BF
    00 03 02 53 BF 40 04 02 53 EF 00 05 02 53 EF 10
    06 02 66 DF 00 07 02 66 DF 20 08 02 66 EF 00 09
    02 66 EF 10 17 02 66 F7 00 18 02 66 F7 08 44 02
    52 BF 40 45 02 52 BF 00 FF FF 00 00 00
    Handle 0xD800, DMI type 126, 9 bytes
    Inactive
    Handle 0xDD00, DMI type 221, 19 bytes
    OEM-specific Type
    Header and Data:
    DD 13 00 DD 00 01 00 00 00 10 F5 00 00 00 00 00
    00 00 00
    Handle 0xDD01, DMI type 221, 19 bytes
    OEM-specific Type
    Header and Data:
    DD 13 01 DD 00 01 00 00 00 11 F5 00 00 00 00 00
    00 00 00
    Handle 0xDD02, DMI type 221, 19 bytes
    OEM-specific Type
    Header and Data:
    DD 13 02 DD 00 01 00 00 00 12 F5 00 00 00 00 00
    00 00 00
    Handle 0xDE00, DMI type 222, 16 bytes
    OEM-specific Type
    Header and Data:
    DE 10 00 DE C1 0B 00 00 10 05 19 21 01 00 00 01
    Handle 0x7F00, DMI type 127, 4 bytes
    End Of Table
    Hdparm also does not tell me the max data transfer rate (disk speed) of my current drive although this link : www.wdc.com/en/library/sata/2879-001146.pdf  says that it is 3.0Gb/s
    and here's hdparm -I /dev/sda
    /dev/sda:
    ATA device, with non-removable media
    Model Number: WDC WD800JD-75JNC0
    Firmware Revision: 06.01C06
    Standards:
    Supported: 6 5 4
    Likely used: 8
    Configuration:
    Logical max current
    cylinders 16383 16383
    heads 16 16
    sectors/track 63 63
    CHS current addressable sectors: 16514064
    LBA user addressable sectors: 156250000
    Logical/Physical Sector size: 512 bytes
    device size with M = 1024*1024: 76293 MBytes
    device size with M = 1000*1000: 80000 MBytes (80 GB)
    cache/buffer size = 8192 KBytes
    Capabilities:
    LBA, IORDY(can be disabled)
    Standby timer values: spec'd by Standard, with device specific minimum
    R/W multiple sector transfer: Max = 16 Current = 8
    Recommended acoustic management value: 128, current value: 254
    DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5
    Cycle time: min=120ns recommended=120ns
    PIO: pio0 pio1 pio2 pio3 pio4
    Cycle time: no flow control=120ns IORDY flow control=120ns
    Commands/features:
    Enabled Supported:
    * SMART feature set
    Security Mode feature set
    * Power Management feature set
    * Write cache
    * Look-ahead
    * Host Protected Area feature set
    * WRITE_BUFFER command
    * READ_BUFFER command
    * DOWNLOAD_MICROCODE
    SET_MAX security extension
    Automatic Acoustic Management feature set
    * Device Configuration Overlay feature set
    * Mandatory FLUSH_CACHE
    * SMART error logging
    * SMART self-test
    * Gen1 signaling speed (1.5Gb/s)
    * Host-initiated interface power management
    * SMART Command Transport (SCT) feature set
    * SCT Long Sector Access (AC1)
    * SCT LBA Segment Access (AC2)
    * SCT Error Recovery Control (AC3)
    * SCT Features Control (AC4)
    * SCT Data Tables (AC5)
    Security:
    Master password revision code = 65534
    supported
    not enabled
    not locked
    frozen
    not expired: security count
    not supported: enhanced erase
    Checksum: correct
    Last edited by Inxsible (2011-03-27 04:40:49)

    I just checked my BIOS and my current setting is set at IDE although it also mentions that the default should be AHCI. Currently I have a dual boot of Windows 7 (need it for Tax software) and Arch
    So I guess, when I get the new HDD, I will first set it to AHCI and then install the OSes on it. See if NCQ helps any, and if not I will turn it back and re-install (if I have to). I am planning to have Windows only in virtualbox in the new drive.
    Anyhoo, while I was in the BIOS I found two things which I had questions about :
    1) Under Onboard Devices --> Integrated NIC , my setting is currently set at "On w/PXE" and it says the default should be just "On". Would it be ok to change it back to On since its a single machine and its not booting an OS on any server. I just don't want to have to re-install anything now since I will be doing that in the new HDD.
    2) How would I know whether my BIOS would support a 64 bit OS in Virtualbox? I checked some setting under Virtualization, but they weren't very clear.
    I will edit this post and let you know exactly what settings were present under the Virtualization sub-section.

  • Unable to show Unicode Data in Oracle RESTful Service JSON

    Hi Everyone.
    I have stored unicode data in Oracle database and when i retrieve in sql query it is showing the same. But when i retrieve the data in json using oracle RESTful web service (GET), it bringing with unknown character as shown below.
    next: {},$ref: "http://000.00.00.00:8085/ords/mobile/sch/loginm/?user=SURESH&pwd=123&page=1"
    items: [
    uri: {},$ref: "http://000.00.00.00:8085/ords/mobile/sch/loginm/41"
    stud_id: 41,
    stud_code: "1001",
    stud_name: "அபà¯&#141;தà¯&#129;லà¯&#141; ஜபà¯&#141;பாரà¯&#141;"
    My Database Setup as below:
    SQL> SELECT name,value$ FROM sys.props$;
    NAME                                                          VALUE$
    DICT.BASE                                                  2
    DEFAULT_TEMP_TABLESPACE               TEMP
    DEFAULT_PERMANENT_TABLESPACE     USERS
    DEFAULT_EDITION                                   ORA$BASE
    Flashback Timestamp TimeZone                    GMT
    TDE_MASTER_KEY_ID
    DBTIMEZONE                                        -07:00
    DST_UPGRADE_STATE                         NONE
    DST_PRIMARY_TT_VERSION               11
    DST_SECONDARY_TT_VERSION          0
    DEFAULT_TBS_TYPE                              SMALLFILE
    NLS_LANGUAGE                              AMERICAN
    NLS_TERRITORY                                   AMERICA
    NLS_CURRENCY                                   $
    NLS_ISO_CURRENCY                         AMERICA
    NLS_NUMERIC_CHARACTERS               .,
    NLS_CHARACTERSET                         AL32UTF8
    NLS_CALENDAR                                   GREGORIAN
    NLS_DATE_FORMAT                              DD-MON-RR
    NLS_DATE_LANGUAGE                         AMERICAN
    NLS_SORT                                        BINARY
    NLS_TIME_FORMAT                         HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT               DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT               HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT          DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY                    $
    NLS_COMP                                   BINARY
    NLS_LENGTH_SEMANTICS          BYTE
    NLS_NCHAR_CONV_EXCP          FALSE
    NLS_NCHAR_CHARACTERSET          AL16UTF16
    NLS_RDBMS_VERSION               11.2.0.1.0
    GLOBAL_DB_NAME                    MOBILE
    EXPORT_VIEWS_VERSION   
    SQL> select DECODE(parameter, 'NLS_CHARACTERSET', 'CHARACTER SET',
      2  'NLS_LANGUAGE', 'LANGUAGE',
      3  'NLS_TERRITORY', 'TERRITORY') name,
      4  value from v$nls_parameters
      5  WHERE parameter IN ( 'NLS_CHARACTERSET', 'NLS_LANGUAGE', 'NLS_TERRITORY');
    NAME          VALUE
    LANGUAGE      AMERICAN
    TERRITORY     AMERICA
    CHARACTER SET AL32UTF8
              8
    WORKLOAD_CAPTURE_MODE    
    WORKLOAD_REPLAY_MODE
    Awaiting you solution.
    -- Abdul Jabbar

    Kumar,
    Ftping the PG.xml to mds folder will not help the page to goto MDS directory
    You have to import the file using xmlimporter
    I understand you have done the import, but it is not success.
    Could you please post what is the script you used to import the PG.xml
    and once you run what was the output you have got.
    May be you can refer the URL for the scripts
    http://apps2fusion.com/at/61-kv/331-oa-framework-scripts
    With regards,
    Kali.
    OSSI.

  • Loading MS Access Table and Data into Oracle

    Hi,
    I have few tables in MS Access. I want to create same layout of tables in Oracle and want to populate data from MS Access tables to Oracle tables.
    Please let me know if there is a way by which I can create tables and load data automatically (thru some option or script)?
    I have Oracle 10g database and its clients.
    Thanks in advance,
    Rajeev.

    You can use Oracle migration workbench
    Loading MS Access Table and Data into Oracle
    It´s very easy to use and good to import
    regards,
    Felipe

  • Get date from Oracle when local time zone is different from Oracle time zon

    Hi!
    Local machine time zone= +2
    Oracle time zone= +1
    I set date to Oracle using java.sql.Date.
    From application I save date at 00:30 clock and send e.g. 28.06.2002, but in Oracle date is save as 27.06.2002 01:00 (hour=01 , I suppose that is because java.sql.Date hasn't time the Oracle set it time = time zone=+1) And when I get date from Oracle I get incorrect date. In SQL I don't use date masks. Maybe solution is to use java.sql.Timestamp object (when save date to Oracle) instead of java.sql.Date?
    But if I save date at e.g. 01:00 clock and send e.g. 28:06.2002 in Oracle, date is save as 28.06.2002 01:00 and when I read from Oracle I get correct date.
    Thank you.

    Hi!
    Local machine time zone= +2
    Oracle time zone= +1
    I set date to Oracle using java.sql.Date.
    From application I save date at 00:30 clock and send
    e.g. 28.06.2002, but in Oracle date is save as
    27.06.2002 01:00 (hour=01 , I suppose that is because
    java.sql.Date hasn't time the Oracle set it time =
    time zone=+1) Presumably you are using setTimestamp() to store the value. If you are explicitly using a varchar (string) then you will have to correct the timezone your self.
    And when I get date from Oracle I get
    incorrect date. In SQL I don't use date masks. Maybe
    solution is to use java.sql.Timestamp object (when
    save date to Oracle) instead of java.sql.Date?The method setDate/getDate store a 'date' which is not the same as a 'date and time' for which setTimestamp/getTimestamp are used.
    But if I save date at e.g. 01:00 clock and send e.g.
    28:06.2002 in Oracle, date is save as 28.06.2002
    01:00 and when I read from Oracle I get correct date.
    Thank you.

  • Extracting data from Oracle to a flat file

    I'm looking for options to extract data a table or view at a time to a text file. Short of writing the SQL to do it, are there any other ideas? I'm dealing with large volumes of data, and would like a bulk copy routine.
    Thanks in advance for your help.

    Is there any script which i can use for pulling data from tables to a flat file and then import that data to other DB'sFlat file is adequate only from VARCHAR2, NUMBER, & DATA datatypes.
    Other datatypes present a challenge within text file.
    A more robust solution is to use export/import to move data between Oracle DBs.

  • Max Data Rate: AGP 2x?!

    Bought myself a new MSI-KT6 Delta a few weeks ago (MSI-6590), and have had no problems until now.
    First up, my GeForce 4 Ti 4600 decided to suddenly die. Random characters on the screen in text mode, flickery colours and corrupt pixels everywhere. Windows wouldn't detect it properly anymore.
    Bought a new Powercolor Radeon 9600 XT with VIVO today. Downloaded the new drivers, and loaded up some Battlefield, all good. Runs nice and smooth. COD, Quake 3, etc, no problems at all.
    Halo, however... BAD. Even with the basic graphics settings and no Pixel-Shading, it runs at 4 frames a second, and nothing I do changes this, from lowest to highest with Pixel-Shaders 2.0. Although there's a visual difference, it's just as slow.
    So I loaded up ATI control Panel and used SmartGart to enable 8x and Fast-Writes... Rebooted, lots of flickering screen, and Windows XP is now software-rendering everything (Transparent menus take 100% CPU to fade in)
    Wait for SmartGart to fix my graphics again, and it's all back to 4x and no fast-write.
    Loaded up SiSoft Sandra, to check the settings in there...
    Mainboard: "Max Data Rate: AGP 2x"
    AGP Card: "Data Transfer Modes Support: 1x, 2x"
    "AGP Bus is unused or AGP card not fully AGP compatible"
    Er... should this be right? BIOS wont let me select an AGP speed, it's "Auto" and I can't select it. I'm a little concerned that my Motherboard may have been damaged! I'll go get the latest Halo Patch, but it doesn't change the fact that I can't use 8x or Fast-Write.
    I'm a little apprehensive about flashing my BIOS, made more difficult by the fact that I have no working floppy drive.
    CPU: AMD 2600+
    RAM: 2x512mb DDR 333MHz Kingston
    AlphaGremlin

    Well, I updated the VIA drivers, and an updated Sandra. AGP is running at 8x, and Fast-Writes are enabled! I don't know what the hell SmartGart was going on about, but it appears to slunk away and disappeared completely from the ATI control panel since the last reinstall of drivers.
    So there's one problem solved... but I don't know what's up with Halo... I can set it to the lowest settings and it still runs like an elephant with three legs, even with the -useff option for Fixed Function shaders... ah well, that's a matter for another forum, eh?
    Interesting note: Sandra reports my 120gb drive as 605gb... should I be trusting it?
    AlphaGremlin

  • How to extract data from oracle database directly in to bi7.0 (net weaver)

    how to extract data from oracle database directly in to bi7.0 (net weaver)? is it something do with EDI? can anybody explain me in detail?
    Thanks
    York

    You can use UDConnect to get from Oracle database in to BW
    <b>Data Transfer with UD Connect -</b>
    http://help.sap.com/saphelp_nw04/helpdata/en/78/ef1441a509064abee6ffd6f38278fd/content.htm
    <b>Prerequisites</b>
    You have installed the SAP WAS J2EE Engine with BI Java components.  You can find more information on this in the SAP BW installation guide on the SAP Service Marketplace at service.sap.com/instguides.
    Hope it Helps
    Chetan
    @CP..

Maybe you are looking for

  • How to get an ArrayList Object in servlet from JSP?

    How to get an ArrayList Object in servlet from JSP? hi all please give the solution for this without using session and application... In test1.jsp file i am setting values for my setter methods using <jsp:usebean> <jsp:setproperty> tags as shown belo

  • To set a value in matrix cell which is linked

    In sales order if I enter  form no of TAX TAB as "form c" , each cell of the TAX Code column of the matrix of contents tab should be set the value as "CST". I have tried to set the value, but it is showing "Form item not editable". I have tried to ma

  • Creating a new database vs. Using the existing database

    Hi, I have to build a new desktop application over an existing oracle database - Current database is around 300 gb Has 1500+ tables Tables are in denormalized form and has ungrouped table columns High level of nesting is done in the triggers. Now bef

  • Some very basic questions about calling a DLL in C[VI] code.

    Hello everyone! I'm sorry if this a really simple concept. I've come from a background of embedded systems, so DLLs are something I haven't really played around with much. Regardless. I'm developing an application in CVI for a project, and I generate

  • ES bundle scenario for Order to cash

    Hi Experts, I have to perform a scenario of ES bundles for Order to cash in PI. Please provide me the pre-requisites to perform this scenario. Also an approach to perform this scenario (Links to weblogs or articles if any are highly appreciated) Rega