Empfehlung Lanzeitmessung data base: database (SQL) vs PDM

Hello

As eine Projekt eine Software fur einen Teststand schreiben soll ICH. Are IM trains its ist geplant, eine für die Testobjekte anzulegen data base, da sharp several stations durchlaufen, die ich im following darstelle kurz:

Recovering of the Testobjekts (LabVIEW automatisiert mit Herstellungsparametern: Dicke, big, material)

Langzeittest'm Teststand (running > 365Tage Speichern von kalkulierten werden, the Test setting: Dauer, frequency, Kraft etc..)

Weitere Test am Teststand (parameter, Messwerte etc.)

Elastizitatstest (ein weitere Teststand auf LabVIEW-based, the Test setting: Kraft, Speichern der Messwerte, Auslenkung etc.)

General weitere Tests (noch nicht genauer known)

Jetzt war meine erste Uberlegung, die jedes als TDMS zu speichern und sharp Test Messdatein in einer zu left data base.

Dabei ist mir aufgefallen, dass are probably sinnvoller alles in den TDMS-Datein zu organisieren und zu speichern.

Wie euer vorschlag das Ganze aufzuziehen ware? Meine Uberlegung ist:

I Testobjekt a TDMS file (Kanalgruppe defect den Tests, sind die gemessenen channels / berechneten values)

ICH kann die values von Testobjekten bei diesem Aufbau thank friendly/einfach um mit dem DataFinder/tiara?

Viele Dank as eure Hilfe!

If you have the choice, ALWAYS choose the database. It will give you the greater security and application/platform independence.

Mike...

Tags: NI Software

