ExecuteCommand

Metreos.Native.Database.ExecuteCommand

Summary

ExecuteCommand executes a command on the named database.

Usage

ExecuteCommand should be used for SQL commands, such as INSERT, UPDATE, and DELETE.

ExecuteQuery requires that a named database connection already be open, which can done either by using OpenDatabase or by using the name of a database resource associated with the Cisco Unified Application Designer application.

Remarks

None.

Action Parameters
Parameter Name.NET TypeDefaultDescription
Command *System.StringA SQL INSERT, UPDATE, or DELETE statement.
Name *System.StringThe name of the database connection to execute the command on.
Result Data
Parameter Name.NET TypeDescription
RowsAffectedSystem.Int32The number of rows affected by the command.

Branch Conditions 

Success

No description.

Failure

No description.