|
| |
| Home | Concepts | API | Samples | |
| Concepts > Versioning > SQL Access using Multi-Version Views | |||||||||||||||||||||||||||||||||||||
| Executing SQL Queries | |||||||||||||||||||||||||||||||||||||
|
Using the example used in the topic Version, which had versions WORKING, EDIT1, and EDIT2, rows in the current WORKING version will be selected using the following SQL expression:
If you want to restrict this query to only Data = b, the query looks like this:
The results of this query will be:
Executing inserts Inserting a row into version EDIT2 with a data value of www, the multiversioned view automatically assigns the object ID. The following SQL code could be used:
Executing deletes To delete a row with an OID of 102 from version EDIT2, the following SQL code could be used:
Executing updates To update a row with an OID of 102 in version EDIT2, changing the value www in the column Data to yyy, the following SQL code could be used:
|
|||||||||||||||||||||||||||||||||||||
| feedback |
privacy |
legal |