deleteTable Method

 

This method has been deprecated and should not be used in Profile versions v6.4 and above.

Class: Schema

Description

This method removes a table schema from the system. The table that is removed must have been created using the Schema.createTable method.

Syntax

Schema.deleteTable(tableName)

Parameters

tableName

The name of the temporary table to create.

Returns

Void

When Became Available

Profile v6.0

Example

do Schema.createTable("TEST",""TEST",JOB,TYPE","TOTAL,COUNT","ZTMP")

 

new tmp

type RecordTEST tmp = Class.new("RecordTEST")

 

set tmp.job = %ProcessID

set tmp.type = 123

set tmp.total = AMT

set tmp.count = %UserID

do tmp.bypassSave()

 

do Schema.deleteTable("TEST")