[NEWSboard IBMi Forum]

Hybrid View

  1. #1
    Registriert seit
    Aug 2021
    Beiträge
    11
    Danke man lernt nie aus INTENSITIVE habe ich bis dato noch nie verwendet.

  2. #2
    Registriert seit
    Aug 2001
    Beiträge
    2.928
    Sollte wohl INSENSITIVE heißen?!

    Hier aus der Reference was INSENSITIVE bedeutet ...
    INSENSITIVE
    Specifies that once the cursor is opened, it does not have sensitivity to inserts, updates, or
    deletes performed by this or any other activation group. If INSENSITIVE is specified, the cursor is
    read-only and a temporary result is created when the cursor is opened. In addition, the SELECT
    statement cannot contain a UPDATE clause and the application must allow a copy of the data
    (ALWCPYDTA(*OPTIMIZE) or ALWCPYDTA(*YES)).
    Birgitta Hauser

    Anwendungsmodernisierung, Beratung, Schulungen, Programmierung im Bereich RPG, SQL und Datenbank
    IBM Champion seit 2020 - 5. Jahr in Folge
    Birgitta Hauser - Modernization - Education - Consulting on IBM i

  3. #3
    Registriert seit
    Feb 2001
    Beiträge
    20.695
    ALWCPYDTA ist eine Compiler-Anweisung des CRTSQL.... und steht per Default auf *Optimize.
    Da finde ich persönlich inzwischen "Count(*) Over()" schöner und fast ohne Performancenachteile.
    Dienstleistungen? Die gibt es hier: http://www.fuerchau.de
    Das Excel-AddIn: https://www.ftsolutions.de/index.php/downloads
    BI? Da war doch noch was: http://www.ftsolutions.de

  4. #4
    Registriert seit
    May 2007
    Beiträge
    295
    Zitat Zitat von B.Hauser Beitrag anzeigen
    Sollte wohl INSENSITIVE heißen?!

    Hier aus der Reference was INSENSITIVE bedeutet ...
    INSENSITIVE
    Specifies that once the cursor is opened, it does not have sensitivity to inserts, updates, or
    deletes performed by this or any other activation group. If INSENSITIVE is specified, the cursor is
    read-only and a temporary result is created when the cursor is opened. In addition, the SELECT
    statement cannot contain a UPDATE clause and the application must allow a copy of the data
    (ALWCPYDTA(*OPTIMIZE) or ALWCPYDTA(*YES)).
    :-) Natürlich. Muss mir wohl einen Korrekturleser besorgen. Danke für die Richtigstellung.
    Greets
    Christian
    Anwendungsentwickler und ein bissal Systemoperator
    https://github.com/prsbrc
    LinkedIn

  5. #5
    Registriert seit
    Feb 2001
    Beiträge
    20.695
    Da brauchst du nichts bestellen, die sind doch schon da;-), und das ganz freiwillig.
    Dienstleistungen? Die gibt es hier: http://www.fuerchau.de
    Das Excel-AddIn: https://www.ftsolutions.de/index.php/downloads
    BI? Da war doch noch was: http://www.ftsolutions.de

Similar Threads

  1. RPGLE SQL - Anzahl der Zeilen auslesen
    By Radinator in forum NEWSboard Programmierung
    Antworten: 1
    Letzter Beitrag: 20-02-19, 15:36
  2. CPYF mit unterschiedlicher Anzahl Felder
    By SabineK in forum IBM i Hauptforum
    Antworten: 7
    Letzter Beitrag: 24-11-14, 19:18
  3. Omnifind, Anzahl der Indexspalten
    By dschroeder in forum NEWSboard Programmierung
    Antworten: 16
    Letzter Beitrag: 20-10-14, 14:16
  4. SQL mit Vergleich ANzahl Sätzen pro Kunde
    By malzusrex in forum IBM i Hauptforum
    Antworten: 8
    Letzter Beitrag: 06-06-14, 12:44
  5. Beschränkung auf Anzahl Felder in Tabelle????
    By KB in forum IBM i Hauptforum
    Antworten: 1
    Letzter Beitrag: 07-09-01, 10:56

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • You may not post attachments
  • You may not edit your posts
  •