Developing Apama Applications > Dashboard Function Reference > Tabular Functions > Ensure Columns
Ensure Columns
Returns a copy of a specified table, modified where necessary to guarantee that given columns columns have specified types.
Arguments
The function has the following arguments:
*Table: The specified table.
*Column Name(s): Text string that specifies the columns to be modified if necessary. Supply a single column name or a semicolon-separated list of column names.
*Column Type(s): Text string that specifies the types. Supply a single name or a semicolon-separated list of names. The nth element of Column Type(s) is the type to be gauranteed for the column specified by the nth element of Column Name(s).
*Values: Semicolon-separated list of values to substitute when a value must be modified. The nth element of Values is used for the column named by the nth element of Column Name(s).
This function returns a table.
Copyright © Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its Subsidiaries and or/its Affiliates and/or their licensors.
Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.