Entering content frame

Procedure documentation Transferring DEFAULT Values to the Database Instance Locate the document in its SAP Library structure

Use

In the application program, you can use indicator values to transfer a DEFAULT value to a database table, for example, in an INSERT or UPDATE statement.

Procedure

Before calling the embedded SQL statement, set the indicator value to the predefined constant SQL_DEFAULT_PARAM. The database instance ignores the value of the corresponding host variable, and enters the DEFAULT value in the table that is being addressed.

Note

This procedure is not permitted for LONG columns.

You can also use indicator values for transferring NULL values to the database instance.

 

 

Leaving content frame