Symptom
- SELECT INTO query fails with ASE error 15422:
Msg 15422, Level 16, State 3:
Server 'SYBASE', Line 4:
The 'SELECT INTO' command cannot be executed because there is no default encryption key in database tempdb. Use a named key or contact a user with System Security Officer (SSO) role for help.
- This occurs even though encryption is not enabled:
sp_configure 'enable encrypted'
Parameter Name Default Memory Used
Config Value Run Value Unit
Type
------------------------------ -------------------- -----------
-------------------- -------------------- --------------------
--------------------
enable encrypted columns 0 2
0 0 switch
dynamic
- The query involved is of the form:
declare @var1 varchar(4)
declare @var2 varchar(5)
select @var1 = b, @var2 = c
into #temp
from test.dbo.ldd
where a = 1
Read more...
Environment
SAP Adaptive Server Enterprise (ASE) 15.7
Product
Keywords
encryption, error 15422 , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Bug Filed
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