Include statements needed in .c i.e. #include "nivivision.h"

Hi,
I am a new bibe to Labwindows/CVI and Ni Vision.
I am struck with the issue ,Kindly help me in resolving.
I have installed LabWindows/CVI demo version and Vision Acquisition Software on my system.
With the Vision Acquisition Software installation i have got files which is required for my project.
I have a LabWindows/CVI project (FindTabDLL.prj) which have
Under source files
FindTab.c
Under Include Files
FindTab.h
Under Instrumentation Files
cvixml.fp
inifile.fp
toolbox.fp
I have included Include path for the project by right clicking on project->Edit Project->Click on Include Path->Added include path for NIVision.h and NIImaqdx.h
The Actual problem comes here,
When i build the project i have the following error popping up,
"The following include statements are needed in FindTab.c  #include "nivision.h"  Do you want to add them to the top of the file     Yes NO Cancel" 
What might be the problem,i have included the #include headers also ,even then building the project gives me same error.
I am attaching the .doc which shows errors i am facing.
Thanks in advance,
vinayasheela
Attachments:
FindTab_LabWindows.doc ‏229 KB

Hi,
Thank you for the quick reply.
Yes,I tried that before writing to the forum.
FindTab.h has #include "nivision.h"
FindTab.c includes "FindTab.h" i.e. it indirectly adds # include "nivision.h"
even then it pops up with the error dialog.
Have a look at the attached errors.
Thanks and Regards,
vinayasheela
Attachments:
FindTab_LabWindows.doc ‏229 KB

