Database Guide


Creating an UPDATE statement

To create the example SQL UPDATE statement

UPDATE EMPLOYEE
   SET CITY = :NEWCITY, JOBCODE = JOBCODE + 10
   WHERE (STATE = 'NC') AND (STATUS = 'MOVE')

do the following:

  1. On the SQL Statement - Settings window, do the following:
    1. In the Connection alias field, select the connection specification for the database that contains the EMPLOYEE table.
    2. In the Access set field, select the access set you want the UPDATE statement to be created in.
    3. From the Query pull-down menu, select Create > UPDATE.
  2. On the UPDATE Details window, do the following:
    1. Specify the example UPDATE statement.
    2. Select Apply.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]