Symptom
- Execution of SELECT INTO to generate a new table does not reflect the lock scheme of the source table.
- Execution of SELECT INTO using LOCK to change the lock scheme of the table fails:
select * into t2 from t1 lock datarows
Msg 156, Level 15, State 2:
Line 1:
Incorrect syntax near the keyword 'lock'.
- How can one create a target table with SELECT INTO that reflects the lock scheme of the source table?
Read more...
Environment
SAP Adaptive Server Enterprise (ASE) - all versions
Product
SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0 ; Sybase Adaptive Server Enterprise 12.5 ; Sybase Adaptive Server Enterprise 15.0 ; Sybase Adaptive Server Enterprise 15.5
Keywords
create table, lock schema , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , BC-DB-SYB , Business Suite on Adaptive Server Enterprise , How To
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview