Symptom
- How to grant permission on a built-in function.
- How to capture output of asehostname without using elevated permission of sa_role or 'manage server permission'?
- Permission denied on builtin, returning error 10386.
asehostname is used as an example, the content applies to all builtins that require elevated permission.
select asehostname()
go
Msg 10386, Level 14, State 1:
SELECT BUILTIN permission denied on builtin asehostname, owner system administrator.
Read more...
Environment
SAP Adaptive Server Enterprise (ASE)
Product
SAP Adaptive Server Enterprise all versions
Keywords
Transact-SQL Functions , TSQL , function , built-in , buildin , build-in , permission, role , sa , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , 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.