Resolution to error - Unable to update Database Statistics

OK, If there's one thing i hate most about SAP, its the dreaded installation, I am always so paranoid, as to something will definitely go wrong,
Lately i realized that it aint my mind , but the damn installation itself is pretty damn stupid. Why cant SAP leave the installation packaging to professionals like installshield...
Unfortunately SAP doesnt think of it as a better idea, so until then lets try to resolve as many errors as possible thru these forums..
Here's one error resolution ,i am pretty sure, many are checking for..
Use the following procedure to resolve error
<b>Warning - "loading of sql client library oci.dll failed"
Error - Unable to update Database Statistics, Check BRCONNECT.log</b>
The problem seems to be with the SAP Patch Collection InstallMaster disc Material No.(<b>51032143_13</b>).
To resolve the problem, here's what needs to be done,
1)Install DB Instance as usual.Then after the installation errors out due to loading of sql
client library oci.dll ..
2)I unsar the downloaded DBATOOLS.sar (Thanks for the Link Andreaz!!!)
log into sapnet (eg. service.sap.com) with your user-id/pwd:
-> downloads -> support packages and patches -> entry by application group -> additional
components -> sap kernel -> now chose either 32 or 64 bit; either unicode or non-unicode ->
sap kernel 6.40 -> windows server -> oracle -> download the package DBATOOLS Package for
Oracle 9.2.x ... brconnect is part of that package...
3)Copy the files in the Unsar'd package, as follows
     overwrite br*.exe to S:\usr\sap\R31\SYS\exe\run
     overwrite initSID.sap to S:\usr\sap\R31\SYS\exe\run & 
S:\usr\sap\R31\SYS\exe\nuc\NTI386
     overwrite libsbt.dll to S:\usr\sap\R31\SYS\exe\run &
S:\usr\sap\R31\SYS\exe\nuc\NTI386
     overwrite sapdba_role.sql to S:\usr\sap\R31\SYS\exe\run &
S:\usr\sap\R31\SYS\exe\nuc\NTI386
4) Retry the installation again & Guess what!! it works....
Warning-: I initially tried a shortcut by replacing DBATOOLS.sar on the installmaster disc, rather than following above steps, but that doesnt seem to work, the installation fails as as soon as Tablespace creation starts. So the shortcut aint a good one..

Well, it looks like you resolved your problem yourself.
you can send feedback to SAP directly instead of posting this here in a forum.

