Description:
Close a composite table.
Syntax:
T.close()
Note:
The function closes an entity table and its attached tables in a composite table. The operation is not a necessity when there isn’t a write operation.
Parameter:
T |
A composite table. |
Example:
|
A |
|
1 |
=connect("demo").cursor("select EID,NAME,GENDER,SALARY from employee") |
Return a single cursor. |
2 |
=file("emp.ctx") |
Generate a composite table |
3 |
=A2.create(#EID,NAME,GENDER,SALARY) |
Create A2’s base table. |
4 |
=A3.append(A1) |
Append data of A1’s cursor to the base table. |
5 |
=A3.close() |
Close the composite table. |