To avoid data
integrity problems when updating and deleting data in Sybase tables,
take these precautionary measures:
-
Always define a primary key.
-
If the updates are not taking place
through cursor processing, define a timestamp column.
It is not always obvious
whether updates are using cursor processing. Cursor processing is
never used
for LIBNAME statement updates if UPDATE_LOCK_TYPE=NOLOCK. Cursor processing
is
always used in these situations:
-
Updates using the LIBNAME statement
with UPDATE_LOCK_TYPE=PAGE. This is the default setting for this option.
-
Updates using PROC SQL views.
-
Updates using PROC ACCESS view
descriptors.