Symptom
Have an account name with a dash '-' and need Sybase login name with the same. Got error when creating the login for having dash '-' on login name:
1> create login test-user with password 'ASE12345'
2> go
Msg 102, Level 15, State 181:
Server 'XXXX', Line 1:
Incorrect syntax near '-'.
Read more...
Environment
SAP Adaptive Server Enterprise (ASE) on ALL versions
Product
SAP Adaptive Server Enterprise 12.5 ; 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 login, sp_addlogin, dash, '-', Msg 102, Incorrect syntax near '-' QUOTED_IDENTIFIER, special characters , 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.