SqlInsert

Inserts rows into a table. DataArray should contain field names and values. If returnid is true, the id of the row is retured. otherwise functions returns 1. Only server administrators may access this function.

 

Arguments

Table - The table the rows should be inserted. See the Programmer's Guide in the Reference Manual for more information about ListManager's tables (string)

DataArray - ArrayOfKeyValueType

ReturnID - Whether the ID of the new row should be returned (Boolean )

 

Returns

If ReturnID is true, then the ID of the new row is returned; if not, the number 1 is returned if successful, or an exception if failed.

 

 



SqlDelete SqlUpdate