You can generate an INSERT statement template in the SQL Editor that uses parameter placeholders in those cases where you could specify constants. When you execute the SQL, the editor prompts you to specify the values for each of the parameter placeholders. You also have the option to load the default values for the parameters.
- Click Query Development to open the Query Development perspective.
- Open the Data Source Explorer and navigate to the database table in which you want to insert rows.
-
Right-click the table object and select one of these options:.
For Select Teradata Database Aster Database - In the SQL Editor, review the generated INSERT statement and edit as needed.
- Click to execute the INSERT statement.
- In Configure Parameters, specify the values for each of the parameters or click Load Defaults to specify default values.
- Click OK. The SQL INSERT statement runs and inserts the row in the table.