Performacne Query - general

It performs better in the below 2 SQLs
SQL 1
Insert into Table1
Select col1, col2, col3 from table2
union all
Select col1, col2, col3 from table3
union all
Select col1, col2, col3 from table4
SQL 2
if condition 1 
then

Insert into Table1
Select col1, col2, col3 from table2;

elsif condition 2 then
Select col1, col2, col3 from table3;

elsif condition 3 then
Select col1, col2, col3 from table4;

end if;
The two inserts data in Table1. Check the status and the insertion in the Table separately is better or insertion with UNION regardless of the State's better?

Hello

CP says:
It performs better in the below 2 SQLs
SQL 1

Insert into Table1
Select col1, col2, col3 from table2
union all
Select col1, col2, col3 from table3
union all
Select col1, col2, col3 from table4

SQL 2

if condition 1
then

Insert into Table1
Select col1, col2, col3 from table2;

elsif condition 2 then
Select col1, col2, col3 from table3;

elsif condition 3 then
Select col1, col2, col3 from table4;

end if;

Those who aren't equivalnt.
SQL 1 inserts data in all tables of 3 and do the same thing, no matter the conditions 1, 2 and 3.
SQL 2 inserts data from (at least) one of these tables, depending on the conditions.

The two inserts data in Table1.

Both can insert data in Table1. In general, it won't have the same data.

Check the status and the insertion in the Table separately is better or insertion with UNION regardless of the State's better?

Usually, we say that if the method product has good results and B approach does not work, then A is better than B. If both A and B produce the same results, then we could study the performance as a tiebreaker. Once again, in the example you posted, if both approaches produce the same results, it is purely a coincidence.

When you ask
"that is running better?", I guess that what you are really interested is
"one who performs better on my system with my data and my index finger? You are in a better position to answer this question that foreigners who do not have access to your system, your data, or your index. If you want to know, post your exact SQL code and execution plans. See the FAQ forum {message identifier: = 9360003}

The UNION tends to be slow. I've seen several cases where there are possible cases of N, depnding conditions is handled by a big SQL statement (using the UNION and/or CASES and or joints), and performace has been improved by testing the conditions first, in PL/SQL and then performing 1 n much more simple SQL statements. I've also seen cases where the opposite was true, but not nearly as much.

Tags: Database

