title: Restrictions for the naming of a SQL Server login?
body: <p>I am working on a legacy app that uses SQL Server as backend.</p>
  
  <p>the application creates SQL Server logins too, in the code I found this check:</p>
  
  <p>1) (Sql server) login name must not be null</p>
  
  <p>2) it must not be made of a single char</p>
  
  <p>3) it must not start with a digit (like '1test' is not an allowed name)</p>
  
  <p>I didn't find corresponding documentation. May be these were restrictions of older releases? I support 2008R2 only at present.</p>
  
  <p>Thanks.</p>