EXECUTE primary command

You use the EXECUTE primary when you are working with SQL statements.

For basic SELECT prototyping, the EXECUTE command executes the SELECT statement.
Note: Before you use the EXECUTE primary command, you must have selected at least one column.

For advanced SELECT prototyping, the EXECUTE primary command executes the prototyped command if it is syntactically complete. FM/Db2 displays a result table similar to the Select Statement Browse panel.

When you use the Enter, Execute and Explain SQL Statements panel, the EXECUTE primary command executes the SQL statements in the statement entry area. The EXECUTE primary command is executed by default when you press Enter and the command line is blank.

Syntax


1 EXECUTE

Availability

Related tasks