A stored command is a compiled SQLDML statement that is stored in the database. Stored commands are precompiled in an executable form. They can execute the same commands without repeated compiling and optimizing. It is possible to create a stored command for any frequently used SQL statement.