Open topic with navigation

TIBCO ActiveSpaces® - Enterprise Edition 5.0.0

# The INSERT OR REPLACE Statement

You can use the INSERT OR REPLACE statement to write new rows or replace existing rows in the table. The syntax and behavior of the INSERT OR REPLACE statement is similar to the INSERT statement. Unlike the INSERT statement, the INSERT OR REPLACE statement does not generate an error if a row exists.

For information about the INSERT statement, see The SQL INSERT Statement.

Syntax

    INSERT OR REPLACE INTO <table_name> [(<column_name_list>)] VALUES (<column_value_list>)[,(<column_value_list>)]...

where

- `table_name`: Name of the table in which the rows are inserted.
- `column_name_list`: Each column name in `column_name_list` identifies a column of `table_name`.
- `column_value_list`: Values for the columns in `column_name_list`.

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO ActiveSpaces® - Enterprise Edition

Copyright © 2009-2025. Cloud Software Group, Inc. All Rights Reserved.