Similar Messages

  • Update Database Statistics during System Export

    hi All,
    I am getting following error on step (Update Database Statistics ) during system export.
    WARNING 2011-06-17 15:13:35
    Execution of the command "E:\usr\sap\PRD\SYS\exe\uc\NTAMD64\
    brconnect.exe -u / -c -o summary -f stats -o SAPSR3 -t all -m +I -s
    P10 -f allsel,collect,method,precision,space,keep -p 4"
    finished with return code 5.
    Output: BR0801I BRCONNECT 7.00 (31)BR0805I Start of BRCONNECT processing:
    cegczbfe.sta 2011-06-17 15.12.02BR0484I BRCONNECT log file:
    G:\oracle\PRD\sapcheck\cegczbfe.sta
    ERROR 2011-06-17 15:13:35
    CJS-30023  Process call 'E:\usr\sap\PRD\SYS\exe\uc\NTAMD64\
    brconnect.exe -u / -c -o summary -f stats -o SAPSR3 -t all -m +I -s P10
    -f allsel,collect,method,precision,space,keep -p 4'
    exits with error code 5. For details see log file(s) brconnect.log.
    there is small part of brconnect.log is:
    BR0204I Percentage done: 27.88%, estimated end time: 15:16
    BR0001I **************____________________________________
    BR0280I BRCONNECT thread 2: time stamp: 2011-06-17 15.13.31
    BR0301E SQL error -20003 in thread 2 at location stats_tab_collect-20, SQL statement:
    'BEGIN DBMS_STATS.GATHER_TABLE_STATS (OWNNAME => '"SAPSR3"', TABNAME => '"/BEV3/CHCL_STAT"', ESTIMATE_PERCENT => NULL, METHOD_OPT => 'FOR ALL COLUMNS SIZE 1', DEGREE => NULL, CASCADE => TRUE, NO_INVALIDATE => FALSE); END;'
    ORA-20003: Specified bug number (5099019) does not exist
    ORA-06512: at "SYS.DBMS_STATS", line 14830
    ORA-06512: at "SYS.DBMS_STATS", line 14851
    ORA-06512: at line 1
    BR0886E Checking/collecting statistics failed for table SAPSR3./BEV3/CHCL_STAT
    BR0280I BRCONNECT thread 2: time stamp: 2011-06-17 15.13.31
    BR0301E SQL error -20003 in thread 2 at location stats_tab_collect-20, SQL statement:
    'BEGIN DBMS_STATS.GATHER_TABLE_STATS (OWNNAME => '"SAPSR3"', TABNAME => '"/BEV3/CHCL_STATT"', ESTIMATE_PERCENT => NULL, METHOD_OPT => 'FOR ALL COLUMNS SIZE 1', DEGREE => NULL, CASCADE => TRUE, NO_INVALIDATE => FALSE); END;'
    ORA-20003: Specified bug number (5099019) does not exist
    ORA-06512: at "SYS.DBMS_STATS", line 14830
    ORA-06512: at "SYS.DBMS_STATS", line 14851
    ORA-06512: at line 1
    BR0886E Checking/collecting statistics failed for table SAPSR3./BEV3/CHCL_STATT
    BR0280I BRCONNECT thread 2: time stamp: 2011-06-17 15.13.31
    BR0301E SQL error -20003 in thread 2 at location stats_tab_collect-20, SQL statement:
    'BEGIN DBMS_STATS.GATHER_TABLE_STATS (OWNNAME => '"SAPSR3"', TABNAME => '"/BEV3/CHCMVWOBJ"', ESTIMATE_PERCENT => NULL, METHOD_OPT => 'FOR ALL COLUMNS SIZE 1', DEGREE => NULL, CASCADE => TRUE, NO_INVALIDATE => FALSE); END;'
    ORA-20003: Specified bug number (5099019) does not exist
    ORA-06512: at "SYS.DBMS_STATS", line 14830
    ORA-06512: at "SYS.DBMS_STATS", line 14851
    ORA-06512: at line 1
    BR0886E Checking/collecting statistics failed for table SAPSR3./BEV3/CHCMVWOBJ
    BR0280I BRCONNECT thread 2: time stamp: 2011-06-17 15.13.31
    BR0301E SQL error -20003 in thread 2 at location stats_tab_collect-20, SQL statement:
    'BEGIN DBMS_STATS.GATHER_TABLE_STATS (OWNNAME => '"SAPSR3"', TABNAME => '"/BEV3/CHCMVWOBPR"', ESTIMATE_PERCENT => NULL, METHOD_OPT => 'FOR ALL COLUMNS SIZE 1', DEGREE => NULL, CASCADE => TRUE, NO_INVALIDATE => FALSE); END;'
    ORA-20003: Specified bug number (5099019) does not exist
    ORA-06512: at "SYS.DBMS_STATS", line 14830
    BEGIN DBMS_STATS.GATHER_TABLE_STATS (OWNNAME => '"SAPSR3"', TABNAME => '"/BEV3/CHCTLVAR"', ESTIMATE_PERCENT => NULL, METHOD_OPT => 'FOR ALL COLUMNS SIZE 1', DEGREE => NULL, CASCADE => TRUE, NO_INVALIDATE => FALSE); END;'
    ORA-20003: Specified bug number (5099019) does not exist
    ORA-06512: at "SYS.DBMS_STATS", line 14830
    ORA-06512: at "SYS.DBMS_STATS", line 14851
    ORA-06512: at line 1
    ORA-06512: at line 1
    BR0886E Checking/collecting statistics failed for table SAPSR3./BEV3/CHCTMSTFUB
    BR0280I BRCONNECT thread 2: time stamp: 2011-06-17 15.13.34
    BR0844E 100 errors occurred in thread 2 - terminating processing of the thread...
    BR0280I BRCONNECT time stamp: 2011-06-17 15.13.34
    BR0848I Thread 2 finished with return code -1
    BR0280I BRCONNECT time stamp: 2011-06-17 15.13.34
    BR0879I Statistics checked for 0 tables
    BR0878I Number of tables selected to collect statistics after check: 0
    BR0880I Statistics collected for 639/0 tables/indexes
    BR0889I Structure validated for 0/749/0 tables/indexes/clusters
    BR1308E Collection of statistics failed for 68292/0 tables/indexes
    BR0806I End of BRCONNECT processing: cegczbfe.sta 2011-06-17 15.13.34
    BR0280I BRCONNECT time stamp: 2011-06-17 15.13.35
    BR0804I BRCONNECT terminated with errors
    how can I resolve this issue?
    Regards,
    majamil

    hi SM,
    I have applied these patches with Opatch which successfully applied.
    is it ok or i had to use the MOpatch for these?
    one more thing for your information , when i execute Delete Harmful Statistics  under Database Statistics in brtools then i got following
    BR0280I BRCONNECT time stamp: 2011-06-30 08.10.53
    BR0818I Number of tables found in DBSTATC for owner SAPSR3: 390
    BR0280I BRCONNECT time stamp: 2011-06-30 08.10.53
    BR0807I Name of database instance: PRD
    BR0808I BRCONNECT action ID: cegfjniv
    BR0809I BRCONNECT function ID: dst
    BR0810I BRCONNECT function: stats
    BR0812I Database objects for processing: HARMFUL
    BR0852I Number of tables to delete statistics: 0
    BR0856I Number of indexes to delete statistics: 0
    BR0863W No tables/indexes found to update/delete statistics or validate structur
    e
    BR0806I End of BRCONNECT processing: cegfjniv.dst 2011-06-30 08.10.53
    BR0280I BRCONNECT time stamp: 2011-06-30 08.10.53
    BR0803I BRCONNECT completed successfully with warnings
    BR0292I Execution of BRCONNECT finished with return code 1
    BR0668I Warnings or errors occurred - you can continue to ignore them or go back
    to repeat the last action
    BR0280I BRTOOLS time stamp: 2011-06-30 08.10.53
    BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
    c
    why i am getting this return code 1?
    Regards,
    Edited by: majamil on Jun 30, 2011 8:20 AM

  • Installation error at Update database statistics

    Hi,
    During DB installation at Update database statistics Installation error.
    Error shows that
    MTU- 03010 Execution of the command "/sapmnt/QMS/exe/brconnect   '-u' '/' '-c' '-f' 'crsyn -o 'SAPQMS' finished with status TST_ERROR
    brconnect.log error
    /usr/lib/hpux/dld.so: Unable to to find library 'libclntsh.so.10.1
    Any help.
    - Kristene

    Hello kristene Jyo,
    Did you get any breakthrough in this issue. Because i am also facing the same issue while installling the NW04 with oracle 9.0.2.0 but during "Update Statistice" step of Database instance installation it is giving me below error.
    "Unable to find library 'libclntsh.so.10.1"
    I already have 3 instance running fine on the same server of ECC 5.0 which i installed with oracle 9 same database.
    Please help me if you have any clue about the same my OS is HPUX-11.23.
    Thanks and Regards
    Dheeraj Thareja

  • ERROR 2009-05-24 08:46:36 CJS-00288 Could not update database statistics.

    Hi all.
    i am in the middle of SAP ECC 5.0 installation .In the Database instance installation at the step 29 database update statistics, system stops giving error
    ERROR 2009-05-24 08:46:44
    CJS-00288  Could not update database statistics.<br>
    DIAGNOSIS: Command brconnect -u / -c -f crsyn -o SAPDB5 returned 3.<br>SOLUTION: See brconnect.log for details.
    when i checked in brconnect.log i found below error message
    BR0801I BRCONNECT 7.00 (16)
    BR0999E Loading of SQL client library oci.dll failed - please check Oracle configuration
    BR0310E Connect to database instance DB5 failed
    BR0280I BRCONNECT time stamp: 2009-05-24 08.46.44
    BR0804I BRCONNECT terminated with errors
    Q))Which oracle version are you using since BRTOOLS 7.0 is designed to work with Oracle 10g?
    If you are using an oracle 9.2.* it is needed to install oracle instant client or to downgrade your db tools (brt* tools)...... Through :Forums I came to know that we have to downgrade the br*tools to
    Could you please help me how to downgrade the Brtools or could you please suggest me how to proceed
    please help me
    Thanks
    Senthil

    Hi All,
    Thanks for your help, that error it has passed but now in 31 st step starting RFC jobs
    i get this error
    ERROR 2009-05-25 18:08:05
    FRF-00007  Unable to open RFC connection.
    ERROR 2009-05-25 18:08:05
    FRF-00063  RFC logon failed with message: Failed: SAP_CMINIT3 : rc=20 > Connect to SAP gateway failedConnect_PM  GWHOST=CTSINSAPEC5, GWSERV=sapgw00, ASHOST=CTSINSAPEC5, SYSNR=00
    but early during the last error update database statistics the SAP MMC console was up and running but now SAP is down during this error
    i tried to start SAP manually but it never works dispatcher goes down, i searched in forums and thought to update the kernal, so i updated the kernal also and tried it then also same error
    please help me my situation is very pathatic, i will be greatful if you help me
    Thanks
    Senthil

  • Error: 1013231 Unable to update database while in readonly mode for backup

    Hi all,
    Wen im deleting the members for dimendsion , its giving error (hyperion 11.1 aso)
    Error: 1013231 Unable to update database while in readonly mode for backup , how can i solve this problem ,plz can any one help on this
    Thanks

    Has somebody set the database ready for archiving, maybe some maxl has been run and the db has not been returned from read only mode.
    Try running the following Maxl (change app.db to match your app/db)
    alter database app.db end archive;
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • ERROR 2008-04-30 09:10:35 CJS-00288 Could not update database statistics.

    Hi Gurus..
    Hi i am in the middle of NW 2004  installation . At the step 29 database update statistics, system stops giving error
    ERROR 2008-04-30 09:10:35
    CJS-00288 Could not update database statistics.
    DIAGNOSIS: Command brconnect -u / -c -f crsyn -o SAPP47 returned
    3.SOLUTION: See brconnect.log for details.
    When i checked in brconnect.log i found below error message
    BR0801I BRCONNECT 7.00 (16)
    BR0999E Loading of SQL client library oci.dll failed - please check Oracle configuration
    BR0310E Connect to database instance P47 failed
    BR0280I BRCONNECT time stamp: 2008-04-30 09.10.35
    BR0804I BRCONNECT terminated with errors
    Q))Which oracle version are you using since BRTOOLS 7.0 is desinged to work with Oracle 10g?
    If you are using an oracle 9.2.* it is needed to install oracle instantclient or to downgrade your db tools (brt* tools)......  Through :Forums I came to know that we have to downgrade  the br*tools to
    Could you please help me how to downgrade the Brtools.
    It's urgent.
    Points will be awarded .
    Regards
    Jan.

    Hi janakiram
    Now i am facing the same error which you have faced before, have you solved that issue if it so could you pls help me how to solve this
    Hi All,
    i am in the middle of SAP ECC 5.0 installation .In the Database instance installation at the step 29 database update statistics, system stops giving error
    ERROR 2009-05-24 08:46:44
    CJS-00288 Could not update database statistics.
    DIAGNOSIS: Command brconnect -u / -c -f crsyn -o SAPDB5 returned 3.
    SOLUTION: See brconnect.log for details.
    when i checked in brconnect.log i found below error message
    BR0801I BRCONNECT 7.00 (16)
    BR0999E Loading of SQL client library oci.dll failed - please check Oracle configuration
    BR0310E Connect to database instance DB5 failed
    BR0280I BRCONNECT time stamp: 2009-05-24 08.46.44
    BR0804I BRCONNECT terminated with errors
    Q))Which oracle version are you using since BRTOOLS 7.0 is designed to work with Oracle 10g?
    If you are using an oracle 9.2.* it is needed to install oracle instant client or to downgrade your db tools (brt* tools)...... Through :Forums I came to know that we have to downgrade the br*tools to
    Could you please help me how to downgrade the Brtools or could you please suggest me how to proceed
    please help me
    Thanks
    Senthil

  • Unable to Update Database.

    Hi All,
    I was trying to load data thru load files and got the following message.
    Unable to update database while in readonly mode for backup
    Unexpected Essbase error 1013231I tried looking at Information Help Menu.
    I could not find the error number.
    Could anyone help.
    Thanks in advance.
    Bal.

    Hi Atul,
    Thanks for the help.
    The Readonly error got resolved.
    But still the following error is displayed when I am loading data thru load rule.
    To Brief you up, I had done a database corrupt check using validate command because of the following error. The information map asks you to do the same since the other parameters are in the affirmative ie sufficient disk space, not using addsin, File is present.
    *Unable to Read Information From [C:\Hyperion\essbase\app\SMC\PL\PL-BS-LD.rul]*
    Unexpected Essbase error 1019003
    I used the VALIDATE <error.txt> command and found that the database is not corrupt.
    I also used the export command to see if everything goes well. That also works well.
    Note: I do not have any data in the Cube. I had cleared all data.
    Can you please help ?
    Regards
    Bal.
    Edited by: user11091956 on Apr 12, 2010 11:26 PM

  • FRM-40509: ORACLE error: unable to UPDATE record.

    FRM-40509: ORACLE error: unable to UPDATE record.
    what can i do?

    There will always be another error which tells you what the actual problem on the database is. Use the Display message key, or message out DBMS_ERROR_TEXT

  • CVU ERROR:Unable to retrieve database release version

    Hi all, I want to install RAC on three nodes,but when I run "cluvfy" as ORACLE user, I got errors:
    ./runcluvfy.sh stage -pre crsinst -n nrac1,nrac2,nrac3 -verbose
    ERROR:
    Unable to retrieve database release version.
    Verification cannot proceed.
    but the ROOT user can run it with few errors , why?
    how can I do ?

    I was getting this same mysterious error immediately after a successful CRS install. The command I was running was "runcluvfy.sh stage -pre dbinst -n node1" from my stage directory. All previous executions worked correctly. My thought now is that the CRS install added JRE files that interrupt its paths; still not sure though.
    The MetaLink article referenced above was very helpful in the end but only after I paid special attention to the wording at the very bottom. Originally, I dismissed the article because it is primarily for Solaris; while we are using Red Hat AS 4 update 5. However, in the very last sentence it states the following:
    "Note: If you encounter same error for cluvfy stage -pre crsinst -n node on Linux x86-64 platform before CRS installation, please check if jdk 1.5 is installed. cluvfy works with jdk 1.4. Please install jdk 1.4 or install CRS and run cluvfy from CRS installation."
    Ah, we had also installed JSE 6. And sure enough executing 'java -version' showed that it was picking up the path to JSE 6 not the 1.4.
    So, following the note in the above article, I did two things. First, I changed the CV_HOME variable to $ORACLE_HOME/bin and ran 'which cluvfy' to verify the correct location. Second, I executed "cluvfy.sh stage -pre dbinst -n node1". It worked!

  • FRM-40509: ORACLE error : Unable to update the record.

    Hi,
    I am having the following code in delete button.
    declare
         v_button  NUMBER;
    begin
      IF :CHNG_CNTRL_JOB_DTLS.SENT_DATE IS NULL THEN
                   v_button := fn_display_warning_alert( 'Do you want to delete the version ?');
                   IF ( v_button = alert_button1 )
                        THEN
                          message('before insert');
                          insert into chng_cntrl_job_dtls_log
                          select * from chng_cntrl_job_dtls
                          where job_name = :CHNG_CNTRL_JOB_DTLS.job_name
                          and job_version_no = :CHNG_CNTRL_JOB_DTLS.job_version_no
                          and sent_date is null;
                          message('before delete');
                          delete from CHNG_CNTRL_JOB_DTLS
                          where job_name = :CHNG_CNTRL_JOB_DTLS.job_name
                          and job_version_no = :CHNG_CNTRL_JOB_DTLS.job_version_no
                          and sent_date is null;
                          message('before commit');
                          silent_commit;
                          go_item('CHNG_CNTRL_JOB_DTLS.JOB_NAME');
                          P_DELETE_SET_PROPERTY;
                          clear_form;
                   ELSIF ( v_button = alert_button2 )
                        THEN
                          null;
                END IF;
         ELSE
                p_display_alert('Version '||:CHNG_CNTRL_JOB_DTLS.JOB_VERSION_NO||' for the job name '||:CHNG_CNTRL_JOB_DTLS.JOB_NAME||' cannot be deleted.','I');
      END IF;
         exception
              when others then
              message ('Exception in delete version button');
              end;when i am trying to save it says " *FRM-40509: ORACLE error : Unable to update the record*." .
    i am getting message till before commit.
    i am not able to check the error message in help as it is diabled in our form builder.
    I have checked the privileges also. they are fine.
    Please advice.
    Edited by: Sudhir on Dec 7, 2010 12:26 PM

    This error does not come from your procedure code, but from Forms itself. If you are in a database block, change something, and do a commit (either via a Forms key or in your own procedure), Forms commits the changes. For some reason this is not possible. You can see the database error via the Display Error key (often Shift-F1).
    I see in the OP that this key is disabled. Change the on-error code then:
    begin
       message(dbms_error_code||'-'||dbms_error_text);
       raise form_trigger_failure;     
    end;     Edited by: InoL on Dec 7, 2010 8:50 AM

  • Problem in update database statistics

    when i run
    update database statistics
    when it completed it becomes red
    then i check it out
    log file  there i found error
    BR0301E SQL error -904 at location stats_ind_collect-3, SQL statement:                                                                       
    'BEGIN DBMS_STATS.GATHER_INDEX_STATS (OWNNAME => '"SAPECC"', INDNAME => '"SNAP~0"', ESTIMATE_PERCENT => NULL, DEGREE => NULL, NO_INVALIDATE => FALSE); END;                                                                      
    ORA-00904: : invalid identifier                                                                               
    ORA-06512: at "SYS.DBMS_STATS", line 10621                                                                               
    ORA-06512: at "SYS.DBMS_STATS", line 10645                                                                               
    ORA-06512: at line 1                                                                               
    BR0886E Checking/collecting statistics failed for index SAPECC.SNAP~0                                                                        
    BR0280I BRCONNECT time stamp: 2009-11-03 10.56.12                                                                               
    BR0301E SQL error -904 at location stats_ind_collect-3, SQL statement:                                                                       
    'BEGIN DBMS_STATS.GATHER_INDEX_STATS (OWNNAME => '"SAPECC"', INDNAME => '"SNAP~DSX"', ESTIMATE_PERCENT => NULL, DEGREE => NULL, NO_INVALIDATE
    ORA-00904: : invalid identifier                                                                               
    ORA-06512: at "SYS.DBMS_STATS", line 10621                                                                               
    ORA-06512: at "SYS.DBMS_STATS", line 10645                                                                               
    ORA-06512: at line 1                                                                               
    BR0886E Checking/collecting statistics failed for index SAPECC.SNAP~DSX                                                                      
    what will i do
    please suggest something

    Hi Anant ,
    I think you need to update your brtool patch as described in [Note 874911 - Workaround for ORA-31603 (BR0996E) during reorganization|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=874911].
    Hope it will solve your problem as it is due to bug in oracle.
    Regards,
    Gagan Deep Kaushal

  • Error: Unable to Load Database

    Anyone seen this error: "Unable to Load Database"? How to recover? A link or a page for me to read would work too. thx! James

    The usual cause for this is that the database has become corrupted - or one or more key files was somehow deleted. Take a look at the application log and see if there is a more detailed message. Unfortunately, if the data has been corrupted, you will have to recover from backup, or rebuild your cube.To get the database started, you can go into the database directory and delete the *.ind, *.pag, *.tct, *.ind and *.esm files. This will allow the app to start, but the data will be GONE - you will HAVE to reload and calc it, or restore from backup.Regards,Jade--------------------------------Jade ColeSenior Business Intelligence ConsultantClarity [email protected]

  • HT201210 Am getting an error unable to update when trying to install ISO6 on my Ipad

    I was try to update my ipad2 to new ISO6 it download but after download if click on install it writes verifying then its giving me an error unable to update how can I fix the problem .

    Hi:Thanks for your response.The following code works fine in a standard VB.Net windows Application,It is just a send and receive instruction to a power meter over the GPIB bus.This code is behind a Button,and a label displays the result.I have a problem when I try to duplicate this simple code on an ASP.Net page using Server controls.When you click the button the code is supposed to execute on the server side and not the client side(browser).The code fails when it gets to the viOpenDefaultRM line,I get an error message as follows System.DllNotFoundException:Unable to Load Dll(VISA32.DLL).I have added a reference to the visa library from within the project.
    '''''This is the code I am using'''''
    Dim lsnbuf As String = Space(100)
    Dim wq As Long
    Dim drm As Long
    Dim ret As Long
    Dim vi As Long
    Dim tlkbuf As String
    Dim FoundCRLF As String
    Dim CleanString As String
    Dim rcnt As Long
    wq = viOpenDefaultRM(drm) 'Open Vi session
    wq = viOpen(drm, "GPIB0::2::INSTR", VI_NULL, 5000, vi)
    tlkbuf = "*IDN?"
    ret = viWrite(vi, tlkbuf, Len(tlkbuf), rcnt)
    ret = viRead(vi, lsnbuf, 100, rcnt)
    FoundCRLF = InStr(lsnbuf, vbCrLf)
    If FoundCRLF > 0 Then
    CleanString = Mid(lsnbuf, 1, FoundCRLF - 1)
    End If
    Label1.Text = CleanString 'display IDN String

  • Effect of Updating Database statistics to program's performance

    Hi,
    What is the Effect of Updating Database statistics to program's performance?
    Will the program run's faster after the update/
    Thanks a lot!

    Hi,
    >
    freishz wrote:
    > What is the Effect of Updating Database statistics to program's performance?
    update the statistics the optizer uses for making an execution plan.
    The statistics contains values like:
    table statistics:
    - nr of rows of the table
    - nr ob blocks / pages of the table
    - nr of empty blocks / pages
    index statistics:
    - nr of distinct keys in the index
    - nr of leaf pages of the index
    - clustering factor of the index
    - height (levels) of the index
    column statistics:
    - nr of distinct values for a (indexed) column
    - low value and high value for a (indexed) column
    >
    freishz wrote:
    > Will the program run's faster after the update/
    with updated statistics the runtime of the program might be
    - higher
    - lower
    - the same
    it depends on the differences of the generated execution plan used after the update in
    comparison with the execution plan used before the update.
    In general the runtime will be the same or lower. But i have seen cases where updating
    statistics lead to higher runtimes, but these are very rare.
    Why are you asking this question? do you have slow sql with a inefficent execution plan?
    statistics is one of many things that need to be analyzed...
    Kind regards,
    Hermann

  • NETUI ERROR: Unable to update expression

    Hi
    i get following error in the command prompt
    NETUI ERROR: Unable to update expression "{actionForm.userId}" with the value
    [a
    sd]. The typical cause is that the object represented by the expression is not
    available or is the wrong type for updating.
    What may be wrong
    Thanks in Advance
    M BHat

    thanks :)
    Thank you for any and all help,
    Geoffrey
    "M Bhat" <[email protected]> schreef in bericht
    news:3fc2d003$[email protected]..
    >
    Hi geof..
    It is fixed now. please look for the same in portal news grp. Thanks toBeko.
    >
    rgds
    MBhat
    "Geoffrey" <[email protected]> wrote:
    The action method's form doesn't have the property (attribute with
    get/setter).
    However, if you chain actions like I am trying, it could be that your
    first
    action processes the form, while the second doesn't use the form but
    still
    triggers the error.
    Take a look int the portal newgroup for my post.
    I don't know how to solve it yet.
    Thank you for any and all help,
    Geoffrey
    "M Bhat" <[email protected]> schreef in bericht
    news:3fc1e741$[email protected]..
    Hi
    i get following error in the command prompt
    NETUI ERROR: Unable to update expression "{actionForm.userId}" withthe
    value
    [a
    sd]. The typical cause is that the object represented by the
    expression
    is not
    available or is the wrong type for updating.
    What may be wrong
    Thanks in Advance
    M BHat

Maybe you are looking for

  • Hp laserjet 1022 printing problems

    Hi, I use at my office a HP laserjet 1022 printer. Is used in a wireless router. I have a problem with printing: When i print a document from Google Docs, after the document was printed, the printer comes offline and all 3 leds start to flash. This f

  • Profit center updation at the time of delivery order

    Hi, We have three profit centers & three finished goods..All the three finished goods are manufactured  in all the three profit center.At the time of sales order , i am not sure from which profit center i am going to deliver to the customer.so i want

  • ORA-02068 and ORA-03113

    Error 2068 trapped in 2PC on transaction 3.6.12908. Cleaning up. Error stack returned to user: ORA-02068: fatal error has occurred in Instance_name.WORLD. End-of-file has been detected in the communication channel: ORA-03113 Can anyone please share w

  • Working with clips in imovie, deleting from the middle

    not finding this very intuitive ... I want to delete a selection from within a clip ... also want to know how to split clips ... I select the section I want to work with but all the options are ghosted in the menus ...

  • Firefox won't automatically open tabs from my previous session.

    I have literally tried everything, from the general option menu to directly using about:config to fix this problem. It happens all the damn time, and after dicking with it, I can usually fix it, but this time, I cannot get firefox to restore tabs fro