Similar Messages

  • Trying to download Itunes 11.1 and it states need Apple support program??

    Unable to download Itunes to my PC. I have the new IPAD AIR and need 11.1. ?? Do I need to download a flash player maybe? Error message states "need Apple support program"

    Let's try a standalone Apple Application Support install. It still might not install, but fingers crossed any error messages will give us a better idea of the underlying cause of the issue.
    Download and save a copy of the iTunesSetup.exe (or iTunes64setup.exe) installer file to your hard drive:
    http://www.apple.com/itunes/download/
    Download and install the free trial version of WinRAR:
    http://www.rarlab.com/
    Right-click the iTunesSetup.exe (or iTunes64Setup.exe), and select "Extract to iTunesSetup" (or "Extract to iTunes64Setup"). WinRAR will expand the contents of the file into a folder called "iTunesSetup" (or "iTunes64Setup").
    Go into the folder and doubleclick the AppleApplicationSupport.msi to do a standalone AAS install.
    Does it install properly for you?
    If instead you get an error message during the install, let us know what it says. (Precise text, please.)

  • Program Problems...Import Statement needed?

    I am currently a student at DeVry University, and today I had my java class where my professor played a video on java programming for us made by a group called "CBTNuggets". The video went over Inner classes and the professor had us copy the code as the person in the video was typing it up. While attempting to compile the code I encountered several compiler errors on the second of the two files I had typed, I am going to first post the source code for both files, and then follow that with the compiler errors that were generated when I attempted to compile the code. If anyone is able to assist me with this I would greatly appreciate it, I think I may need to add an import statement ;however, I do not know how to implement one for user defined Inner Classes:
    Invoice.java was the file that contained the Inner classes
    * Invoice.java
    * Created on February 1, 2007, 1:39 PM
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    * @author vontux
    import java.util.*;
    public class Invoice {
        private String strCustName;
        private String strCustAddr;
        private int intInvoiceNum;
        private Date dtInvoiceDate;
        /** Creates a new instance of Invoice */
       Invoice(String sCN, String sCA, int iN, Date dt)
           strCustName = sCN;
           strCustAddr = sCA;
           intInvoiceNum = iN;
           dtInvoiceDate = dt;
      class InvoiceItem //enclosed class
          private int intLineItem;
          private int intItemID;
          private int intUnits;
          private String strItemDesc;
          InvoiceItem(int li, int id,String desc, int iu)
              intLineItem = li;
              intItemID = id;
              intUnits = iu;
              strItemDesc = desc;
          public void showInvoice()
              System.out.println("Customer Name: " + Invoice.this.strCustName);
              System.out.println("Item Description: " + strItemDesc);
    }UseInvoice.java is the class that is supposed to create objects of the Inner classes from Invoice.java and then run the code:
    * UseInvoice.java
    * Created on February 1, 2007, 1:51 PM
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    * @author vontux
    import java.util.*;
    public class UseInvoice {
        public static void main(String[] args)
            Date today = new Date();
            Invoice myInvoice = new Invoice("Robert Barrr", "12345 N. CBTNuggets Dr.", 321,today );
            Invoice.InvoiceItem myInvItem = myInvoice.new InvoiceItem(1, 345,"Toy Train", 2);
            myInvItem.showInvoice();
        /** Creates a new instance of UseInvoice */
        public UseInvoice() {
    }And here are the compiler errors that I recieved:
    C:\Documents and Settings\Matt\Desktop\temptemp\temp\UseInvoice.java:19: cannot
    find symbol
    symbol  : class Invoice
    location: class UseInvoice
            Invoice myInvoice = new Invoice("Robert Barrr", "12345 N. CBTNuggets Dr.
    ", 321,today );
            ^
    C:\Documents and Settings\Matt\Desktop\temptemp\temp\UseInvoice.java:19: cannot
    find symbol
    symbol  : class Invoice
    location: class UseInvoice
            Invoice myInvoice = new Invoice("Robert Barrr", "12345 N. CBTNuggets Dr.
    ", 321,today );
                                    ^
    C:\Documents and Settings\Matt\Desktop\temptemp\temp\UseInvoice.java:20: package
    Invoice does not exist
            Invoice.InvoiceItem myInvItem = myInvoice.new InvoiceItem(1, 345,"Toy Tr
    ain", 2);
                   ^
    3 errors

    There are no errors occurs when I compile this two java files .
    Here are the result I'm using jdk1.6 and dos command
    [output]
    [search path for source files: [D:\J2SDK1.6.0\lib, .\out]]
    [search path for class files: [D:\J2SDK1.6.0\jre\lib\resources.jar, D:\J2SDK1.6.0\jre\lib\rt.jar, D:\J2SDK1.6.0\jre\lib\sunrsasign.jar, D:\J2SDK1.6.0\jre\lib\jsse.jar, D:\J2SDK1.6.0\jre\lib\jce.jar, D:\J2SDK1.6.0\jre\lib\charsets.jar, D:\J2SDK1.6.0\jre\classes, D:\J2SDK1.6.0\jre\lib\ext\dnsns.jar, D:\J2SDK1.6.0\jre\lib\ext\localedata.jar, D:\J2SDK1.6.0\jre\lib\ext\sunjce_provider.jar, D:\J2SDK1.6.0\jre\lib\ext\sunmscapi.jar, D:\J2SDK1.6.0\jre\lib\ext\sunpkcs11.jar, D:\J2SDK1.6.0\lib, .\out]]
    [parsing started .\Invoice.java]
    [parsing completed 31ms]
    [parsing started .\UseInvoice.java]
    [parsing completed 15ms]
    [loading D:\J2SDK1.6.0\lib\ct.sym(META-INF/sym/rt.jar/java/lang/Object.class)]
    [loading D:\J2SDK1.6.0\lib\ct.sym(META-INF/sym/rt.jar/java/lang/String.class)]
    [loading D:\J2SDK1.6.0\lib\ct.sym(META-INF/sym/rt.jar/java/util/Date.class)]
    [checking Invoice]
    [loading D:\J2SDK1.6.0\lib\ct.sym(META-INF/sym/rt.jar/java/lang/System.class)]
    [loading D:\J2SDK1.6.0\lib\ct.sym(META-INF/sym/rt.jar/java/io/PrintStream.class)]
    [loading D:\J2SDK1.6.0\lib\ct.sym(META-INF/sym/rt.jar/java/io/FilterOutputStream.class)]
    [loading D:\J2SDK1.6.0\lib\ct.sym(META-INF/sym/rt.jar/java/io/OutputStream.class)]
    [loading D:\J2SDK1.6.0\lib\ct.sym(META-INF/sym/rt.jar/java/io/Serializable.class)]
    [loading D:\J2SDK1.6.0\lib\ct.sym(META-INF/sym/rt.jar/java/lang/StringBuilder.class)]
    [loading D:\J2SDK1.6.0\lib\ct.sym(META-INF/sym/rt.jar/java/lang/AbstractStringBuilder.class)]
    [loading D:\J2SDK1.6.0\lib\ct.sym(META-INF/sym/rt.jar/java/lang/CharSequence.class)]
    [loading D:\J2SDK1.6.0\lib\ct.sym(META-INF/sym/rt.jar/java/lang/Comparable.class)]
    [loading D:\J2SDK1.6.0\lib\ct.sym(META-INF/sym/rt.jar/java/lang/StringBuffer.class)]
    [wrote .\out\Invoice$InvoiceItem.class]
    [wrote .\out\Invoice.class]
    [checking UseInvoice]
    [loading D:\J2SDK1.6.0\lib\ct.sym(META-INF/sym/rt.jar/java/lang/Class.class)]
    [wrote .\out\UseInvoice.class]
    [total 734ms]
    [output]
    check your syntax to compile these two files, may be you can show your syntax to compile these two files
    javac [options] [classpath] source

  • Function in select statement need to be called only for the last record.

    Select state,
    local,
    fun_state_loc_other_details(19) details
    from state_local
    where pm_key=19
    resuts:_
    State Local Details
    AP APlocal details1
    UP UPLocal details1
    MP MPLocal details1
    i) The above query returns 100 records
    ii) fun_state_loc_other_details is also getting called 100 times. But I want this function to be called only for the last record that is 100th record.
    is there any way to do that?

    Thanks amatu.
    One more small query. Can I do it on condition based.
    Select state,
    local,
    fun_state_loc_other_details(19) details
    from state_local
    where pm_key=19
    Like if one state it need to be called once.
    AP -- 50 records
    UP - 20 records
    MP -- 10 records.
    fyi: this record no. varies
    I want the function to be called for AP once, UP once, MP once.

  • SQL Statement needed for Query Generator

    Dear Experts,
    My view has the following three columns.
    1, Start Date
    2. End Date
    3. Balance.
    I need an SQL statement to write in query generator, which has to check if EndDate is less than the Current date and balance is above zero. If so, it assumes the last date of the job is already over, outstanding materials not yet been returned. Hence it has to return 'Pending'. If EndDate is greater than current date, it means final date for completion of the process is yet to come. So the task is in progress, hence it has to return 'Progress'. If the balance is Zero, all materials connected with the task have been received either as a FG or as Raw Materials. So it has to return, 'Completed'. I need a singe SQL Statement for this.
    Please help me.
    Thanks in advance.
    Regards
    Anand

    Dear Anand,
    Try this one:
    CASE balance WHEN 0 THEN 'Completed' ELSE CASE WHEN DATEDIFF(DD, EndDate, GetDate()) >= 0 THEN 'Progress' ELSE 'Pending' END END
    I have assumed you don't have negative balance.  It that is not true, give me the complete case.
    Thanks,
    Gordon
    Thanks,
    Gordon

  • Two issues, purchased bamboo fun, disk for adobe has been registered under an old email. cannot access   the disk for adobe will not load onto computer states need shockwave, downloaded but the disk says it is not there

    with the bamboo fun have disk which has been registered under another old email account.  This has compounded by the inability for the adobe photoshop element unable to install onto my pc.  it continues to state, cannot install as your pc does not have the shockwave player.  I have tried to download this and it states it is installed but cannot open the file. 
    my question is cannot i have the adobe elements downloaded from internet with the serial numbers, and two need shockwave player to work,

    Well if you do not want win7 all together, then just delete all the partitions and install your XP. But if your not wanting to mess up this drive to be able to use the win7 later then just buy a cheap HDD to put XP on. --> http://www.newegg.com/Product/Product.aspx?Item=N82E16822148452 $10 off and free shipping. but being that you already tried installing XP then you already messed up win7 anyways(if you did not make the restore disks), your better off just deleting and redoing XP.
    IT Specialist and Consultant
    Lenovo Tablet Evangelist
    Current Machines: IdeaCentre A300, ThinkPad Tablet, IdeaPad U410, and Yoga 3 Pro Touch
    Deutsche Community   Comunidad en Español
    Lenovo - the latest in DOtabs, DOpads, DOcentre's, DOstations and DOservers!

  • Ipad will not synch to iTunes. States need newer version of amds, but when check amds it states I have the latest version

    Hi, eventually managed to install latest iTunes on laptop with windows 7 32 bit, but when I connect my ipad it states that I need a later version of amds and to uninstall this and iTunes then re-install iTunes. Tried this, but no-luck.
    I've checked the driver in the device manager and when I click properties and search it states that I have the latest version.
    This is driving me insane!
    Any help appreciated.
    Thanks,
    Any

    Have you run windows update?  That could prevent iTunes from properly installing.  Also, try with your antiVirus and firewall disabled.  What version of Windows are you running?
    OS X is the operating system on the Mac.
    Message was edited by: ssschmidt

  • Conditional Statements Needed

    Do you know if there is a way to make a script in Java that can represent:
    To get "Competitive Cost Savings", you must subtract "average" from "Awarded" (I have this part) I need the following: average- awarded except when there is nothing in "text1" through "text14". If there is nothing then "Competitive Cost Savings" should be 0.

    https://drive.google.com/file/d/0B5beHjrzS-i1STZCMjZJbXcwLUU/view?usp=sharing
    The link will take you to the form in its current state. I am wanting make a script in that can represent:
    To get "Competitive Cost Savings", you must subtract "average" from "Awarded" (I have this part) I need the following: average - awarded except when there is nothing in "text1" through "text14". If there is nothing then "Competitive Cost Savings" should be 0. If you type 20,000 and then look at the "Competitive Cost Savings" you will see a negative number ...it should instead be 0 unless there are other [which would be higher] prices in any of the box's below (text 1 through  text 14)
    Please help

  • Case Statement @ Switch Statement Need Help !

         private boolean n, e, s, w;
         private int pointer;
    public void setLinks(int pointer)
              if (pointer == 0)
                   n=false; e=false; s=false; w=false;
              else if(pointer == 1)
                   n=true; e=true; s=false; w=false;
              else if(pointer == 2)
                   n=false; e=false; s=true; w=true;
              else if(pointer == 3)
                   n=false; e=true; s=true; w=false;
              else if(pointer == 4)
                   n=true; e=false; s=false; w=true;
              else if(pointer == 5)
                   n=true; e=false; s=true; w=false;
              else if(pointer == 6)
                   n=false; e=true; s=false; w=true;
              else if(pointer == 7)
                   n=true; e=true; s=true; w=true;
              else if(pointer == 8)
                   n=false; e=true; s=true; w=true;
              else if(pointer == 9)
                   n=true; e=false; s=true; w=true;
              else if(pointer == 10)
                   n=true; e=true; s=false; w=true;
              else if(pointer == 11)
                   n=true; e=true; s=true; w=false;
         }Plz advice me how to change this statement into a case/switch statement

    multi post
    http://forum.java.sun.com/thread.jspa?threadID=5277360&tstart=0

  • [RUIAUTO] Invalid Packet State needs to go away...

    Hi yall, frustrated to my wits' end here. Long story short: Have had MIFI 4510L for over a year now, 2 months ago started noticing disconnects while playing Eve Online, at first they were random and just mildly annoying. As time wore on they got worse eventually escalating to a point where i would get d/c'd multiple times per hour. Learned how to check my logs and find this:
    09/09/12 17:52:48> Current Time
    09/09/12 17:52:24> HDR/EvDO Out of Dormant State
    09/09/12 17:52:23> HDR/EvDO in Dormant State
    09/09/12 17:52:06> NWPM_EVENT_CALL_CONNECTED
    09/09/12 17:52:06> HDR/EvDO Connected
    09/09/12 17:51:56> NWPM_EVENT_CALL_END
    09/09/12 17:51:56> HDR/EvDO Disconnected
    09/09/12 17:51:56> [RUIAUTO] Invalid packet state
    09/09/12 17:51:55> HDR/EvDO in Dormant State
    09/09/12 17:50:19> HDR/EvDO Out of Dormant State
    09/09/12 17:50:17> HDR/EvDO in Dormant State
    09/09/12 17:41:46> HDR/EvDO Out of Dormant State
    09/09/12 17:41:45> HDR/EvDO in Dormant State
    09/09/12 17:40:13> First opening Index.html
    09/09/12 17:40:03> NWPM_EVENT_CALL_CONNECTED
    09/09/12 17:40:03> HDR/EvDO Connected
    09/09/12 17:39:53> NWPM_EVENT_CALL_END
    09/09/12 17:39:53> HDR/EvDO Disconnected
    09/09/12 17:39:53> [RUIAUTO] Invalid packet state
    09/09/12 17:39:52> HDR/EvDO in Dormant State
    09/09/12 17:38:07> HDR/EvDO Out of Dormant State
    09/09/12 17:38:06> HDR/EvDO in Dormant State
    So I called verizon, and have received a completely new replacement device, new SIM card, heck I even purchased an antennae system that gives me constant great connection to EvDO service, and though i did notice the frequency of the errors drop when I got the new device, im still dealing with multiple errors per hour here, in fact, I had one just now as I write this. I have tried all the different levels of resets in the world, and I'm starting to think this is just going to have to be my internet experience, found a 9 month old thread about this same problem, where it appears simply upgrading the firmware helped the guy, running at full updated firmware on my machine though.
    At first I was afraid it was software related, since it seemed like it started whenever I started playing Eve Online, however, my girlfriend spends time on the internet on her computer when I'm not on Eve and the errors still continue, though not as noticeably when you're just browsing the internet(Eve really hates it when you change your external IP during the middle of play, I'm bringing this issue to the developers as well).
    So I guess the only other probable cause for this problem is a problem with the cell towers in the area? I don't know, I'm just reaching for answers here, this is my only way to have internet with above dial-up speeds, so it looks like I'm just going to have to grin and take it...thank you for your consideration!

        Good afternoon, ash811-
    I'm sorry to learn of the difficulties this is causing you. I understand how this could be mildly to very annoying! What operating system are you using, Windows or Mac? Also, which version? Did you hear back from the developers of the online game yet? I did research and found nothing related to any recent software version for the 4510L. Please ensure the MiFi has the latest software update (steps: http://bit.ly/RrpmPY ). Additionally, please make sure there is no conflicting antivirus or firewall/security on the computer. Keep me posted!
    Thank you,
    AdamE_VZW
    Follow us on Twitter @VZWSupport

  • Long running update statement needs a performance improve.

    Hi,
    I have the following update statement which runs for over 3 hours and updates 215 million rows, is there anyway I can rewrite it so it performs better?
    UPDATE TABLE1 v
            SET closs = (SELECT MIN(slloss)
                               FROM TABLE2 l
            WHERE polnum = slpoln
            AND      polren = slrenn
            AND      polseq = slseqn
            AND      vehnum = slvehn
            AND      linecvg = sllcvg);Here is the execution plan:
    PLAN_TABLE_OUTPUT
    | Id  | Operation                     | Name        | Rows  | Bytes | Cost (%CPU)|
    |   0 | UPDATE STATEMENT              |             |   214M|  4291M|  2344K  (2)|
    |   1 |  UPDATE                       | TABLE1      |       |       |            |
    |   2 |   TABLE ACCESS FULL           | TABLE1      |   214M|  4291M|  2344K  (2)|
    |   3 |   SORT AGGREGATE              |             |     1 |    21 |            |
    |   4 |    TABLE ACCESS BY INDEX ROWID| TABLE2      |     1 |    21 |     5   (0)|
    |   5 |     INDEX RANGE SCAN          | TABLE2_N2   |     2 |       |     3   (0)|
    ----------------------------------------------------------------------------------Here are create table statements for TABLE1(215million rows) and TABLE2(1million rows):
    CREATE TABLE  TABLE2 (SLCLMN VARCHAR2(11 byte),
        SLFEAT NUMBER(2), SLPOLN NUMBER(9), SLRENN NUMBER(2),
        SLSEQN NUMBER(2), SLVEHN NUMBER(2), SLDRVN NUMBER(2),
        SLCVCD VARCHAR2(6 byte), SLLCVG NUMBER(4), SLSABB
        VARCHAR2(2 byte), SLPRCD VARCHAR2(3 byte), SLRRDT
        NUMBER(8), SLAYCD NUMBER(7), SLCITY VARCHAR2(28 byte),
        SLZIP5 NUMBER(5), SLCEDING VARCHAR2(1 byte), SLCEDELOSS
        VARCHAR2(1 byte), SLRISKTYPE VARCHAR2(1 byte), SLVEHDESIG
        VARCHAR2(1 byte)) 
        TABLESPACE S_DATA PCTFREE 10 PCTUSED 0 INITRANS 1
        MAXTRANS 255
        STORAGE ( INITIAL 106496K NEXT 0K MINEXTENTS 1 MAXEXTENTS
        2147483645 PCTINCREASE 0)
        NOLOGGING
        MONITORING;
    CREATE TABLE  TABLE1 (POLNUM NUMBER(9) NOT NULL,
        POLREN NUMBER(2) NOT NULL, POLSEQ NUMBER(2) NOT NULL,
        VEHNUM NUMBER(2) NOT NULL, CVGCODE VARCHAR2(8 byte) NOT
        NULL, LINECVG NUMBER(4), MAINVEH CHAR(1 byte), MAINCVG
        CHAR(1 byte), CVGLIMIT VARCHAR2(13 byte), CVGDED
        VARCHAR2(10 byte), FULLCVG CHAR(1 byte), CVGGRP CHAR(4
        byte), CYCVG CHAR(1 byte), POLTYPE CHAR(1 byte),
        CHANNEL CHAR(2 byte), UWTIER VARCHAR2(6 byte), SUBTIER
        VARCHAR2(6 byte), THITIER VARCHAR2(3 byte), COMPGRP
        VARCHAR2(8 byte), PRODGRP VARCHAR2(6 byte), UWSYS
        VARCHAR2(6 byte), BRAND VARCHAR2(8 byte), COMP NUMBER(2),
        STATE CHAR(2 byte), PROD CHAR(3 byte), RRDATE DATE,
        STATENUM NUMBER(2), EFT_BP CHAR(1 byte), AGYCODE
        NUMBER(7), AGYSUB CHAR(3 byte), AGYCLASS CHAR(1 byte),
        CLMAGYCODE NUMBER(7), AGYALTCODE VARCHAR2(25 byte),
        AGYRELATION VARCHAR2(10 byte), RATECITY VARCHAR2(28 byte),
        RATEZIP NUMBER(5), RATETERR NUMBER, CURTERR NUMBER,
        CURRRPROD CHAR(6 byte), CURRRDATE DATE, RATESYMB NUMBER,
        SYMBTYPE CHAR(1 byte), CVGTERR NUMBER(3), CVGSYMB
        NUMBER(3), VEHTERR NUMBER, VEHYEAR NUMBER, VEHMAKE
        VARCHAR2(6 byte), VEHMODEL VARCHAR2(10 byte), VEHSUBMOD
        VARCHAR2(10 byte), VEHBODY VARCHAR2(6 byte), VEHVIN
        VARCHAR2(10 byte), VEHAGE NUMBER(3), VEHSYMB NUMBER,
        DRVNUM NUMBER, DUMMYDRV CHAR(1 byte), DRVAGE NUMBER(3),
        DRVSEX VARCHAR2(1 byte), DRVMS VARCHAR2(1 byte), DRVPTS
        NUMBER(3), DRVPTSDD NUMBER(3), DRVGRP CHAR(7 byte),
        DRVSR22 VARCHAR2(1 byte), DRVVTIER CHAR(2 byte),
        BUSUSESUR CHAR(1 byte), EXCLDRVSUR CHAR(1 byte),
        CSCODED NUMBER(5), CSACTUAL NUMBER(5), CSOVERRD
        NUMBER(5), ANNMILES NUMBER(6), DLORIGDATE DATE,
        DLLASTDATE DATE, DLMONTHS NUMBER(6), MATUREDSC CHAR(1
        byte), PERSISTDSC CHAR(1 byte), ANNUALMILES_RANGE
        VARCHAR2(25 byte), CEDEDLOSS VARCHAR2(1 byte), CEDEDPOL
        VARCHAR2(1 byte), CEDEDCVG VARCHAR2(1 byte),
        CONSTRAINT TABLE1_PK PRIMARY KEY(POLNUM, POLREN,
        POLSEQ, VEHNUM, CVGCODE)
        USING INDEX 
        TABLESPACE V_INDEX
        STORAGE ( INITIAL 3874816K NEXT 0K MINEXTENTS 1 MAXEXTENTS
        2147483645 PCTINCREASE 0) PCTFREE 10 INITRANS 2 MAXTRANS 255)
        TABLESPACE U_DATA PCTFREE 10 PCTUSED 0 INITRANS 1
        MAXTRANS 255
        STORAGE ( INITIAL 4194304K NEXT 0K MINEXTENTS 1 MAXEXTENTS
        2147483645 PCTINCREASE 0)
        NOLOGGING
        MONITORING;Thank you very much!

    user6053424 wrote:
    Hi,
    I have the following update statement which runs for over 3 hours and updates 215 million rows, is there anyway I can rewrite it so it performs better?
    UPDATE TABLE1 v
    SET closs = (SELECT MIN(slloss)
    FROM TABLE2 l
    WHERE polnum = slpoln
    AND      polren = slrenn
    AND      polseq = slseqn
    AND      vehnum = slvehn
    AND      linecvg = sllcvg);
    Are you trying to perform a correlated update? If so, you can perform something similar to;
    Sample data;
    create table t1 as (
       select 1 id, 10 val from dual union all
       select 1 id, 10 val from dual union all
       select 2 id, 10 val from dual union all
       select 2 id, 10 val from dual union all
       select 2 id, 10 val from dual);
    Table created
    create table t2 as (
       select 1 id, 100 val from dual union all
       select 1 id, 200 val from dual union all
       select 2 id, 500 val from dual union all
       select 2 id, 600 val from dual);
    Table createdThe MERGE will update each row based on the maximum for each ID;
    merge into t1
    using (select id, max(val) max_val
           from t2
           group by id) subq
    on (t1.id = subq.id)
    when matched then update
        set t1.val = subq.max_val;
    Done
    select * from t1;
            ID        VAL
             1        200
             1        200
             2        600
             2        600
             2        600If you want all rows updated to the same value then remove the ID grouping from the subquery and from the ON clause.

  • Cannot open doc perviously saved with pages v5.0. Message states need latest version which I have!

    Having created a new document using latest Pages ,v 5.0 (downloaded when I upgraded from Mountain Lion to OSX Mavericks) and saved it, when I try to open it, I get a message, " You need a newer version of Pages to open this document." The strange thing is that all my other previous docs created using iWorks , Pages, version 09, open successfully when I double click on them, although they now contain the "improvements" introduced by the upgrade to latest version of Pages. Can anyone suggest why new docs cannot open when created recently with the latest version.

    Pages 5.0 is indeed the latest version, but are you sure you're using Pages 5.0 to open the document?
    The Pages icon should look like this:
    If it doesn't, you're actually using an older version of Pages to open the document.  This is quite possible, because the Pages update didn't always place the new icon in your dock.
    If the new icon is not in your dock, find it in your Applications folder and drag it there.  You can drag the old one off your dock as well.

  • Filter data using where statement : need to filter a variable if it starts

    Hi,
    in my loop statment , i am using a where condition.
    a variable has numbers and characters , i want to filter the variable using where statement identifying if it is acharacter not to enter into the loop.
    any suggestions . Thanks in advance.
    regards,
    Ry

    Hi ,
    try like this
    data:l_file_data(20) type c,
    oref   TYPE REF TO cx_root.
    data: l_amount type p decimals 2.
    l_file_data = '12A3'.
    try.
    l_amount = l_file_data.
    catch cx_root into oref.
    endtry.
    if oref is not initial.
    write: 'Miss Match'.
    endif.
    regards
    Prabhu

  • Drop Down List Function Statement needed

    Hello People,
    Happy Thursday for Starters. Its Almost Friday. :-)
    I have a drop down list, I would like to have a different subform populate with each value on the subform. example
    1 = Bob Subform
    2 = Holly Subform
    And so on.
    I have 22 values in the list and each need to populate a different subform. can Someone help me out real fast? I'd like to clean this up for the long weekend.
    Thanks a bunch

    You will have to create all 22 subforms that could possibly be displayed. Mark them all as hidden. Then when the user makes a selection in the drop down, on the exit event of your dropdown your code woudl look something like this:
    xfa.resolveNode("xfa.form.form1.Page1." + DropDown.rawValue (appropriate subform name)".presence = "visible"
    Make sure you set up your form as a fowed form. If the user decides to select a different name after the 1st one is displayed, then you can hide any subforms that are showing or simply make the appropriate subform visiable as well. It will be added after the last one.

  • Report statement need

    What is the main purpose of Report XYZ statement in the report?

    Good question!!
    Refer to the below link:
    Link: http://help.sap.com/erp2005_ehp_03/helpdata/EN/c3/225b5354f411d194a60000e8353423/frameset.htm
    Summary: It is an introductory statement and we can specify the message class for the program in this statement. There is no difference between PROGRAM and REPORT types. But for other program types the keyword generated should not be changed manually.
    Thanks and Regards,
    Lakshmi.

Maybe you are looking for

  • Problems with PS and AU with CC

    Hi, I am very annoyed with CC!!!! Before, I used the trial of PS and changed to CC when the trial was finished. I've bought CC but I still cannot use PS!!!!!! Every time I open it, it asked my about serial number!!!! I know there is no serial number

  • Large file when saving as PDF

    If I save a text doc with graphics as PDF, the resultant file size is huge, even when the original graphic is very small. For example, if I paste in a graphic of only a few 100k, after saving to PDF the document can exapnd to several Mb! Saving exact

  • If I want to Reinstall tiger , is it necessary , to

    First reinstall the original CDs that came with my iMAC G5 ? or, is it better to do so ?, iLife6 has created too many problems and I was fine with #5, I can wait to reinstall it at a latter date, I have already-done it once and some how it returned ,

  • Will VZW corporate stores have iPhone 6  in stock on launch day like apple?

    Looking to switch my plan to Verizon Edge and I can't do that at apple so I would need to do it at a Verizon Corporate store. 

  • Firmware update 3.0

    Hi! everybody,I reinstalled os 9 and when I restarted the computer a special note said something like « firware update 3.0 blablabla»and it stay there. Even if I try to open with the startup disk It always does the same thing. It is like a DOS writin