Temporary TempDB Tables [AX 2012]
时间:2022-03-10 17:28
Temporary
TempDB Tables [AX 2012]
1
out of 4 rated this helpful - Rate this
topic
Updated: November
5, 2013
Applies
To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012
Feature Pack, Microsoft Dynamics AX 2012
In
Microsoft Dynamics AX, one type of temporary table is a TempDB table. We call
them TempDB tables because their TableType property
value is TempDB . This value comes from
theTableType::TempDB enum
value. The TableType property value can be set
at AOT > Data
Dictionary > Tables > MyTempDBTable > Properties > TableType .
All
types of temporary tables are automatically dropped by the system when the table
variable in X++ goes out of scope. A TempDB table is not dropped when you set
its record buffer variable to null .
TempDB tables
are a different type of temporary table than InMemory tables. For more
information, see Temporary InMemory
Tables .
Capabilities
of TempDB Tables
The
following table describes the capabilities of TempDB tables.
Capability
The
following table describes the limitations of TempDB tables.
Limitation
当第一个SQL操作从AOS发送到数据库系统时,TempDB表在底层数据库管理系统中被实例化.
SQL操作可以是select,insert,update,delete.
下面的表,描述了导致TempDB表被丢弃的情形.
Cause
of drop
你可以禁用一个常规持久化的数据库表,通过禁用 configuration
key .禁用这个键会导致系统自动创建与数据库表字段和架构相匹配的TempDB类型的临时表.
这个临时表存在于底层SQL Server database ,并通过AOS管理.
自动创建TempDB表的目的是为了让被禁用的AOT对象继续变异和运行.
configuration key被禁用后,依然能读写这些TempDB表.
所有表缓冲器变量都继承 xRecord 类的方法. 其中一个方法是 setTmp , 它创建一个与常规表拥有相同架构的InMemory临时表.然而, setTmp 方法不能从TempDB表创建InMemory表. 你可以调用 isTempDb 方法来确定 setTmp 方法是否可用.
X++ Code
Example
The
following X++ code example assumes that a TempDB table which is
named MyTempdb has already been defined
under AOT > Data
Dictionary > Tables .
The MyTempdb table has one column that is the same
type as the AccountNum column on
the CustTable table. The while select statement in the example contains a JOIN clause
that cannot be used with temporary InMemory tables.
+
Temporary
Tables and the TableType Property
Community
Additions
Temporary TempDB Tables [AX 2012],布布扣,bubuko.com
热门排行
今日推荐
-
核淘优购正版
版本:v1.0.20
大小:4.06MB
日期:2024-09-23
-
小淘省钱官方版
版本:v1.0.21
大小:37.93MB
日期:2024-09-23
-
淘享生活免费版
版本:v3.13.3
大小:36.88MB
日期:2024-09-23
-
蚂蚁好省手机版
版本:v1.0.1
大小:2.66MB
日期:2024-09-23
-
打折购物安卓版
版本:v1.7.1
大小:11.15MB
日期:2024-09-23
-
酷鸟浏览器免费版
版本:v1.0.0.1010
大小:36.42MB
日期:2024-09-23
热门手游
-
迪托之剑手机版
版本:v1.0
大小:523.56MB
日期:2024-09-23
-
侠客风云传apk官方版
版本:v1.0
大小:0KB
日期:2024-09-23
-
我的侠客完整版
版本:v1.0.7
大小:495.58MB
日期:2024-09-23
-
焚天决手机版
版本:v2.9.6
大小:167.93MB
日期:2024-09-23
-
伏魔录安卓版
版本:v3.0.3
大小:415.19MB
日期:2024-09-23
-
消消王国免费版
版本:v1.0.46
大小:716.15MB
日期:2024-09-23
| | |