Execute Non Query

Execute a non query on a data table.

Execute a non query on a data table. UPDATE, INSERT and DELETE are the execute non query statements and that returns the number of rows affected by the command. -1 is the return value of all other types of statements.

Input

circle-info

Parameters are used only when Command Text as Stored Procedure.

Parameters Window
circle-info

Information :

  • Database Type: The type of database in which parameters to be inserted.

  • Name: The name of parameters.

  • Direction: The direction of the parameter passed to the stored procedure. In, Out and InOut are the directions used in the parameter window.

  • Type: The type of the parameters passed to the stored procedure. Types are dependent on the database type.

  • Size: The size of the value of the parameters passed to the stored procedure.

  • Value: The value of the parameters passed to the stored procedure.

  • Sql String : String Argument The Sql string that is to be executed. Specify the stored procedure name when setting the command type as a stored procedure.

circle-info

PostgreSQL uses Sql command for calling stored procedure with parameter placeholder. For example CALL my_proc(@p1,@p2,....)

SQL String Editor Window

Output

  • Affected Records : Integer Variable The variable that stores the number of rows affected by the execute non query. For all other types of statements, it stores the value is -1.

Last updated