How to check whether there are any statistics in a schema or not?

Hi,
I was given a task of refreshing sa schema in CRM2 instance from CRM1.
But I did it with statistics=none.
++++
exp sa/sa@CRM1 OWNER=SA file=CRM1_SA.dmp log=CRM1_SA.log statistics=none buffer=4096000
imp sa/sa@CRM2 FULL=Y file=CRM2 SA.dmp log=CRM2 SA_IMP.log statistics=none buffer=4096000
++++
Now I want to know
1.whether I should have done with statistics?
2.How to compare the statistics of 2 sa schemas in the CRM1 & CRM2 instances?
Cheers,
Kunwar

Now I want to know
1.whether I should have done with statistics?Statistics gathering can be done after the import is finished and is recommended.
2.How to compare the statistics of 2 sa schemas in the CRM1 & CRM2 instances?Not sure why you would want to do this.

Similar Messages

  • Check whether there is any Special Characters in a String ?

    Hi All,
    I am having a very large String. I like to know how to check whether there is any special characters present in a string
    Thanks,
    J.Kathir

    I am having a very large String. I like to
    I like to know how to check whether there is any
    special characters present in a stringAll characters are special in a way. You shouldn't just single a few out because they don't look "normal" to you. Maybe they have golden hearts?

  • To check whether there is any format mismatch

    Hi,
    I have got a table 'T' (Source table) with columns
    T_Lat Varchar2(50);
    T_Amt Varchar2(50);
    T_Cat Varchar2(50);
    Actually, Here I have taken all the columns from table 'T' having numeric data.
    Now I have another table 'M'(Destination Table) with columns
    M_Lat number;
    M_AMt number;
    M_Cat number;
    Now my task is I have to do a prevalidation of the data in 'T' that whether all the data in those columns will suit for the destination table columns (to check whether there is any format mismatch)
    Note:- There is no unique mapping column for these two tables
    Can any one help in this regard.

    Hi,
    How to see if your data is in the correct format depends on your data.
    In general, see {message:id=3603878}
    For more specific requirements, something more efficient might be possible. For example,
    LTRIM ( t_lat,
          , '0123456789'
          )   IS NULLwill be true if (and only if) t_lat consists entirely of digits (or if t_lat is NULL).
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all the tables involved, and the results you want from that data.
    In the case of a DML operation (such as INSERT) the sample data should show what the tables are like before the DML, and the results will be the contents of the changed table(s) after the DML.
    Explain, using specific examples, how you get those results from that data.
    Always say what version of Oracle you're using.
    See the forum FAQ {message:id=9360002}

  • To check whether there is any format mismatch between columns of two tables

    Hi,
    I have got a table 'T' (Source table) with columns
    T_Lat Varchar2(50);
    T_Amt Varchar2(50);
    T_Cat Varchar2(50);
    (all these above columns have numeric data)
    Actually, Here I have taken only the columns having numeric data from table 'T'
    Now I have another table 'M'(Destination Table) with columns
    M_Lat number;
    M_AMt number;
    M_Cat number;
    Now my task is I have to do a prevalidation of the data in 'T' that whether all the data in those columns will suit for the destination table columns respectively (to check whether there is any format mismatch). This check should be done dynamically(as there are more than 50 columns in real).
    Note:- There is no unique mapping column for these two tables
    I think it can be done using arrays or plsql tables. But i dont have idea using them.
    Can any one help me in this regard.

    Why, What's wrong with these post and there responce?
    {message:id=10480898}
    {message:id=10472737}

  • To check whether there is any size mismatch between columns of two tables

    Hi,
    Here i got two tables T and M where i am going to migrate data from T to M. But before migrating i need to check whether all the data in source table fits into destination table columns. The datatypes of all columns in source table T is of Varchar2 only as it is a temp table.
    Ex :- Table 'T' (Source table) with columns
    T_Lat Varchar2(50);
    T_Amt Varchar2(50);
    T_Cat Varchar2(50);
    T_Vat Varchar2(50);
    Now I have another table 'M'(Destination Table) with columns
    M_Lat Varchar2(50);
    M_Amt varchar2(25);
    M_Cat date;
    M_Vat number;
    Now my task is I have to do a prevalidation of the data in 'T' that whether all the data in those columns will suit for the destination table columns respectively (to check whether there is any size mismatch). This check should be done dynamically.
    For suppose, in T_Amt(source column of T table) if text is abt 50 characters, it cant fit M_Amt(destination column of M table). In this case it should throw an error indicating that destination column size is less for the source column.
    Note:- There is no unique mapping column for these two tables and there are about 400 columns in the source table to be validate
    I think it can be done using arrays or plsql tables.
    Can any one help in this regard.

    >
    Now my task is I have to do a prevalidation of the data in 'T' that whether all the data in those columns will suit for the destination table columns respectively (to check whether there is any size mismatch). This check should be done dynamically.
    >
    Just because the source table T_Amt column is defined as 50 doesn't mean any of the data is really that long. So the data itself needs to be checked. That is just what a simple query can do.
    See my answer in this thread Posted: Jul 25, 2012 1:14 PM
    Re: Help in Execute Immediate - Invalid relational Operator
    Here is the modified sample query and results for a query of a clone of the EMP table with some modified data
    select count(*) cnt,
           -- job column
           sum(case when job is null then 1 else 0 end) job_nul,
           sum(case when job = 'SALESMAN' then 1 else 0 end) job_salesman,
           min(length(job)) job_minlength, max(length(job)) job_maxlength,
           min(job) job_min, max(job) job_max,
           -- hiredate colulmn
           sum(case when hiredate is null then 1 else 0 end) hiredate_nul,
           min(hiredate) hiredate_min,
           max(hiredate) hiredate_max
            from emp1
    CNT JOB_NUL JOB_SALESMAN JOB_MINLENGTH JOB_MAXLENGTH JOB_MIN JOB_MAX  HIREDATE_NUL HIREDATE_MIN HIREDATE_MAX
    14    2       4            5             9             ANALYST SALESMAN 0            9/28/0001    12/3/9999With one query and ONE pass thru the table I was able to get the COUNTs, the MIN and MAX values for each column and the MIN and MAX lengths of the VARCHAR2 columns.
    There are 14 total records, 2 where JOB is null, 4 where the JOB is SALESMAN. The MIN length of the JOB data is 5 and the MAX is 9.
    Look at the date values. The results tell me I have some problem data.
    The length data tells me if I try to put the JOB data into another table I need to define the length as at least 9 or it won't fit.
    For your use case you might find that all of the data in the T_Lat column is shorter than 26 and will actually fit into the M_Lat target table column.

  • How to know whether there is any change in a transaction in ic webclient

    Hi,
    There is one activity screen in the ic web(CRM 5.0). There is two button(Change, Save , Sendnotification) on that screen.
    Sendnotification: if i click this button then it will check whether there is any change done using  below logic and will send the noti..:
    DATA:lv_transaction   TYPE REF TO if_bol_transaction_context,
    lv_entity       TYPE REF TO cl_crm_bol_entity.
    lv_transaction = lv_btorder->get_transaction( ).
          IF lv_transaction->check_save_needed( ) EQ 'X'.
             then save the changes  and send notification
          ENDIF.
    Question:
    Now i clicked on the Change button and did some changes.Then saved.
    Then again i did some changes, now i clicked on the Sendnotification button.It sent an notification.
    Now i again clicked on the Sendnotification(this time i didnt do any changes), it sent the same notification again.
    So how to know that  actully changes done or not & how to write code if there is no changes?
    During debugging , i found that the method check_save_needed always returns 'X' as long as i am in the chage mode of that activity. As a result if i dont do any changes also in the activity and click the button , it sends the notification.
    please suggest how to restrict  using coding........
    Thanks
    sudhansu

    Not solved.

  • How to check whether there r new txt files in a folder n file creation date

    How to check whether there r new text files in a specified folder and what is the date of creation of the text file.........?

    Hi
    I have been searching for a solution to find the date of creation of a file for over 6 months now but haven't found it. So I presume that it is not possible though I havent found any authentication of my assumption in any document.
    Cheers!
    Shailesh

  • How to check if there is any problem in the interaction center inbox

    hi,
    how to check if there is any problem in the interaction inbox for recieving the attachments/cic0
    some users who are sending withattachments is not able to reach the sap indox./
    but without the attachments the mails are coming
    I want to know how we can able to find out were is the problem.
    thanks in advance
    Prajith P

    hi,
    Any update for the above query.
    Thanks & Regards
    Prajth P

  • HT4914 Can I use iTunes match if I am not sure whether there are any pirated songs in my library

    Can I use iTunes match if I am not sure whether there are any pirated songs in my library

    iTunes match should work for that. I am assuming your friend gave you some music from a flash drive, and yor not sure if he/sh pirided it or not, and this is understandible. this screen shot should help. I also sugest looking into google play, which is not as convienet as far as combining with iTunes, but is free I bleive.

  • What is the command to check if there are any active calls before restarting the voice router?

    what is the command to check if there are any active calls before restarting the voice router? thanks

    Hi.
    I can suggest show call active voice or show voice call status or show sip-ua call brief in case of SIP TSP.
    HTH
    Regards.
    Carlo

  • To check whether there is any format mismatch between two tables

    Hi,
    I have got a table 'T' (Source table) with columns
    T_Lat Varchar2(50);
    T_Amt Varchar2(50);
    T_Cat Varchar2(50);
    Actually, Here I have taken all the columns from table 'T' having numeric data.
    Now I have another table 'M'(Destination Table) with columns
    M_Lat number;
    M_AMt number;
    M_Cat number;
    Now my task is I have to do a prevalidation of the data in 'T' that whether all the data in those columns will suit for the destination table columns respectively (to check whether there is any format mismatch). This check should be done dynamically.
    Note:- There is no unique mapping column for these two tables
    Can any one help in this regard.

    Why dont you Just [url http://docs.oracle.com/cd/B19306_01/server.102/b14231/tables.htm#sthref2223] Insert Data With DML Error Logging 

  • How to check whether a file exist in the program folder or not?

    Hi guys,
    how to check whether a file exist in the program folder or not? Let is say i recieve a file name from user then i want to know if the file is there not and act on that base.
    abdul

    Look at the class java.io.File and the .exists() method:
    http://java.sun.com/j2se/1.4/docs/api/java/io/File.html

  • Applescript to check if there are any events today

    I'm wondering if there's an easy way to use Applescript to just check if there is any event in a certain calendar for the current day.

    Actually, I managed to get it with some tinkering. I had issues at first with it not being able to find all day events (as it was getting the current time and all day events start at 12:00:00 AM) but I fixed that by putting the date in a string with a manually defined time of 12:00:00, converting it back to a date and using that. Here's the code:
    set {year:y, month:m, day:d, weekday:wd} to (current date)
    set str to (wd as string) & ", " & (d as string) & " " & (m as string) & ", " & (y as string) & " 12:00:00 AM"
    set today to date str
    set tomorrow to today + 60 * 60 * 24
    tell application "Calendar"
              tell calendar "Personal"
                        set curr to every event whose start date is greater than or equal to today ¬
                                  and start date is less than or equal to tomorrow
              end tell
    end tell

  • How to check whether database console has been installed on Windows or not?

    I selected the following choices when I ran Oracle Database 11g Release 2 Installer on Windows 2008 R2:
    Create and configure a database
    Server Class
    Single instance database installation
    Typical install
    I got the Database Configuration Assistant: Warning
    Enterprise manager configuration failed due to the following error - Listener is not up or database service is not registered with it. Start the Listener and register database service and run EM Configuration Assistant again.
    I have started the listener and register database service now. I have tried to run the command:
    emca -config dbcontrol db -repos create
    I got the error sysman already exists.
    Does it mean that even though I got the Warning message, the Enterprise Manager repository has already been created?
    What should I do to bring up the database console?
    Thanks.

    I did not see any EM DB Console service.
    I believe SYSMAN is the default schema for the EM repository. So, I think I just need to configure EM not to create EM repository.

  • How to check whether the ref-variable refers to an object or not?

    Hi,
    I think the topic says all!
    Thanks for help!

    Hi,
    Just to clarify:
    is bound works only in case if object variable is instantiated (is not initial).
    casting to object works always.
    So if we want to know also if initial variable is object reference type or not we should use casting to object.
    Example:
    DATA lo_my_class TYPE REF TO zcl_my_class.
    DATA lo_test_object TYPE REF TO object.
    TRY.
         lo_test_object ?= lo_my_class.
         WRITE 'IS OBJECT casting success'.
    CATCH cx_root.
         WRITE 'IS OBJECT casting fail'.
    ENDTRY.
    DATA l_is_bound TYPE abap_bool.
    IF ( lo_my_class IS BOUND ).
         WRITE 'IS OBJECT is bound success'.
    ELSE.
         WRITE 'IS OBJECT is bound fail'.
    ENDIF.
    This will result in output:
    IS OBJECT casting success
    IS OBJECT is bound fail
    Regards,
    Adam

Maybe you are looking for

  • Photoshop 13.1 for Creative Cloud Done with Errors. Error Code: U44M1P6

    Hi, this is the error I received when after trying to install the update through the update manager.  Has anyone seen this error?  How do I now get Photoshop to 13.1?

  • Firefox 4.0 will not allow live chat in Win 7

    When trying to enter a Live Chat session I get a message "Cannot continue live chat because your browser is not supported " that pops up in a separate FF window. I'm running FF 4.0 and Windows 7. All works well in FF 3.6.16 and Win XP.

  • Is there a PDF of the Adobe CS6 product poster available?

    I need to hang one up in our classroom and the Adobe customer service reps I've chatted with (4 of them!) could not even understand the question. I need a 2 foot by 3 foot poster celebrating the master collection. I know that SOMEONE in Adobe has cre

  • Ilife disappeared after upgrading to lion OS

    I am using 2011 MBP 15inch which I bought about 2 weeks ago When I had Snow Leopard OS, I used to have all programs of iLife 11 such as iPhoto and etc. But when I bought a legit Lion OSX from App Store and installed it, I lost all free programs which

  • Import doesn't work anymore

    I just installed the lastest version of Forte and now import doesn't work. I was importing my own class files located in the same directory as the main class. It work just fine before I upgraded. Here's what import section used to look like: import j