跳到主要內容

Drop field

在此頁面

Drop field

One or several Qlik Sense fields can be dropped from the data model, and thus from memory, at any time during script execution, by means of a drop field statement.

備註: drop fielddrop fields 兩者均可,效果並無不同。 如果未指定表格,將從出現欄位的所有表格中捨棄欄位。

Syntax:  

Drop field fieldname { , fieldname2 ...} [from tablename1 { , tablename2 ...}]

Drop fields fieldname { , fieldname2 ...} [from tablename1 { , tablename2 ...}]

Examples:  

Drop field A;

Drop fields A,B;

Drop field A from X;

Drop fields A,B from X,Y;