Similar Questions

  • Issue of database SQL-lite

    If I created a sql database - lite in my application and the database is created when the application starts, how I would write a condition statement to not recognize the creation of database code?

    Is there a better way to do what I'm trying to do here I saw more?

    Here's my code for creation of data base that I want to only be invoked if the database is not present and must be created:

                      try
            {
                URI myURI = URI.create("file:///SDCard/flash.db");
                d = DatabaseFactory.create(myURI);
                d.close();
            }
            catch(Exception e)
            {
    
            }
    
            try
            {
                URI myURI = URI.create("/SDCard/flash.db");
                d = DatabaseFactory.open(myURI);
                Statement st = d.createStatement("CREATE TABLE 'Restaurant' (  'Experience' TEXT, 'Date' TEXT)");
                st.prepare();
                st.execute();
                st.close();
                d.close();
            }
            catch(Exception e)
            {
    
            }
    

    You must use FileConnection, look at this code example.

            url="file:///SDCard/Databases/flash.db";
            if(f==ok)
            {
                try
                {
                    FileConnection fc=(FileConnection)Connector.open(url, Connector.READ_WRITE);
                    if(!fc.exists())
                    {
                        URI uri=URI.create("file:///SDCard/Databases/flash.db");
                        d=DatabaseFactory.create(uri);
                    }
                    else
                    {
                        Dialog.alert("File Exits! Proceed");
                    }
                    d.close();
                }catch(Exception e)
                {
                    System.out.println(e.getMessage());
                    e.printStackTrace();
                }
       }
    

    ------------------------------------------------------------------------------------
    Kudo press to say thank you to the developer.
    Also, press accept it as a button when you got the Solution.

  • Guard data converted database snapshot has failed?

    We do the practice of "capture instant DB" version 11.1.0.7 DG. We currently issue cannot BE changed.

    = procedures =.

    SQL * more: version 11.1.0.7.0 - Production Thu Aug 18 11:28:17 2011

    Copyright (c) 1982, 2008, Oracle. All rights reserved.

    Connect to an instance is idle.

    SQL > bootable media.
    ORACLE instance started.

    Total System Global Area 2087780352 bytes
    Bytes of size 2161272 fixed
    1795163528 variable size bytes
    251658240 of database buffers bytes
    Redo buffers 38797312 bytes
    Mounted database.


    SQL > alter database convert on the eve of the snapshot.

    Database altered.

    SQL > alter database open;
    change the database open
    *
    ERROR on line 1:
    ORA-01507: database not mounted

    After this command:

    alter database convert to snapshot standby;
    

    You don't 'open' data base.

    The command "Convert" let the database ensures in nomount mode.

    You must issue an "immediate halt".

    Then the tool upwards.

    Then this command:

    select database_role from v$database;
    

    Must return "instant Standby".

    You can then query v$ restore_point to see guaranteed restore point.

    Select name, guarantee_flashback_database from v$restore_point;
    

    "Flashback Database" must be enabled to do this.

    For more information, see:

    11g using snapshot of database pending. [443720.1 ID]

    Best regards

    mseberg

  • Data Base Transaction is blocked...

    We have problems with the Production SAP events.

    Database Time out exceptions are thrown in the newspapers:



    Here's the exception:

    [23/10/10 16:26:34:490 EDT] 00000053 SystemOut O DEBUG, October 23, 2010 16:26:34, 489, [XELLERATE. SERVER], class/method: tcDataBase/eventPreInsert entered.
    [23/10/10 16:26:34:490 EDT] 00000053 SystemOut O DEBUG, October 23, 2010 16:26:34, 490, [XELLERATE. SERVER], class/method: tcDataBase/tcDataBase to the left.
    [23/10/10 16:26:34:499 EDT] 00000053 SystemOut O DEBUG, October 23, 2010 16:26:34, 499, [XELLERATE. SERVER], class/method: tcDataBase/readPartialStatement entered.
    [23/10/10 16:26:34:499 EDT] SystemOut O INFO 00000053, October 23, 2010 16:26:34, 499, [XELLERATE. DATABASE], DB read: select * NCE where rce_key = 446949
    [23/10/10 16:26:34:500 EDT] 00000053 SystemOut O DEBUG, October 23, 2010 16:26:34, 500, [XELLERATE. Select DATABASE], * NCE where rce_key = 446949
    [23/10/10 16:26:34:510 EDT] 00000052 SystemOut O DEBUG, October 23, 2010 16:26:34, 510, [XELLERATE. SERVER], class/method: tcRCE/reapplyRules entered.
    [23/10/10 16:26:34:510 EDT] 00000052 SystemOut O DEBUG, October 23, 2010 16:26:34, 510, [XELLERATE. DATA base], select usr_key from usr where USR_LOGIN =? and USR_STATUS! = "Deleted".
    [23/10/10 16:26:34:512 EDT] 00000052 SystemOut O DEBUG, October 23, 2010 16:26:34, 512, [XELLERATE. SERVER], class/method: tcDataBase/readPartialStatement entered.
    [23/10/10 16:26:34:512 EDT] SystemOut O INFO 00000052, October 23, 2010 16:26:34, 512, [XELLERATE. DATABASE], DB read: select rce_key, orc_key, rcp_rowver rcp where rce_key = 446949
    [23/10/10 16:26:34:513 EDT] 00000052 SystemOut O DEBUG, October 23, 2010 16:26:34, 513, [XELLERATE. DATA base], select rce_key, orc_key, rcp_rowver rcp where rce_key = 446949
    [23/10/10 16:26:34:514 EDT] 00000052 SystemOut O DEBUG, October 23, 2010 16:26:34, 514, [XELLERATE. SERVER], class/method: tcDataBase/readPartialStatement entered.
    [23/10/10 16:26:34:514 EDT] SystemOut O INFO 00000052, October 23, 2010 16:26:34, 514, [XELLERATE. DATABASE], DB read: select rce_key, usr_key, rcu_rowver of the rcu where rce_key = 446949
    [23/10/10 16:26:34:514 EDT] 00000052 SystemOut O DEBUG, October 23, 2010 16:26:34, 514, [XELLERATE. DATA base], select rce_key, usr_key, rcu_rowver of the rcu where rce_key = 446949
    [23/10/10 16:26:34:516 EDT] 00000052 SystemOut O DEBUG, October 23, 2010 16:26:34, 516, [XELLERATE. SERVER], class/method: tcDataObj/record is entered.
    [23/10/10 16:26:34:516 EDT] 00000052 SystemOut O DEBUG, October 23, 2010 16:26:34, 516, [XELLERATE. SERVER], class/method: tcDataObj/updated came.
    [23/10/10 16:26:34:516 EDT] 00000052 SystemOut O DEBUG, October 23, 2010 16:26:34, 516, [XELLERATE. SERVER], class/method: tcRCE/eventPreUpdate entered.
    [23/10/10 16:26:34:516 EDT] 00000052 SystemOut O DEBUG, October 23, 2010 16:26:34, 516, [XELLERATE. SERVER], class/method: tcRCE/checkClosed entered.
    [23/10/10 16:26:34:517 EDT] 00000052 SystemOut O DEBUG, October 23, 2010 16:26:34, 517, [XELLERATE. SERVER], class/method: tcRCE/checkClosed to the left.
    [23/10/10 16:26:34:517 EDT] 00000052 SystemOut O DEBUG, October 23, 2010 16:26:34, 517, [XELLERATE. SERVER], class/method: tcRCE/setActionPerStatus entered.
    [23/10/10 16:26:34:517 EDT] 00000052 SystemOut O DEBUG, October 23, 2010 16:26:34, 517, [XELLERATE. SERVER], class/method: tcRCE/setActionPerStatus to the left.
    [23/10/10 16:26:34:517 EDT] 00000052 SystemOut O DEBUG, October 23, 2010 16:26:34, 517, [XELLERATE. SERVER], class/method: tcRCE/checkAssignees entered.
    [23/10/10 16:26:34:517 EDT] 00000052 SystemOut O DEBUG, October 23, 2010 16:26:34, 517, [XELLERATE. SERVER], class/method: tcRCE/checkAssignees to the left.
    [23/10/10 16:26:34:517 EDT] 00000052 SystemOut O DEBUG, October 23, 2010 16:26:34, 517, [XELLERATE. SERVER], class/method: tcDataBase/readPartialStatement entered.
    [23/10/10 16:26:34:517 EDT] SystemOut O INFO 00000052, October 23, 2010 16:26:34, 517, [XELLERATE. DATABASE], DB read: select evt.evt_key, evt.evt_name, dob dob evt.evt_package, evt evt and dvt dvt where dob.dob_key = dvt.dob_key and dvt.evt_key = evt.evt_key and (dob.dob_name = 'com.thortech.xl.dataobj.tcRCE' or dob.dob_name = dob.dob_name = 'com.thortech.xl.dataobj.tcDataObj' or 'com.thortech.xl.dataobj.tcTableDataObj') and dvt.dvt_pre_update_sequence > 0 stopped by dvt.dvt_pre_update_sequence
    [23/10/10 16:26:34:517 EDT] 00000052 SystemOut O DEBUG, October 23, 2010 16:26:34, 517, [XELLERATE. DATABASE], select evt.evt_key, evt.evt_name, evt.evt_package dob dob, evt evt, dvt dvt where dob.dob_key = dvt.dob_key and dvt.evt_key = evt.evt_key and (dob.dob_name = 'com.thortech.xl.dataobj.tcRCE' or dob.dob_name = dob.dob_name = 'com.thortech.xl.dataobj.tcDataObj' or 'com.thortech.xl.dataobj.tcTableDataObj') and dvt.dvt_pre_update_sequence > 0 by dvt.dvt_pre_update_sequence order
    [23/10/10 16:26:34:521 EDT] 00000052 SystemOut O DEBUG, October 23, 2010 16:26:34, 521, [XELLERATE. SERVER], class/method: tcRCE/eventPreUpdate to the left.
    [23/10/10 16:26:34:521 EDT] 00000052 SystemOut O DEBUG, October 23, 2010 16:26:34, 521, [XELLERATE. SERVER], class/method: tcDataSet/hasUpdatedColumns entered.
    [23/10/10 16:26:34:521 EDT] 00000052 SystemOut O DEBUG, October 23, 2010 16:26:34, 521, [XELLERATE. SERVER], class/method: entered tcTableDataObj:getAllowedOperation.
    [23/10/10 16:26:34:521 EDT] 00000052 SystemOut O DEBUG, October 23, 2010 16:26:34, 521, [XELLERATE. SERVER], class/method: tcTableDataObj:getAllowedOperation - data: mstableName - value: NCE
    [23/10/10 16:26:34:522 EDT] 00000052 SystemOut O DEBUG, October 23, 2010 16:26:34, 522, [XELLERATE. SERVER], class/method: tcTableDataObj:getAllowedOperation: another entry.
    [23/10/10 16:26:34:522 EDT] 00000052 SystemOut O DEBUG, October 23, 2010 16:26:34, 522, [XELLERATE. SERVER], class/method: tcTableDataObj:getAllowedOperation:if entered moData.isNull.
    [23/10/10 16:26:34:522 EDT] 00000052 SystemOut O DEBUG, October 23, 2010 16:26:34, 522, [XELLERATE. SERVER], class/method: entered tcTableDataObj:preWrite.
    [23/10/10 16:26:34:522 EDT] 00000052 SystemOut O DEBUG, October 23, 2010 16:26:34, 522, [XELLERATE. SERVER], class/method: tcTableDataObj:preWrite left.
    [23/10/10 16:26:34:522 EDT] 00000052 SystemOut O DEBUG, October 23, 2010 16:26:34, 522, [XELLERATE. SERVER], class/method: entered tcTableDataObj:getPreparedStatementForUpdate.
    [23/10/10 16:26:34:522 EDT] 00000052 SystemOut O DEBUG, October 23, 2010 16:26:34, 522, [XELLERATE. SERVER], class/method: entered tcTableDataObj:getWhere.
    [23/10/10 16:26:34:522 EDT] 00000052 SystemOut O DEBUG, October 23, 2010 16:26:34, 522, [XELLERATE. SERVER], class/method: tcTableDataObj:getWhere - data: psKeyName - value: rce_key
    [23/10/10 16:26:34:522 EDT] 00000052 SystemOut O DEBUG, October 23, 2010 16:26:34, 522, [XELLERATE. SERVER], class/method: tcTableDataObj:getWhere - data: msKeyValue - value: 446949
    [23/10/10 16:26:34:522 EDT] 00000052 SystemOut O DEBUG, October 23, 2010 16:26:34, 522, [XELLERATE. SERVER], class/method: tcTableDataObj:getWhere left.
    [23/10/10 16:26:34:522 EDT] 00000052 SystemOut O DEBUG, October 23, 2010 16:26:34, 522, [XELLERATE. SERVER], class/method: tcTableDataObj:getPreparedStatementForUpdate left.
    [23/10/10 16:26:34:523 EDT] 00000052 SystemOut O DEBUG, October 23, 2010 16:26:34, 523, [XELLERATE. DATABASE], NCE update set RCE_STATUS =?, RCE_LAST_ACTION =?, RCE_UPDATE =?, RCE_rowver =? where rce_key = 475759and RCE_rowver = HEXTORAW('0000000000000000')
    [23/10/10 16:27:34:534 EDT] SystemOut O ERROR 00000052, October 23, 2010 16:27:34, 533, [XELLERATE. DATABASE], class/method: tcDataBase/writeStatement some problems: ORA-02049: timeout: distributed transaction waiting for lock

    java.sql.SQLException: ORA-02049: timeout: distributed transaction waiting for lock
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:745)

    Appreciate any help!



    Thank you
    IOM want to Be

    Published by: OimWannaBe on October 29, 2010 12:31

    I agree with what Martin said more sense...

    Also to check this on metalink

    ORA-02049 Timeout: Distributed Transaction waiting for lock during the creation of the user or the change. [466568.1 ID]

    Thank you
    Suren

  • Photos - photos of iCloud - several users share data bases

    Hi hoping someone can point me in the right direction here as it is driving me crazy!

    New Mac mini, OS X and photos app.

    Basically, I want to share a unique data base of Photos between two users on the same Mac accounts. Have followed all the advice online, I'm always running into difficulty. I put the database on an external SSD with permissions in place for any user access to the base (but only one at a time of course).

    All very well so far, but here comes the question. I want pictures of iCloud enabled on one of the accounts with complete download of all pictures to iCloud, when I get out of the photos, the photolibraryd process remains active. This means that when I change the account and you are trying to access the photos, I can't because photoslibraryd in the other account is accessed again. To work around this I started to enter photoslibraryd monitor and the murder of activity as well as the Photos itself before you log in to the second account and to access the Photos. This seems to work (but is a bit of a pain if I forgot!) - which is a lot more pain, it's that if I add some photos in the second account and then go back to the first, rather than synchronize the new photos with iCloud, product photos across the entire library 20,0000 resynchronization photo! It's bad!

    I have approached the wrong way? Is there a better way to achieve what I want - that is entirely database of shared photos between two users on the same Mac (with photo stream enabled on both accounts for these devices which have not iCloud photo activated) and iCloud photo enabled on one of the Mac accounts - without killing the process or any what fees General massive sync?

    Grateful for any help.

    Thank you very much

    Rich.

    It is not possible to share a library of photos between several users, if the library in question is your system library. If you cannot share the library used as the iCloud photo library with others.  If you want to share photos with others, use a separate library of Photos to share and transfer photos from there to your iCloud library.

    I found this in the documentation for PowerPhotos:

    : https://www.fatcatsoftware.com/powerphotos/Help/sharing%20a%20library%20between% 20multiple%20user%20accounts%20on%20one%20mac.html

    Share a library between several user accounts on a Mac

    Photos is not designed with use multi-user in mind, which makes it very difficult to create a configuration where only one library of Photos are accessed through accounts on your Mac. If you want to share a library in this way, the following restrictions will be applied (for the bottom of discussion, we have two users named A and B we want to share a library):

    1. Account that a single user can never open a library given in Photos at the same time. Before you can use the shared library as long as the user has, make sure to leave Photos as user B.
    2. None of the user accounts that access the library may designate as their "library system". The library system is actually open at any time by OS X in the background, as long as that user is connected, even while quitting smoking pictures not free the library so that another user can open. You must designate another library system library, or completely close the session user B before trying to access the library as user A. Note that this also prevents having this synchronization of library with iCloud.
    3. The library cannot be stored on your internal drive or any other drive where the permissions are respected. Fighting against the permissions on OS X is a losing battle. While you can play whack-a-mole to try to correct the permissions on the library before you open it, then something goes wrong and it is likely that you will be unable to access a part of your library. You should keep the library on an external drive and in the read window information in the Finder, make sure the checkbox "Ignore permissions on this volume" is checked.

    Re: How to share your photo on the same Mac without iCloud library

  • Accounting software Microsoft Error Message: can not connect because the version of the application is older than the data base of the company

    Original title:

    Error message

    I use windows 7 laptop I format. After installation of Microsoft, accounting software and I wanted to backup restored it gives me error massage "can not connect because the version of the application is older than the data base of the company.» Up grade the application. " Eventhough I used the software even before I format the computer laptop and does ' t give me the options to upgrade. Need help.

    This means MS accounting requires the latest updates that have been installed originally creating this accounting database

    Accounting MS was abandoned a few years previously, so updates are not driven by windows/office update

  • Tables of database SQL P6/EPPM

    Is there a resource to help identify where the P6 planning data exist in SQL database tables?  Articles, specifically the annexes as WBS codes, IDs activities, budgets, resources, etc.

    You can view the documentation for the applications of Primavera.

    Based on the version of P6 EPPM you use look for documentation on the schema of the database under the node databases and mapping after navigating to the link above.

    I hope this helps!

    Sachin Gupta

  • Archive log list does not sequence of current journal is awaiting data base

    Hi all

    So I tried waiting for database physical installation in my local vm.

    I apparently completed the Setup, but I am facing a problem which I cannot understand.

    OS:-Linux 6.4

    Oracle version: 12.1.0.2.0

    primary data: ORA12C

    backup database: ORASTD

    Primary database: -.

    SYS@ORA12C > list of archive logs;

    Database log mode Archive Mode

    Active AutoArchive

    Archives/u01/app/oracle/fast_recovery_area of destination

    More old sequence of journal online 14

    Log sequence archive 16

    Current log sequence 16

    SYS@ORA12C > select name, database_role, controlfile_type from v$ database;

    NAME DATABASE_ROLE CONTROL

    --------- ---------------- -------

    ORA12C CURRENT PRIMARY

    SYS@ORA12C > select the sequence #, first_time, next_time, applied from v$ archived_log;

    FIRST_TIM SEQUENCE NEXT_TIME # APPLIED

    ---------- --------- --------- ---------

    4 15 APRIL 15 APRIL 16 15 NO.

    4 15 APRIL 15 APRIL 16, 15 YES

    5 16 APRIL 15 APRIL 16 15 NO.

    5 16 APRIL 15 APRIL 16, 15 YES

    6 16 APRIL 15 APRIL 16 15 NO.

    6 16 APRIL 15 APRIL 16, 15 YES

    7 16 APRIL 15 APRIL 16 15 NO.

    7 16 APRIL 15 APRIL 16, 15 YES

    8 16 APRIL 15 APRIL 16 15 NO.

    8 16 APRIL 15 APRIL 16, 15 YES

    9 16 APRIL 15 APRIL 16 15 NO.

    FIRST_TIM SEQUENCE NEXT_TIME # APPLIED

    ---------- --------- --------- ---------

    9-16 APRIL 15 APRIL 16, 15 YES

    10 16 APRIL 15 APRIL 16 15 NO.

    10-16 APRIL 15 APRIL 16, 15 YES

    11 16 APRIL 15 APRIL 16 15 NO.

    12 16 APRIL 15 APRIL 16 15 NO.

    13 16 APRIL 15 APRIL 16 15 NO.

    11-16 APRIL 15 APRIL 16, 15 YES

    12-16 APRIL 15 APRIL 16, 15 YES

    13-16 APRIL 15 APRIL 16, 15 YES

    14 16 APRIL 15 APRIL 16 15 NO.

    15 16 APRIL 15 APRIL 16 15 NO.

    FIRST_TIM SEQUENCE NEXT_TIME # APPLIED

    ---------- --------- --------- ---------

    15 16 APRIL 15 APRIL 16 15 NO.

    14-16 APRIL 15 APRIL 16, 15 YES

    Waiting for the database: -.

    Select the sequence #, first_time, next_time, applied from v$ archived_log;

    FIRST_TIM SEQUENCE NEXT_TIME # APPLIED

    ---------- --------- --------- ---------

    4 15 APRIL 15 APRIL 16, 15 YES

    5 16 APRIL 15 APRIL 16, 15 YES

    6 16 APRIL 15 APRIL 16, 15 YES

    7 16 APRIL 15 APRIL 16, 15 YES

    8 16 APRIL 15 APRIL 16, 15 YES

    9-16 APRIL 15 APRIL 16, 15 YES

    10-16 APRIL 15 APRIL 16, 15 YES

    11-16 APRIL 15 APRIL 16, 15 YES

    12-16 APRIL 15 APRIL 16, 15 YES

    13-16 APRIL 15 APRIL 16, 15 YES

    15 16 APRIL 15 16 APRIL 15 IN-MEMORY

    FIRST_TIM SEQUENCE NEXT_TIME # APPLIED

    ---------- --------- --------- ---------

    14-16 APRIL 15 APRIL 16, 15 YES

    SQL > select name, database_role, controlfile_type from v$ database;

    NAME DATABASE_ROLE CONTROL

    --------- ---------------- -------

    PHYSICAL STANDBY ORA12C STANDBY

    SQL > archive logs list;

    Database log mode Archive Mode

    Active AutoArchive

    Archives/u01/app/oracle/fast_recovery_area of destination

    More old sequence of journal online 0

    Log sequence to archive 0

    Current log sequence 0

    Now, here's my question is why the sequence of current newspapers shows 0. I tested the datas

    database primary eve happens again. I'm totally out of index.

    I tried to find it on google but nothing could help me until now.

    Any kind of help would be very appreciated.

    Thank you

    Soumya

    Hello

    I am also testing in Data Guard 12.1 configurations.

    Oracle support response is "it seems therefore that this information be removed.

    So is the best way to check on the database pending:

    SQL > select thread #, max(sequence#) ' last day before Seq received. "

    v $ archived_log val, v$ database vdb

    where val.resetlogs_change # = vdb.resetlogs_change #.

    Group thread # order by 1;

    SQL > select thread #, max(sequence#) ' last day before Seq applied.

    v $ archived_log val, v$ database vdb

    where val.resetlogs_change # = vdb.resetlogs_change #.

    and val.applied in ('YES', "IN-MEMORY")

    Group thread # order by 1;

    concerning

  • Cannot access another data base "ROWTYPE.

    Hi all, I am using SQLDeveloper 3.2.20 on Oracle 11 g 2 and teacher of Windows 7 sp1 and so far, smooth sailing.

    I use the SCOTT/tiger account i.e. access, certainly no role sysdba privileges.

    I'm practicing my codes and the use of explicit cursors generate following errors:

    Error report:

    ORA-06550: line 5, column 17:

    PLS-00352: cannot access another data base "ROWTYPE.

    ORA-06550: line 5, column 17:

    PLS-00201: identifier 'EMP_CURSOR@ROWTYPE' must be declared.

    This is the code (I tried orcl.scott.emp_cursor@ROWTYPE, but which no longer works)

    Set serveroutput on;

    DECLARE

    CURSOR emp_cursor IS

    SELECT EmpNo, ename

    FROM scott.emp;

    v_emp_record emp_cursor@ROWTYPE;  -don't even try the 1 by 1

    number of v_sqlcode;

    v_errm varchar2 (64);

    BEGIN

    IF NOT emp_cursor % ISOPEN THEN - EXTRACTION lines only when the cursor is opened!

    OPEN emp_cursor;

    END IF;

    LOOP

    LOOK INTO v_emp_record emp_cursor; -Gets the 1st row of cursor!

    OUTPUT WHEN emp_cursor % NOTFOUND or emp_cursor % NOTFOUND IS NULL; -in case no line

    INSERT INTO (empid, empname) tmp_list - inserts in a temporary list

    VALUES (v_emp_record.empno, v_emp_record.ename);

    END LOOP;

    COMMIT;

    NARROW Emp_cursor;

    EXCEPTION

    while others then

    v_sqlcode: = SQLCODE;

    v_errm: = SUBSTR (SQLERRM, 1, 64);

    DBMS_OUTPUT. Put_line ('SQL' | v_sqlcode |) '  ' || v_errm);

    END;

    /

    I begin to suspect that it is something 'access privilege '.

    Can someone point me in the right direction please?

    Hello

    Leila says:

    Ahhh, I see where I went wrong, Oracle' a global temporary table is not the same as the temporary table in SQLServer, I first need to create the temporary table, then drop it then.

    Remove the table only if you expect never to use again.  Otherwise, let it stay there.

    "Global temporary table" is a misleading name in Oracle.  The table itself is permanent, but the data in the table are temporary.  The data is deleted automatically at the end of the transaction or session, depending on whether the table has been created with ON COMMIT DELETE ROWS or ON COMMIT PRESERVE ROWS.

    Problem is, there is no data in the temporary table after executing the PL/SQL block although DBMS_OUTPUT displays data from test loading one!

    The default value for global temporary Tables is ON COMMIT DELETE ROWS, which means that the table is cleared whenever you make a COMMIT to auotmatically.

    You probably want ON COMMIT PRESERVE ROWS, like this:

    CREATE a table temporary global tmp_list (NUMBER, tmp_empno tmp_ename. VARCHAR2 (10)) ON the COMMIT PRESERVE ROWS;

  • In general, is it better to use java.sql.Date and java.sql.Timestamp instead of oracle.jbo.domain.Date?

    Hello world

    During playback of Oracle ADF Real World Developer's Guide, I noticed the dates match occurring in JDeveloper is different from what is the list in the book. JDeveloper is failing to oracle.jbo.domain.Date, but according to the book:

    DATEjava.sql.DateDATE type is mapped to java.sql.Date if the column in the table is a no time didn't need information zone.
    DATEjava.sql.TimestampDATE type is mapped to java.sql.Timestamp if the column in the table has a component "time" and that the client needs to zone information.
    TIMESTAMPjava.sql.TimestampThe TIMESTAMP type is mapped to java.sql.Timestamp if nanosecond precision is used in the database.

    In general, is it better to use java.sql.Date and java.sql.Timestamp instead of oracle.jbo.domain.Date? Using java.sql.Date and java.sql.Timestamp could save me some headaches conversion date. And, is there a place in JDeveloper to display these maps? I looked around and didn't see anything.

    Thank you.

    James

    User, what version of jdev we are talking about?

    In GR 11, 1 material versions db types date and timestamp are mapped to types of domain data that represents a wrapper for the native data types. The reason was that the framework can work with the domain types regardless of the underlying data type.

    Since Oracle 11 GR 2 maps the types DB to java types (default selection, you can change it when you create a model project, you can set the Data Type Mapping). Once the pilot has business components define you cannot change this setting it would break existing components such as eo or vo.

    So if you are working wit 11 GR 1 subject, you must use the domain types, if you work with GR 11, 2 or 12 c, you can use the domain types, but it is recommended to use the java type mapping.

    Timo

  • How to load data from ms sql to the by the file rules and maxl essbase

    Hi, everybody!
    Pretty Shure the kind of topic exists already on the forum, but unfortunately can't find it.

    I want to understand, how to load data from the database to ms sql for the PB of essbase application.

    (I) so I have:
    1. a request for 'society '.
    2 and its database 'Plan '.
    3. with simple outline, which contains only two dimensions:

    -The time period < 1 > (Label only)
    -Total year (~)
    -Qtr1 (+)
    Jan (+)
    Feb (+)
    Mar (+)
    -Qtr2 (+)
    APR (+)
    May (+)
    Jun (+)

    -Accounts < 1 > (Label only)
    -Lost / based (~) (Label only)
    -Revenues (+)
    L1.1 (+)
    L1.2 (+)
    -Costs (-)
    L2.1 (+)
    L2.2 (+)

    (II) also, I created a rules file called "CO_DWH" and associated with this schema
    It (Rules file) a 3 columns:
    Data of the 'period', 'account '.

    There is also the option checked "load data".

    (III) in MS SQL Server, I have a database of "hypdb" and "essadmin" with "password" login

    (IV) I executed my bat file:
    C:\Hyperion\EssLoad.bat
    There is only one line:

    EssLoad.bat-
    startMaxl.cmd EssLoad.txt
    ----------------------------------------------

    EssLoad.txt-
    login password admin on erpserver;
    Import database data Company.Plan connect in essadmin password using the server rules_file 'CO_DWH' error abort;
    disconnection;
    "exit";
    --------------------------------------------


    All plans that I copied well worked ERP system, but I don't understand, this is exactly table in the MS SQL database, data loading to essbase db?

    TOU have to do a few things
    1. on the server of Essbase, put in place a system odbc for your MySQL database connection
    2. in the State of charge, go to the file menu and select open source SQL database and in the source of data in your SQL statement. A few tips. Where it says select, don't put in the select Word and when he says to not put in of. The system adds for you. TI enter a simple SQL statement is to do this in the box so select if your SQL would be normanlly as select * from myTable just enter the code as * from myTable in the upscale neighborhood

    The ol/recover the click and fill your connection information. Should bring back the data in the State of charge. Save the State of charge and use

  • The search for meaning please - is a data base, the right choice?

    I want to break a problem I have today confronted for centuries and hope someone can point me to a good way around it, so I can do more research and learn the technology required.

    The problem is this: sometimes we are asked to create a website which should include items in stock for example.

    category, name, description, price, image (s)

    We design our websites without the use of templates or software CMS, we simply create an inclusion of some sort and have the stock displayed in a tabular layout based on a data store that is held in the simplest possible.

    This isn't an online store - no purchase is possible through cards of credit/paypal etc...
    It is not necessary at this stage for a search
    The data is not sensitive.

    For example: a caravan dealer listing their caravans

    What should I learn? MySQL / cms / xml which is the best way to achieve this?

    All suggestions help resources would be most appreciated
    Thank you for your time.

    [email protected] wrote:
    > Thanks that was on site.
    >
    > I have now managed to create a link to a mysql database and have
    > created a region repeated around the data base.
    >
    > Could you please clarify something, I found hard to believe?
    >
    > Dreamweaver can't display natively (jpg) images in a BLOB field.
    > It shows just rubbish?
    >
    > I have instead created a VARTEXT and written in /images/picname.jpg instead
    > which seems ok, but a bit slow.
    >
    > Not there at - it no work around / etc plugin that can work around this limitation?

    It is common to only store the name of the image file in the database,
    then fill the image on the page of polarity tag dynamically
    path and name of the file.

    Using a blob is possible, but there is no native in Dreamweaver, or
    all of the extensions I know who allow it.

    The best way to do it is to have a separate page that receives an ID.
    then export the blob in a binary stream.

    Then, you use something like this:

    As long as the blobtoimage.php sends the binary stream with the
    correct mime type, then it will work very well.

    If you do so, split your table with the blobs of your hand
    data, you will get performance better that way.

    Dooza
    --
    Display guidelines
    http://www.Adobe.com/support/forums/guidelines.html
    How to ask Smart Questions
    http://www.CatB.org/ESR/FAQs/smart-questions.html

  • Dates and MS SQL

    Hi - I'm having a difficult time with dates and MS SQL that I just updated our database from access and it made my head.

    The problem I have is when I entered a date like 10/05/2006 it is displayed as 10/05/2006 and then if I update the record it switches back on 05/10/2006 and a vice-versa.

    In my text field the code is:
    value = "#DateFormat(lastcalled, 'dd/mm/yyyy') #

    When I submit to db code is:
    lastcalled = #CreateODBCDateTime (lastcalled) #.

    If I remove the dateFormat I don't get the problem but the date is not displayed correctly.

    I'm sure it's something small that I'm missing...

    Kind regards

    Jared.

    Bravo for the explanation - I fixed it based on what you said.

    The problem is that I did not know that I had to separate the date and then re - create it again and it would be fitting for the db that I never had to do that when I was with access.

    I thought you were proposing "a" solution rather than 'the' solution.

    Thanks for your help and your patience!

    See you soon,.

    Jared.

  • The most effective way to log data and read simultaneously (DAQmx, PDM) high data rates

    Hello
     
    I want to acquire the data of several Modules cDAQ using several chassis to
    high data rates (100 k samples per second if possible). Let's say the measurement time is 10 minutes and we got a large number of channels (40 for example). The measured data is written to a PDM file. I guess, the memory or the HARD disk speed is the limits. For the user, there must be a possibility to view the selection of channels in a graph during the measurement.

    My question: what is the best and most effective way to save and read data at the same time?

    First of all, I use an architecture of producer-consumer and I don't want to write and display the data in the same loop. I expect two possibilities:

    [1] to use the 'DAQmx configure logging.vi' with the operation 'journal and read' to write the data to a PDM file. To display the data in a second loop, I would create a DVR samples documented and 'sent' the DVR for the second loop, where the data will be displayed in a graph (data value reference). This method has the disadvantage that the data of all channels is copied into memory. Correct me if I'm wrong.

    [2] use 'DAQmx configure logging.vi', but only with the "journal" operation to write the data to a PDM file. To view the selected data, I had read a number of samples of the TDMS file in the second loop (I'm currently writing the TDMS file). In this case, I have only one copy data from the selected channels (not), but there will be more HARD drive accesses necessary.

    What is the most effective and efficient solution in this case?

    Are there ways to connect and read data with high frequencies of sampling?

    Thank you for your help.

    You say that the measurement time is 10 minutes. If you have 40 channels and you enjoy all CHs at 100 kHz, it is quite a number of values.

    In this case, I always try to approach under the conditions of use. If a measure is only 10 minutes, I just connect all PDM data and create a graphic module that could be in the same loop of consumers where connect you the data. You can always work on the raw data files big offline afterwards, the extraction of all the information you need (have a look at the product called NI DIAdem: http://www.ni.com/diadem/)

    The main issue is that the user needs to see in the graph (or perhaps a chart can be useful too). Lets say that the graph is 1024 pixels wide. It makes no sense to show multiple data to 1024 points, Yes? Every second will produce you 100 data points k per channel. What is the useful information, which should see your username? It depends on the application. In similar cases, I usually use some kind of data reduction method: I use a moving average (Point by point Mean.VI for example) with a size of the interval of 100. This way you get 100 data points of 1000 per channel every second. If you feed your graph every second with these average values, it will be able to data points in 1024 of the store (as a default) by channel (curve), which is a little more than 10 minutes, so that the user will see the entire measurement.

    So it depends on the frequency at which you send data to the consumer. For example, collect you values 1024 by iteration of the producer and send it to the consumer. Here you can make a normal means calc or a bearing (according to your needs) and he draw a graphic. This way your chart will display only the values of the last 10 seconds...

    Once I programmed some kind of module where I use a chart and not a graph, and the user can specify the interval of the absolute timestamp that is traced. If the data size is larger than the size of the chart in pixels, the module performs an average calculation in order to reduce the number of data points. Of course, if you need to see the raw data, you can specify an interval that is small. It all depends on how you program zoom functions, etc... In my case I hade a rate of 1 Hz, so I just kept all data in RAM limiting the berries to keep 24 hours of data, so that technicians could monitor the system. In your case, given the enormous amount of data, only a file read/write approach can work, if you really need access to all of the RAW data on the fly. But I hope that the values of working capital means will be enough?

  • What is the date of end SQL server 2008 SP2 support?

    What is the date of end SQL server 2008 SP2 support?

    Have you tried Google? or:

    ASK THE QUESTION IN THE SQL SERVER FORUM:
    http://social.msdn.Microsoft.com/forums/en/category/SQLServer

Maybe you are looking for

  • Where can I download Firefox on the Apple App Store?

    I've been going round in circles between Firefox and Apple's site; Could not find what I was looking for and do not know what El Capitan, which keeps popping up, will lead to I OS 10.8.5 and Safari 6.0.5 but it is apparently not good enough for YouTu

  • Drag and drop files from back-end software.

    Hi all We use all multimedia players like windows media player or VLC player or even in some other software. a feather is to drag file to back-end software and release it on software here / the window of the control panel by using the taskbar. When t

  • How to get rid of HP offer?

    Hello can someone tell me how to disable these offers for "Extended service" or something else? I tried to choose all the options available, but every few minutes, this offer is displayed again. Its very annoying. Thanks in advance.

  • Officejet OfficeJet 6100: x 64 disconnects

    Printer HP Officejet 6100 laptop appears offline on some PC connected via the wireless.  Usually this can be "fixed" by power cycle the printer; other times I have to remove the driver and reinstall the printer on the PC.  Currently, a single PC sees

  • Im trying to open the Panel configuration, but windows stops when I click it.

    Why when I try to open my windows control panel stops and restarts?