Similar Questions

  • BlackBerry Travel Email all broken...

    So, before posting, I did my research on people with problems.  Mine is simple - I can not add a secondary to my account on travel.blackberry.com.  I always get informative, "Impossible to execute the query (General error)".

    This guy cannot change sound:

    http://supportforums.BlackBerry.com/T5/Web-and-WebWorks-development/BlackBerry-travel-constant-error...

    I get the same error as him.  It is quite climb!  Someone can it correct NICELY.  Please, I beg you!

    Thank you

    Mark

    Yep - only on entry, and then clicking Add. I even went so far as to enter another email with the same domain, which was a - OK. Remove the [email protected] and replace it with the inactive user doesn't = no dice. Same mistake. It's the slap! I wonder if they recorded it somewhere else in the system? (Re: it is mapped to another user of travel). I have never used the system before is a bit weird. I even went and tried to get into some e-mail to worldmate addresses to see if there is a conflict - no record.

  • Estimate of poor cardinality using Bind Variables

    Hi I'm using the 11.2.0.4.0 Oracle version. I have a query that is underway for the plan of the poor execution by the estimate of poor cardinality for two tables (I've extracted and published this part only) as I mentioned below, the individual conditions for which the estimate goes bad and moving entire query execution path.

    These are for two tables and currently we use BIND variable for them in our code, and I notice, its best estimate gives with literals. I need to know how to handle this scenario that I need this query to execute for all types of volumes. Is there something I can do without changing the code, as it works well for most of the execution? In the current scenario of the main query that uses those below tables providing a plan (index + nested loop) that works very well for small volume, but running for 10 hr + for large volume as ideally its going to the same regime.
    And Yes, most time that this request will be hit for small volume, but killing some appearance of large volume presents the performance of the queries.


    Here are the values of the variable binding.

    B1 VARIABLE VARCHAR2 (32);
    B2 VARIABLE VARCHAR2 (32);
    B3 VARIABLE NUMBER;
    B4 VARIABLE VARCHAR2 (32);
    B7 VARIABLE VARCHAR2 (32);
    B5 VARIABLE NUMBER;
    B6 VARIABLE NUMBER;

    EXEC: B1: = 'NONE ';
    EXEC: B2: = NULL;
    EXEC: B3: = 0;
    EXEC: B4: = NULL;
    EXEC: B7: = NULL;
    EXEC: B5: = 0;
    EXEC: B6: = 0;

    ---- For  TABLE1-------
     -- Published Actual VS Etimated cardinality
     
     
    -- With bind values
    select * from TABLE1 SF
    WHERE (   (SF.C1_IDCODE = :B4) OR (NVL (:B4, 'NONE') = 'NONE'))
        AND ( (SF.C2_ID = :B3) OR (NVL (:B3, 0) = 0));
    Plan hash value: 2590266031
    -----------------------------------------------------------------------------------------------------------------------------------------------
    | Id  | Operation                 | Name                | Starts | E-Rows | A-Rows |   A-Time   | Buffers | Reads  |  OMem |  1Mem | Used-Mem |
    -----------------------------------------------------------------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT          |                     |      1 |        |  28835 |00:00:00.08 |    2748 |     46 |       |       |          |
    |*  1 |  TABLE ACCESS STORAGE FULL| TABLE1              |      1 |     11 |  28835 |00:00:00.08 |    2748 |     46 |  1025K|  1025K|          |
    -----------------------------------------------------------------------------------------------------------------------------------------------
    Predicate Information (identified by operation id):
    ---------------------------------------------------
       1 - storage((("SF"."C1_IDCODE"=:B4 OR NVL(:B4,'NONE')='NONE') AND ("SF"."C2_ID"=:B3 OR NVL(:B3,0)=0)))
           filter((("SF"."C1_IDCODE"=:B4 OR NVL(:B4,'NONE')='NONE') AND ("SF"."C2_ID"=:B3 OR NVL(:B3,0)=0))) 
     
    -- With literals 
    select * from TABLE1 SF
     WHERE  (   (SF.C1_IDCODE = null) OR (NVL (null, 'NONE') = 'NONE'))
          AND ( (SF.C2_ID = 0) OR (NVL (0, 0) = 0));
       Plan hash value: 2590266031
    --------------------------------------------------------------------------------------------------------------------------------------
    | Id  | Operation                 | Name                | Starts | E-Rows | A-Rows |   A-Time   | Buffers |  OMem |  1Mem | Used-Mem |
    --------------------------------------------------------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT          |                     |      1 |        |  28835 |00:00:00.03 |    2748 |       |       |          |
    |   1 |  TABLE ACCESS STORAGE FULL| TABLE1              |      1 |  28835 |  28835 |00:00:00.03 |    2748 |  1025K|  1025K|          |
    --------------------------------------------------------------------------------------------------------------------------------------
    
    --------For TABLE2 ----------------------- 
    -- Published Autotrace plan, as it was taking long time for completion, and actual cardinality is 45M, but its estimating 49 With bind value---
    
    --withbind value
    select * from TABLE2 MTF
    WHERE (   (MTF.C6_CODE = TRIM (:B2)) OR (NVL (:B2, 'NONE') = 'NONE'))
      AND (   (MTF.C3_CODE = :B1)  OR (NVL (:B1, 'NONE') = 'NONE'))
      AND (   (MTF.C4_CODE = :B7)  OR (:B7 IS NULL))
      AND (   (MTF.C5_AMT <= :B6)  OR (NVL (:B6, 0) = 0))
      AND (   (MTF.C5_AMT >= :B5)  OR (NVL (:B5, 0) = 0));
    Execution Plan
    ----------------------------------------------------------
    Plan hash value: 1536592532
    -----------------------------------------------------------------------------------------------------------
    | Id  | Operation                  | Name         | Rows  | Bytes | Cost (%CPU)| Time     | Pstart| Pstop |
    -----------------------------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT           |              |    49 | 10437 |   358K  (1)| 01:11:43 |       |    |
    |   1 |  PARTITION RANGE ALL       |              |    49 | 10437 |   358K  (1)| 01:11:43 |     1 |  2 |
    |*  2 |   TABLE ACCESS STORAGE FULL| TABLE2       |    49 | 10437 |   358K  (1)| 01:11:43 |     1 |  2 |
    -----------------------------------------------------------------------------------------------------------
    Predicate Information (identified by operation id):
    ---------------------------------------------------
       2 - storage(("MTF"."C4_CODE"=:B7 OR :B7 IS NULL) AND ("MTF"."C3_CODE"=:B1 OR
                  NVL(:B1,'NONE')='NONE') AND ("MTF"."C5_AMT"<=TO_NUMBER(:B6) OR NVL(:B6,0)=0) AND
                  ("MTF"."C5_AMT">=TO_NUMBER(:B5) OR NVL(:B5,0)=0) AND ("MTF"."C6_CODE"=TRIM(:B2) OR
                  NVL(:B2,'NONE')='NONE'))
           filter(("MTF"."C4_CODE"=:B7 OR :B7 IS NULL) AND ("MTF"."C3_CODE"=:B1 OR
                  NVL(:B1,'NONE')='NONE') AND ("MTF"."C5_AMT"<=TO_NUMBER(:B6) OR NVL(:B6,0)=0) AND
                  ("MTF"."C5_AMT">=TO_NUMBER(:B5) OR NVL(:B5,0)=0) AND ("MTF"."C6_CODE"=TRIM(:B2) OR
                  NVL(:B2,'NONE')='NONE'))
      
    -- with literal
    select * from TABLE2 MTF
    WHERE (   (MTF.C6_CODE = TRIM (null)) OR (NVL (null, 'NONE') = 'NONE'))
     AND (   (MTF.C3_CODE = 'NONE') OR (NVL ('NONE', 'NONE') = 'NONE'))
      AND (   (MTF.C4_CODE = null)  OR (null IS NULL))
       AND (   (MTF.C5_AMT <= 0)  OR (NVL (0, 0) = 0))
      AND (   (MTF.C5_AMT >= 0)  OR (NVL (0, 0) = 0));
    Execution Plan
    ----------------------------------------------------------
    Plan hash value: 1536592532
    -----------------------------------------------------------------------------------------------------------
    | Id  | Operation                  | Name         | Rows  | Bytes | Cost (%CPU)| Time     | Pstart| Pstop |
    -----------------------------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT           |              |    45M|  9151M|   358K  (1)| 01:11:41 |       |    |
    |   1 |  PARTITION RANGE ALL       |              |    45M|  9151M|   358K  (1)| 01:11:41 |     1 |  2 |
    |   2 |   TABLE ACCESS STORAGE FULL| TABLE2 |    45M|  9151M|   358K  (1)| 01:11:41 |     1 |  2 |
    -----------------------------------------------------------------------------------------------------------
    
    select column_name,num_nulls,num_distinct,density
    from dba_tab_col_statistics where table_name='TABLE2'
    and column_name in ('C3_CODE','C4_CODE','C5_AMT','C6_CODE');
    C3_CODE 0 65 0.0153846153846154
    C4_CODE 0 2 0.5
    C5_AMT 0 21544 4.64166357222429E-5
    C6_CODE 1889955 71 0.0140845070422535
    
    

    933257 wrote:

    ((SF. C1_IDCODE =: B4) OR (NVL (: B4, 'NONE') = 'NONE'))

    In fact for literals, I did not find any section of the predicate after running the sql code with activation "set autotrace traceonly explain."

    The main problem is with another large query whose cardinality is underestimated due to the presence of these table (table1, table2) with the above mentioned clause, and the query is for the analysis of index + nested with values of Bind loops and take 10 hr +, whereas with literals, its completion in ~ 8minutes with FTS + Hash Join.

    Your real problem is that you try to have just a single SQL query handle all POSSIBLE thanks to the use of embedded FILTERS ' either / or ' filters in the WHERE clause.  You want only a select this OPTION to run whatever filters have been selected at run time by the user or the application using it.  And it would never work.  You really need to SELECT different queries for different combinations of filter conditions.

    Why?  Think for a minute.  How Oracle works internally?  A SQL SELECT query gets analyzed and an execution plan is produced which is stored in the library cache and gets REUSED on all subsequent executions of this query - except in certain cases where there may exist several plans run through several cursors of the child.  So with only SELECT a query you only AN execution plan in the library cache, to be used by all THE executions of this query, regardless of the value of your run-time binding variables.

    Lets put another way - each library cache execution plan is associated with a SQL statement.  If you want a DIFFERENT execution plan then you need run a DIFFERENT SQL statement.  That's how you get a different execution plan - by running a different SQL statement.  Running the SAME SQL query generally you will get the SAME execution plan every time.

    In addition, because of the "either / or" filters that you use you will end up generally with a full Table Scan on each of the referenced tables.  Why?  Given that the optimizer must produce an implementation plan that manages all possible contingencies for all values of possible bind variables in the SELECT.  If the optimizer should choose to use any index based on one of these "either / or" filters then it would only help performance when real value was provided, but it would be really bad if a NULL value was supplied.  If the optimizer ends up ignoring the index because they are not always optimal for all possible input values and instead chose a plan that is "good enough" for all input values possible.  That means that it will use a scanning Table full.

    I hope you can see that it is precisely what is happening for you with your query.  You select this OPTION to manage the different combinations of filter, which leads to the execution plan only one, which leads to scans full Table on the referenced tables in these ' either / or ' filters.

    The solution?  Build queries SELECT DIFFERENT when input values are NULL.  How you do that?  Read this article to ask Tom that tells you:

    http://www.Oracle.com/technetwork/issue-archive/2009/09-Jul/o49asktom-090487.html

    To sum up - when you have real value for a bind variable 'bind_var1' add the following filter to your CHOICE:

    AND column_name1 =: bind_var1

    When the binding variable is NULL, add the filter according to your CHOICE:

    AND (1 = 1 OR: bind_var1 IS NULL)

    Now, you'll have 2 queries SELECT must be performed, which have exactly the same number of variables in the same order bind, which is important.  When you then run one of these variations, Oracle can analyze and optimize each one SEPARATELY, with a single execution by the SELECT query plan.

    When you provide a real value, the filter is a normal 'column = value' that the optimizer can use all indexes on this column, because NULL values are not referenced.

    When there is no real value, the optimizer will analyze the '1 = 1 GOLD' and realize that "1 = 1" is set to TRUE and GOLD, it is quite TRUE regardless because the binding variable is null or not.  This means that the optimizer will actually REMOVE this filter, because it filters nothing because it is always TRUE.  You will end up with an operating plan based on the other filters in the query, which is what you want because you have no filter on this column.

    What is it - producing distinct SELECT queries to determine if you have a real value to filter or not you end up with DIFFERENT execution plans for each of them, and each of them is OPTIMAL for this particular set of filters.  Now you get good performance for each variation of the performance of the SELECTION, rather than sometimes good and sometimes very bad when using SELECT only one.  It is impossible to try to get multiple shots of execution 'optimal' out of a SELECT query.  That's why you get mediocre performance under different bound the values of the variables.

    John Brady

  • UNION keyword should not

    I'm trying to get the following union query on my coldfusion site:

    < name cfquery = "committee_record."

    DataSource = "AS400a CMTLIB".

    MaxRows = 100

    DbType = "ODBC" >

    SELECT MBRESMPF. MBMID,

    MBRESMPF. MBCYR,

    MBRESMPF. MBCCD,

    MBRESMPF. MBDCD,

    UCase (COMITEPF. CMNAM) AS COM,.

    MBRESMPF. MBMRC,

    UCase (RANKSPF. RKDSC) AS rank.

    MBRESMPF. MBRPT,

    MBRESMPF. SPORT,

    MBRESMPF. MBERP,

    UCase (DIVISNPF. DVNAM) LIKE DIV

    FROM MBRESMPF INNER JOIN RANKSPF ON MBRESMPF. MBMRC = RANKSPF. RKCDE LEFT JOIN COMITEPF ON MBRESMPF. MBCYR = COMITEPF. CMCYR AND MBRESMPF. MBCCD = COMITEPF. CMCCD AND MBRESMPF. MBDCD = COMITEPF. CMDCD LEFT JOIN DIVISNPF ON MBRESMPF. MBDYR = DIVISNPF. DVDYR AND MBRESMPF. MBDCD = DIVISNPF. DVDCD

    WHERE MBRESMPF. MBMRC <>"ORCDVPRN4" AND MBRESMPF. MBMRC <>'ORCIPDRNS' AND MBMID = #id_number #.

    ORDER OF MBRESMPF. MBMID, MBRESMPF. MBCYR / / DESC

    UNION SELECT MBRESMPF. MBMID,

    MBRESMPF. MBCYR,

    MBRESMPF. MBDCD,

    MBRESMPF. MBDCD,

    UCase (DIVISNPF. DVNAM) AS COM,.

    MBRESMPF. MBMRC,

    UCase (RANKSPF. RKDSC) AS rank.

    MBRESMPF. MBRPT,

    MBRESMPF. SPORT,

    MBRESMPF. MBERP,

    UCase (DIVISNPF. DVNAM) LIKE DIV

    FROM MBRESMPF INNER JOIN RANKSPF ON MBRESMPF. MBMRC = RANKSPF. RKCDE LEFT JOIN DIVISNPF ON MBRESMPF. MBDYR = DIVISNPF. DVDYR AND MBRESMPF. MBDCD = DIVISNPF. DVDCD

    WHERE MBRESMPF. MBMRC = "ORCDVPRN4" OR MBRESMPF. MBMRC = 'ORCIPDRNS' AND MBMID = #id_number #.

    ORDER OF MBRESMPF. MBMID, MBRESMPF. MBCYR / / DESC

    < / cfquery >

    But I get the following error message:

    Error Diagnostic information

    Of ODBC error code = 37000 (syntax error or access violation)

    [IBM] [iSeries Access ODBC Driver] [DB2 UDB] SQL0199 - keyword UNION should not. Let's take valid: TO USE SKIP WAIT WITH FETCH OPTIMIZE.

    The error occurred while processing an element with a general identifier of (CFQUERY), occupying the position of document (19:1) (22:23).

    This query works for me no problem in Microsoft Access.  Someone at - it suggestions?

    Thank you!

    I'm surprised that it works in Access, but from my experience a UNION query generally expected a single ORDER BY the end (a recordset that is the result of the union is so orderly and not to each recordset that contributes to the union)?  I'm not able to test this right now, sorry.

    --

    Adam

  • How to query and make general dashboards with BSO cubes

    Hello community,

    Does anyone have the General information on how to make dashboards and repository with bso cubes. We did some dashboards with a few cubes of aso, but we know not even how do data appear in an analysis with bso cubes. We really don't know a lot about the difference between these types of cubes. Help demo or resources would be appreciated.

    Thank you!

    Hello

    If you have managed to do with a cube ASO just do the same.

    The ASO or OSB cubes in the end are cubes...

    The different main, that's how you build your cubes as they probably contains different things with different structures.

    Remember that ASO cubic automagically total when you query it, a BSO cube does almost nothing in itself, so if you don't calculate it you have generally not all aggregates, etc.

    If you failed to get the data of your OSB the question is probably more your cube itself: there data? is it calculated? (if you are using SmartView you something?) you model right? etc.

  • General SQL query

    HELO all,.

    I have an example table

    ID TITLE

    1 pound
    Book 2
    3 magazine
    4 journal
    Journal 5
    6 journal
    7 comics

    I am trying to write a query to find all titles with several id s (have several identifiers for the journal and the book of exodus). I came up with the following query:

    Select *.
    sample
    title where
    (select title from title example where in)
    (select title of sample where id! = 1).
    "and id = 1);

    but the problem is with the query above, I have to continue to change the id to find these files, table is to have many more records like this and it would take forever this way. Can someone find me all securities with multiple IDs at a time instead of change the new id help please.

    Thanks in advance!

    Hello

    In this case, use

    COUNT (DISTINCT id)
    

    where I said

    COUNT (*)
    

    (if you want a row of output for each title) or where Andreas says

    COUNT (title)
    

    (if you want a row of output for each row in the table).

    Whatever it in either, that assumes that the id is never NULL.

  • L2l Tunnel between 2POIGNEES: general query on ACL sheep/crypto

    Hi all

    For the L2L tunnel between 2POIGNEES work very well, we configure normally same network to network - sheep & cryptos ACL on both ends of the SAA. My question is...

    It will work without any problem, if on one end of the ASA, the ACL sheep & crypto are combined to form the group object (to limit the ASA configs) and on the other end address net net address ACL sheep & crypto still exists (not consolidated in the Group of objects)... ? If it works, it works even if the tunnel is between ASA--> router.

    Thanks in advance

    MS

    MS, it will work if the other side does not use the same scenario of acl consolidated using groups of objects. ACLs and groups of objects are significant locally on the device.

    You can consolidate the ACLs on the ASA/PIX using TCP or UDP-groups of objects or groups of objects network and that your acl to the respective object-group, they always have the same effect as when they have been configured individually line by line.

    This works even if the tunnel is between ASA--> router

    Yes

    HTH

    Jorge

  • Cloning of general query

    Are there any good guides on cloning a VM (explaining the whole process)?

    There is a similar thread with the same discussion, see if it can help

    How the cloning process works in the background?

    Or refer following link,.

    Understanding of the Clones

  • Order General questioning of IEC 60870-5-104

    Dear all,

    I use the NI Communications toolkit to create slave IEC 60870-5-104 (station controlled).

    I use s/w of Triangel microworks part and use it as the master for the same. I am able to send and receive the bulk of orders with the examples provided with the Toolkit to "C:\Program NIUninstaller Instruments\LabVIEW 2012\examples\IEC60870-5,

    I am not able to find a way to capture the "questioning general command" from the server.

     

    Can someone help me how to proceed with this.

    Thank you.

    Hi Frabto,

    The development team has had some great insights below. I have bad informed you (sorry!) behavior, that the command general question should be processed automatically in the communication stack.

    First the order of query sent to control the station may request the complete(station interrogation) or a subset (group interview) of all the data points on the control station. NEITHER 60870-5 to the command station supports the command when the control station receives an order of questioning of the station, it will reply with all the values of the data points. If the Group interrogation command, it will reply with the values of the data points that belong to the group. Users are not able to detect whether the query command is received or not, is automatically handled inside the battery, it allows users of the VI called "Set Group.vi" inside the VI polymorphic "set Property.vi" to set a point to be one of the 16 groups and you can see the usage with the example 'Interrogate information in Group.vi objects' in the folder of the example 60870-5.

    You shouldn't need to do anything to respond to a command of the interrogation. The station will automatically answer. I hope that I did not cause you too much confusion on this point.

  • Eurotherm EPower controller: query problem

    Hello

    I have a problem with communicating with a controller Eurotherm EPower (with 4 units) by OPC server.

    I use:

    -LV 8.5.1

    -iTools OPC Server 7.50 with a number of product formed the social reason (active license)

    -EPower Firmware v3.01

    Communication between LV and OPC server is made by "DataSocket write" and "Read DataSocket".

    I can write => values without problem I only write Main.SP on the evolution of events user and everything's fine.

    But on reading, I would like to read Meas.I Meas.P, Meas.V, continuous for each unit (up to 12 url request)

    The first reading is ok, so I have values, the url are ok. But after that, it is impossible to put in a loop-online no error, (status = 0 on LV and OPC Server) but the values are not updated with the following query.

    I tried to play with the option "wait for updated value", but without success.

    The only way I've found is to open the interface for server, the device, right click and select "Synchronize Active device". But this option is only a shot and very long because, I guess, he gets everything in the device...

    Another point: it works perfectly with the Engineering Studio, commonly called iTools-iTools. It is a client of the OPC server on my application.

    Another point on the other: when I run my application is the ID_EPower.exe in the list of Windows processes and consume resources (0 or 1%) so he lives.

    Complete, with one hour, I thank them but not way with Eurotherm hotline.

    My question is: Y at - it a particular way to obtain ongoing measures such as sending a query each time or a general property to get updated data?

    I used to cruise control disc from the same manufacturer with no problem and no need to send a request to get the values, but here it is perhaps a different case.

    List of requested URL:

    OPC:/Eurotherm.ModbusServer.1/CLA_Gradateurs.192-168-1-222-502-ID001-ePower.network.1.MEAs.V

    OPC:/Eurotherm.ModbusServer.1/CLA_Gradateurs.192-168-1-222-502-ID001-ePower.network.1.MEAs.I

    OPC:/Eurotherm.ModbusServer.1/CLA_Gradateurs.192-168-1-222-502-ID001-ePower.network.1.MEAs.P

    OPC:/Eurotherm.ModbusServer.1/CLA_Gradateurs.192-168-1-222-502-ID001-ePower.network.2.MEAs.V

    OPC:/Eurotherm.ModbusServer.1/CLA_Gradateurs.192-168-1-222-502-ID001-ePower.network.2.MEAs.I

    OPC:/Eurotherm.ModbusServer.1/CLA_Gradateurs.192-168-1-222-502-ID001-ePower.network.2.MEAs.P

    ... Ditto for network 3 and 4

    I joined the part of the code that is dedicated for the reading of values, but it is not really helpful because I think that my method of reading is correct (data arrive but are never updated) is a 'lack' of command to request that the server acquires new data or a bug with the LV-iTools OPC server interface...

    For LabViewers advanced, I know that my attached code is not optimized and not the smartest, but keep cool, I do not need crazy performance

    Any suggestion?

    So, I was not on the spot for the tests, but now it's ok.

    Several series shares have been made to the walkthrough to the problem, but it's hard to know if all were beneficial:

    -An update of software Eurotherm: 7.50 to 7.68

    -An update of the firmware EPower: 3.01 to 3.03

    - and probably the main cause of the problem: change the cable through a cross-wired (we thought it was, but not in reality...). But even if it is the main cause: how it was possible to receive data by forcing the update in the OPC server... strange.

    Thanks for your help.

  • How can you implement a command on a switch Board button in the access to perform a deletion or an append query

    I have a complicated database for packing of products.  I would like to set up a table so that anyone entering may do not mess with my paintings and others.  When I trying to do a command button to run a delete query to clear data and then query added to recalculate and reconstruct the data, it won't let me.  I'm sure I need to return the Earth programming the button or a macro - any suggestions would be appericated.

    Hello ksfireworksgal,

    Your question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited to the audience of developers on MSDN. Please post your question in the following forum:

     

    http://social.msdn.Microsoft.com/forums/en-us/categories

  • SQL Server 2005 Management Studio Query Export to CSV to the Non Unicode Format

    In SQL Server 2005 Management Studio, click the part of the results of a query.  Click on "save results under...". ", select CSV and an output file.

    The output is in unicode format. How can I fix this in ASCII?

    Jim Oliver

    Hi Jim,.

    Your question of Windows is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the public on the TechNet site. Please post your question in the forum.

    Link:http://social.technet.microsoft.com/Forums/en-US/category/sqlserver/

    With regard to:

    Samhrutha G S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • "search query: = services the remote procedure call failed and did not run".

    My computer crashed two days ago and I'm finally home, but whenever I try to open a window of any folder I keep refusing. In particular the main computer folder. One of the error messages I got is the following:

    search query: = services the remote procedure call failed and did not run

    Followed by this one:

    The remote procedure call failed and did not execute.

    I opened the Task Manager and tried to access the services from there, but whenever I do, the Task Manager window freezes.

    How can I fix it, my computer is so slow running and does hardly anything and guard with all freezing orders that I try.

    Hello

    This error generally, if the system is infected with Virus and malware or system files are corrupt.

    Please, try the methods below and check if the problem persists.

    SFC scanner.

    You can read the following Microsoft article to repair corrupted using SFC tool files. Use the System File Checker tool to repair missing or corrupted system files

    Reference: http://support.Microsoft.com/kb/929833/en-us

    If the problem persists, try a run Microsoft Safety Scanner.

    http://definitionupdates.Microsoft.com/download/definitionupdates/safetyscanner/amd64/msert.exe

    The Microsoft Security Scanner is a downloadable security tool for free which allows analysis at the application and helps remove viruses, spyware and other malware. It works with your current antivirus software.

    Note: The Microsoft Safety Scanner ends 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again.

    Important: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

    Do try the suggestions above and let us know the results.

  • I can query a modem CDMA, but cannot open the modem with a server terminal server

    I can query this CDMA modem in a Windows 7 machine from the Device Manager, but when I try and open it with the PuTTY Terminal Server service, it says that I can not open this COM port I tried using using multiple ports, but is there a way I can see if this com port is used by another piece of equipment. I find it odd that I can question him, but cannot open it.

    Hi René,.

    Thanks for posting your query in Microsoft Community. However, your question is beyond the scope of what is generally answered in this forum of consumer and would be better suited for the public in the TechNet forums.

    Please ask your question in the TechNet Forums of

    Hope this information is useful. Please feel free to answer in the case where you are facing in the future other problems with Windows.

  • Creating BBID token for the signature of invalid query results

    EDIT: WARNING: I may sound like a bitter ars * hole for some.  I'm not.  I'm grumpy and sarcastic, but generally happy and have good intentions.  If that is not met in this post, please accept my apologies.

    ----------

    I just installed Momentics IDE under Windows XP x 64 and I'm going to run a project (making the first application of waterfalls * beep *-EDIT: who says cr * p lol, because really, it * is * a cr * p app lol), and he wants a token of debugging. I find in the preferences and enter a password, and it jumps to the top of the web page to connect with my BBID (for BlackBerry Jam Zone). So I do that and it spits out:

    ERROR: Invalid query. Missing required parameters.

    I don't think it's a browser problem, but who knows. The page is apparently planned the use of IE and I went and made sure that cookies are enabled, but no change.  I couldn't think of something else IE would do is stupid.  So assuming it was something stupid (EDIT: lol), I tried the URL on the page in Chrome properties.  Same result.  Still think this isn't a browser problem (EDIT: lol) I tried Firefox (I have all these browsers, because I am trying to find one that does not suck.  It turns out that all suck somehow (EDIT: lol, first world problems huh? lol)).  Same result.

    Should I wait for the servers to stop playing with them?  EDIT: lol I wait for BlackBerry update the IDE?  EDIT: lol has anyone else had this problem?  Apparently not because my research give nothing... (EDIT: try to point out that I have * fact * research before posting)

    Creating thus a vendor account is released.  At the point where I have to present Government ID BlackBerry in order to run Hello world on a phone that I own, I check.  I want just a few keys to be able to run things on my phone.  BBOS was relatively trivial.  I applied for keys, key got sent to me, actually.  Isn't this possible in BB10?

    ...

    If it turns out that it is.  I finally realized that I could "bb10 code signing" in google and see if I could get the keys from outside the IDE.  Duh.  I didn't when I was half asleep.  Led me to https://www.blackberry.com/SignedKeys/codesigning.html where I could connect with my BBID without errors.  I was able to get bbidtoken.csk and it sat in my downloads directory.  I went through the record of signature and the Configuration Wizard in the IDE preferences and arrived to the party requesting the token BBID password.  I clicked get Token and instead of the page web to appear, he did what he needed to do and carried on.  I saved the token and certificate and noticed that the token in the zip file was different from the one I downloaded.  Don't know what is happening here.  Note that the browser was still open and connected to the area of Jam BB while I did this.  Not sure if this is important or not.  I thought that maybe a cookie was the key but the browser is chrome plated and the IDE using IE.

    So problem solved, sort of.  You don't have a supplier account to run applications on your phone.  Do you if you want spam BlackBerry World with bubble bursting games well.  Hope this helps someone in the future and I hope that BlackBerry corrects this bug, which probably didn't happen to me, because everyone has Windows 7, or something.  So for the record:

    Windows XP x 64 Version 5.2 (Build 3790.srv03_sp2_gdr.130306 - 1435) SP2

    Momentics IDE for BlackBerry Version: 2.0 Build id: v201310251603

    BlackBerry SDK native 10.2 installed

    Internet Explorer 8.0.6001.18702

    Google Chrome 33.0.1750.154 m

Maybe you are looking for