Creates a temporary table with a single index. A temporary table stores and retrieves records just like an ordinary table created using JetCreateTableColumnIndex. However, temporary tables are much faster than ordinary tables due to their volatile nature. They can also be used to very quickly sort and perform duplicate removal on record sets when accessed in a purely sequential manner. Also see JetOpenTempTable(JET_SESID, [], Int32, TempTableGrbit, JET_TABLEID, []), "Api.JetOpenTempTable2", JetOpenTempTable3(JET_SESID, [], Int32, JET_UNICODEINDEX, TempTableGrbit, JET_TABLEID, []). JetOpenTemporaryTable(JET_SESID, JET_OPENTEMPORARYTABLE).
Namespace: Microsoft.Isam.Esent.Interop.Windows8
Assembly: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Syntax
'Declaration
Public Shared Sub JetOpenTemporaryTable2 ( _
sesid As JET_SESID, _
temporarytable As JET_OPENTEMPORARYTABLE _
)
'Usage
Dim sesid As JET_SESID
Dim temporarytable As JET_OPENTEMPORARYTABLEWindows8Api.JetOpenTemporaryTable2(sesid, _
temporarytable)
public static void JetOpenTemporaryTable2(
JET_SESID sesid,
JET_OPENTEMPORARYTABLE temporarytable
)
Parameters
-
sesid
Type: Microsoft.Isam.Esent.Interop.JET_SESIDThe session to use.
-
temporarytable
Type: Microsoft.Isam.Esent.Interop.Vista.JET_OPENTEMPORARYTABLEDescription of the temporary table to create on input. After a successful call, the structure contains the handle to the temporary table and column identifications. Use JetCloseTable(JET_SESID, JET_TABLEID) to free the temporary table when finished.
Remarks
Use JetOpenTemporaryTable(JET_SESID, JET_OPENTEMPORARYTABLE) for earlier versions of Esent.
See also
Reference
Microsoft.Isam.Esent.Interop.Windows8 namespace
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
