代码之家  ›  专栏  ›  技术社区  ›  sander

将每个表的行从添加到临时表

  •  1
  • sander  · 技术社区  · 7 年前

    DEFINE TEMP-TABLE o_ttProducts.
    
    FOR EACH Product:
        /*Add current row to the o_ttProducts temp table*/
    END.
    
    1 回复  |  直到 7 年前
        1
  •  5
  •   idspispopd    7 年前
    DEFINE TEMP-TABLE o_ttProducts no-undo like Product.
    
    FOR EACH Product
        no-lock:
        /*Add current row to the o_ttProducts temp table*/
        create o_ttProducts.
        buffer-copy Product to o_ttProducts.
    END.
    
    推荐文章